From efd200ab8e8eae8e4eaffea6281da252de77c7da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Thu, 2 Mar 2023 09:25:38 +0100 Subject: [PATCH] dev-python/configshell-fb: relax pyparsing restriction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/896764 Upstream-PR: https://github.com/open-iscsi/configshell-fb/pull/69 Signed-off-by: Petr Vaněk Closes: https://github.com/gentoo/gentoo/pull/29893 Signed-off-by: Michał Górny --- ...b-1.1.29-r1.ebuild => configshell-fb-1.1.29-r2.ebuild} | 8 ++++++++ 1 file changed, 8 insertions(+) rename dev-python/configshell-fb/{configshell-fb-1.1.29-r1.ebuild => configshell-fb-1.1.29-r2.ebuild} (87%) diff --git a/dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild b/dev-python/configshell-fb/configshell-fb-1.1.29-r2.ebuild similarity index 87% rename from dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild rename to dev-python/configshell-fb/configshell-fb-1.1.29-r2.ebuild index 633970b1409ba..c1efcb33a2565 100644 --- a/dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild +++ b/dev-python/configshell-fb/configshell-fb-1.1.29-r2.ebuild @@ -39,6 +39,14 @@ PATCHES=( "${DISTDIR}/${P}-replace-getargspec-2.patch" ) +src_prepare() { + distutils-r1_src_prepare + + # We can relax pyparsing version restriction, + # see https://github.com/open-iscsi/configshell-fb/pull/69 + sed -i '/pyparsing/s:,<3.0::' setup.py || die +} + python_test() { "${EPYTHON}" examples/myshell || die "Test failed with ${EPYTHON}" }