commit: efd200ab8e8eae8e4eaffea6281da252de77c7da Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> AuthorDate: Thu Mar 2 08:25:38 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Mar 2 16:49:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd200ab
dev-python/configshell-fb: relax pyparsing restriction Bug: https://bugs.gentoo.org/896764 Upstream-PR: https://github.com/open-iscsi/configshell-fb/pull/69 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/29893 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> ...gshell-fb-1.1.29-r1.ebuild => configshell-fb-1.1.29-r2.ebuild} | 8 ++++++++ 1 file changed, 8 insertions(+) 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 633970b1409b..c1efcb33a256 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}" }
