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@atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/29893
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Petr Vaněk
2023-03-02 09:25:38 +01:00
committed by Michał Górny
parent 256030c226
commit efd200ab8e

View File

@@ -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}"
}