dev-python/mpi4py: add missing dies.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 15 Jul 2017 21:45:51 +0000 (23:45 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 15 Jul 2017 21:45:51 +0000 (23:45 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-python/mpi4py/mpi4py-2.0.0.ebuild

index 730cbd92b6ebd59f0d15a84b6fc268a1631527bc..1ccb4b310119a5636159702ce6d88886491cab29 100644 (file)
@@ -24,7 +24,7 @@ DISTUTILS_IN_SOURCE_BUILD=1
 
 python_prepare_all() {
        # not needed on install
-       rm -r docs/source || die
+       rm -vr docs/source || die
        distutils-r1_python_prepare_all
 }
 
@@ -35,9 +35,9 @@ src_compile() {
 
 python_test() {
        echo "Beginning test phase"
-       pushd "${BUILD_DIR}"/../ &> /dev/null
+       pushd "${BUILD_DIR}"/../ &> /dev/null || die
        mpiexec -n 2 "${PYTHON}" ./test/runtests.py -v || die "Testsuite failed under ${EPYTHON}"
-       popd &> /dev/null
+       popd &> /dev/null || die
 }
 
 python_install_all() {