dev-python/pmw: add missing || die
authorMike Gilbert <floppym@gentoo.org>
Thu, 13 Feb 2020 15:50:16 +0000 (10:50 -0500)
committerMike Gilbert <floppym@gentoo.org>
Thu, 13 Feb 2020 15:50:16 +0000 (10:50 -0500)
Package-Manager: Portage-2.3.88_p6, Repoman-2.3.20_p67
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
dev-python/pmw/pmw-2.0.1-r1.ebuild
dev-python/pmw/pmw-2.0.1.ebuild

index d906f7e5af3142447206f1d91304e3e3fcece9b4..1431b59e24d14dc2cfd1fc27d7f81fcea0f7ca35 100644 (file)
@@ -28,8 +28,7 @@ RESTRICT="test"
 S="${WORKDIR}/${MY_P}"
 
 python_prepare() {
-       distutils-r1_python_prepare_all
-       2to3 Pmw
+       2to3 Pmw || die
 }
 
 python_test() {
index 10564debca1d1e809f172ad710e0639970957f53..c369639f7ab2c7b7e98e4736d338efcbca207241 100644 (file)
@@ -28,8 +28,7 @@ RESTRICT="test"
 S="${WORKDIR}/${MY_P}"
 
 python_prepare() {
-       distutils-r1_python_prepare
-       2to3 Pmw
+       2to3 Pmw || die
 }
 
 python_test() {