From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70FBE158013 for ; Fri, 15 Dec 2023 03:25:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E17D2BC028; Fri, 15 Dec 2023 03:25:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E85E2BC01C for ; Fri, 15 Dec 2023 03:25:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1CAFF34076D for ; Fri, 15 Dec 2023 03:25:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D61F1492 for ; Fri, 15 Dec 2023 03:25:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1702610524.038a41799de2205ad4a29179f423c87f0ba16fe3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/rpl/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/rpl/rpl-1.15.5.ebuild X-VCS-Directories: app-text/rpl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 038a41799de2205ad4a29179f423c87f0ba16fe3 X-VCS-Branch: master Date: Fri, 15 Dec 2023 03:25:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 070eb0d5-aba8-4ec8-8bb2-d84732d3695d X-Archives-Hash: 2c750b7e9522dc9d91709f0cb31a7861 commit: 038a41799de2205ad4a29179f423c87f0ba16fe3 Author: Pascal Jäger leimstift de> AuthorDate: Sat Dec 9 10:40:18 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Dec 15 03:22:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038a4179 app-text/rpl: add 1.15.5 Signed-off-by: Pascal Jäger leimstift.de> Closes: https://github.com/gentoo/gentoo/pull/34189 Signed-off-by: Sam James gentoo.org> app-text/rpl/rpl-1.15.5.ebuild | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/app-text/rpl/rpl-1.15.5.ebuild b/app-text/rpl/rpl-1.15.5.ebuild index 902a5491d3c1..c4eb37bce145 100644 --- a/app-text/rpl/rpl-1.15.5.ebuild +++ b/app-text/rpl/rpl-1.15.5.ebuild @@ -4,11 +4,11 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_11 ) inherit distutils-r1 DESCRIPTION="Intelligent recursive search/replace utility" -HOMEPAGE="http://rpl.sourceforge.net/ +HOMEPAGE="https://rpl.sourceforge.net/ https://github.com/rrthomas/rpl" SRC_URI=" https://github.com/rrthomas/rpl/archive/v${PV}.tar.gz @@ -22,5 +22,13 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86" RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND} dev-python/argparse-manpage[${PYTHON_USEDEP}] - sys-apps/help2man[nls] + dev-python/regex[${PYTHON_USEDEP}] + dev-python/chainstream[${PYTHON_USEDEP}] " + +src_prepare() { + sed -i "s/VERSION = importlib.metadata.version('rpl')/VERSION = '${PV}'/" rpl/__init__.py || die + distutils-r1_src_prepare +} + +distutils_enable_tests pytest