dev-python/rply: Fix python_prepare() correctly
authorMichał Górny <mgorny@gentoo.org>
Tue, 3 Sep 2019 12:33:50 +0000 (14:33 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 3 Sep 2019 12:40:50 +0000 (14:40 +0200)
Closes: https://bugs.gentoo.org/659516
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/rply/rply-0.7.6.ebuild

index 29db68a225186195782593316d70858dc587f77d..1b9f7c7c55b7979b8fcfbf4baa196a6ba1c88bdd 100644 (file)
@@ -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() {