1 |
commit: af966151563e0bfedd1a2adeebca423fa2a36641 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 3 12:33:50 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 3 12:40:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af966151 |
7 |
|
8 |
dev-python/rply: Fix python_prepare() correctly |
9 |
|
10 |
Closes: https://bugs.gentoo.org/659516 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/rply/rply-0.7.6.ebuild | 3 +-- |
14 |
1 file changed, 1 insertion(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/rply/rply-0.7.6.ebuild b/dev-python/rply/rply-0.7.6.ebuild |
17 |
index 29db68a2251..1b9f7c7c55b 100644 |
18 |
--- a/dev-python/rply/rply-0.7.6.ebuild |
19 |
+++ b/dev-python/rply/rply-0.7.6.ebuild |
20 |
@@ -26,9 +26,8 @@ python_prepare() { |
21 |
# https://github.com/alex/rply/issues/26; fail under py[3-4] |
22 |
if python_is_python3; then |
23 |
sed -e s':test_simple:_&:' -e s':test_empty_production:_&:' \ |
24 |
- -i tests/test_parsergenerator.py |
25 |
+ -i tests/test_parsergenerator.py || die |
26 |
fi |
27 |
- distutils-r1_python_prepare_all |
28 |
} |
29 |
|
30 |
python_test() { |