summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2015-11-28 17:16:37 +0100
committerMarius Brehler <marbre@linux.sungazer.de>2015-11-28 17:16:37 +0100
commit25434cdbe34473f0827ca187024e7548668afda6 (patch)
tree24e510c00f7d84edb573be678546eee9479b3bbf /dev-python/ipython
parentdev-python/ipython: Version bump; Fix deps (diff)
downloadgentoo-25434cdbe34473f0827ca187024e7548668afda6.tar.gz
gentoo-25434cdbe34473f0827ca187024e7548668afda6.tar.bz2
gentoo-25434cdbe34473f0827ca187024e7548668afda6.zip
dev-python/ipython: Add missing dies, reduce indent
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-python/ipython')
-rw-r--r--dev-python/ipython/ipython-3.2.1-r1.ebuild6
-rw-r--r--dev-python/ipython/ipython-4.0.1.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/dev-python/ipython/ipython-3.2.1-r1.ebuild b/dev-python/ipython/ipython-3.2.1-r1.ebuild
index f482b55a62bd..7af0634a3e50 100644
--- a/dev-python/ipython/ipython-3.2.1-r1.ebuild
+++ b/dev-python/ipython/ipython-3.2.1-r1.ebuild
@@ -114,12 +114,12 @@ python_test() {
# Failure of some modules only in python3.4
local fail
run_tests() {
- pushd ${TEST_DIR} > /dev/null
+ pushd ${TEST_DIR} > /dev/null || die
"${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
- popd > /dev/null
+ popd > /dev/null || die
}
VIRTUALX_COMMAND=run_tests virtualmake
- [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
+ [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
}
python_install() {
diff --git a/dev-python/ipython/ipython-4.0.1.ebuild b/dev-python/ipython/ipython-4.0.1.ebuild
index b15af201c62b..bca38adcc44e 100644
--- a/dev-python/ipython/ipython-4.0.1.ebuild
+++ b/dev-python/ipython/ipython-4.0.1.ebuild
@@ -96,12 +96,12 @@ python_test() {
# Failure of some modules only in python3.4
local fail
run_tests() {
- pushd ${TEST_DIR} > /dev/null
+ pushd ${TEST_DIR} > /dev/null || die
"${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
- popd > /dev/null
+ popd > /dev/null || die
}
VIRTUALX_COMMAND=run_tests virtualmake
- [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
+ [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
}
python_install() {