Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipython/
Date: Sat, 28 Nov 2015 17:33:38
Message-Id: 1448727397.25434cdbe34473f0827ca187024e7548668afda6.jlec@gentoo
1 commit: 25434cdbe34473f0827ca187024e7548668afda6
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sat Nov 28 16:16:37 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 16:16:37 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25434cdb
7
8 dev-python/ipython: Add missing dies, reduce indent
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/ipython/ipython-3.2.1-r1.ebuild | 6 +++---
13 dev-python/ipython/ipython-4.0.1.ebuild | 6 +++---
14 2 files changed, 6 insertions(+), 6 deletions(-)
15
16 diff --git a/dev-python/ipython/ipython-3.2.1-r1.ebuild b/dev-python/ipython/ipython-3.2.1-r1.ebuild
17 index f482b55..7af0634 100644
18 --- a/dev-python/ipython/ipython-3.2.1-r1.ebuild
19 +++ b/dev-python/ipython/ipython-3.2.1-r1.ebuild
20 @@ -114,12 +114,12 @@ python_test() {
21 # Failure of some modules only in python3.4
22 local fail
23 run_tests() {
24 - pushd ${TEST_DIR} > /dev/null
25 + pushd ${TEST_DIR} > /dev/null || die
26 "${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
27 - popd > /dev/null
28 + popd > /dev/null || die
29 }
30 VIRTUALX_COMMAND=run_tests virtualmake
31 - [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
32 + [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
33 }
34
35 python_install() {
36
37 diff --git a/dev-python/ipython/ipython-4.0.1.ebuild b/dev-python/ipython/ipython-4.0.1.ebuild
38 index b15af20..bca38ad 100644
39 --- a/dev-python/ipython/ipython-4.0.1.ebuild
40 +++ b/dev-python/ipython/ipython-4.0.1.ebuild
41 @@ -96,12 +96,12 @@ python_test() {
42 # Failure of some modules only in python3.4
43 local fail
44 run_tests() {
45 - pushd ${TEST_DIR} > /dev/null
46 + pushd ${TEST_DIR} > /dev/null || die
47 "${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
48 - popd > /dev/null
49 + popd > /dev/null || die
50 }
51 VIRTUALX_COMMAND=run_tests virtualmake
52 - [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
53 + [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
54 }
55
56 python_install() {