commit:     127fa193952f2d6a93944336899d821f32459dd9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 13 02:04:08 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 13 02:04:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=127fa193

app-text/rpl: add 1.18

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/rpl/Manifest        |  1 +
 app-text/rpl/rpl-1.18.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/app-text/rpl/Manifest b/app-text/rpl/Manifest
index c8819f6c4205..6f8cbe3a1a07 100644
--- a/app-text/rpl/Manifest
+++ b/app-text/rpl/Manifest
@@ -1 +1,2 @@
 DIST rpl-1.15.5.gh.tar.gz 24401 BLAKE2B 
91f0914ce80167305f9b403f691e58cd3f219d9e22f0ae7587b6dc5c60809e03bf38bd3878696916026b7cd0e597b67a6fcbb97d55005fd113e80aa7296f0e95
 SHA512 
1669a2de5b09090a3058421e2f9560f9b155151ec6d91f9d4f3b43070082d2541981de7754f047771c515e6d1450998c55e3b018a589a5ae4bd48e28464bb858
+DIST rpl-1.18.gh.tar.gz 25750 BLAKE2B 
f090049d51e3fa4da1d0c3827a750b861fbd730b66d2e5336193332b119ac58bc26d64f429090443b6f45099fe078e0499f0aaf9e5488a543b5792de8f2d33a9
 SHA512 
08b68c0894085451a9bce169e972a67cddbbbc18565f514fc53a4ae1dbcc13818f71b8a6402e305c47298b1abc75a2ae39ac1acf175c29ee86fe6f6d2e6f474c

diff --git a/app-text/rpl/rpl-1.18.ebuild b/app-text/rpl/rpl-1.18.ebuild
new file mode 100644
index 000000000000..98f08ad807bd
--- /dev/null
+++ b/app-text/rpl/rpl-1.18.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+inherit distutils-r1
+
+DESCRIPTION="Intelligent recursive search/replace utility"
+HOMEPAGE="https://rpl.sourceforge.net/ https://github.com/rrthomas/rpl";
+SRC_URI="
+       https://github.com/rrthomas/rpl/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
+BDEPEND="
+       ${RDEPEND}
+       dev-python/argparse-manpage[${PYTHON_USEDEP}]
+       dev-python/regex[${PYTHON_USEDEP}]
+       dev-python/chainstream[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest-datafiles[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       sed -i "s/VERSION = importlib.metadata.version(\"rpl\")/VERSION = 
'${PV}'/" rpl/__init__.py || die
+       distutils-r1_src_prepare
+}

Reply via email to