1 |
commit: efd200ab8e8eae8e4eaffea6281da252de77c7da |
2 |
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> |
3 |
AuthorDate: Thu Mar 2 08:25:38 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 16:49:09 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd200ab |
7 |
|
8 |
dev-python/configshell-fb: relax pyparsing restriction |
9 |
|
10 |
Bug: https://bugs.gentoo.org/896764 |
11 |
Upstream-PR: https://github.com/open-iscsi/configshell-fb/pull/69 |
12 |
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/29893 |
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
...gshell-fb-1.1.29-r1.ebuild => configshell-fb-1.1.29-r2.ebuild} | 8 ++++++++ |
17 |
1 file changed, 8 insertions(+) |
18 |
|
19 |
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 |
20 |
similarity index 87% |
21 |
rename from dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild |
22 |
rename to dev-python/configshell-fb/configshell-fb-1.1.29-r2.ebuild |
23 |
index 633970b1409b..c1efcb33a256 100644 |
24 |
--- a/dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild |
25 |
+++ b/dev-python/configshell-fb/configshell-fb-1.1.29-r2.ebuild |
26 |
@@ -39,6 +39,14 @@ PATCHES=( |
27 |
"${DISTDIR}/${P}-replace-getargspec-2.patch" |
28 |
) |
29 |
|
30 |
+src_prepare() { |
31 |
+ distutils-r1_src_prepare |
32 |
+ |
33 |
+ # We can relax pyparsing version restriction, |
34 |
+ # see https://github.com/open-iscsi/configshell-fb/pull/69 |
35 |
+ sed -i '/pyparsing/s:,<3.0::' setup.py || die |
36 |
+} |
37 |
+ |
38 |
python_test() { |
39 |
"${EPYTHON}" examples/myshell || die "Test failed with ${EPYTHON}" |
40 |
} |