commit:     af966151563e0bfedd1a2adeebca423fa2a36641
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  3 12:33:50 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep  3 12:40:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af966151

dev-python/rply: Fix python_prepare() correctly

Closes: https://bugs.gentoo.org/659516
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/rply/rply-0.7.6.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/rply/rply-0.7.6.ebuild 
b/dev-python/rply/rply-0.7.6.ebuild
index 29db68a2251..1b9f7c7c55b 100644
--- a/dev-python/rply/rply-0.7.6.ebuild
+++ b/dev-python/rply/rply-0.7.6.ebuild
@@ -26,9 +26,8 @@ python_prepare() {
        # https://github.com/alex/rply/issues/26; fail under py[3-4]
        if python_is_python3; then
                sed -e s':test_simple:_&:' -e s':test_empty_production:_&:' \
-                       -i tests/test_parsergenerator.py
+                       -i tests/test_parsergenerator.py || die
        fi
-       distutils-r1_python_prepare_all
 }
 
 python_test() {

Reply via email to