diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-04-06 15:33:37 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-04-06 15:33:37 +0000 |
commit | 79f510432d14b0175862076ea4c373a129dd8c6a (patch) | |
tree | fd69555f5f8b06861e4fabb2e69f81e6465aabb9 /dev-python/ipy | |
parent | Simplify python_test a bit. (diff) | |
download | gentoo-2-79f510432d14b0175862076ea4c373a129dd8c6a.tar.gz gentoo-2-79f510432d14b0175862076ea4c373a129dd8c6a.tar.bz2 gentoo-2-79f510432d14b0175862076ea4c373a129dd8c6a.zip |
Use pushd/popd in python_test.
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/ipy')
-rw-r--r-- | dev-python/ipy/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/ipy/ipy-0.76-r1.ebuild | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-python/ipy/ChangeLog b/dev-python/ipy/ChangeLog index 305e48be434e..f4f3e4dd77df 100644 --- a/dev-python/ipy/ChangeLog +++ b/dev-python/ipy/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/ipy # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ipy/ChangeLog,v 1.38 2013/04/06 15:25:21 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipy/ChangeLog,v 1.39 2013/04/06 15:33:37 floppym Exp $ + + 06 Apr 2013; Mike Gilbert <floppym@gentoo.org> ipy-0.76-r1.ebuild: + Use pushd/popd in python_test. 06 Apr 2013; Mike Gilbert <floppym@gentoo.org> ipy-0.76-r1.ebuild: Simplify python_test a bit. diff --git a/dev-python/ipy/ipy-0.76-r1.ebuild b/dev-python/ipy/ipy-0.76-r1.ebuild index 6a6c950936d7..b4ac0c530caa 100644 --- a/dev-python/ipy/ipy-0.76-r1.ebuild +++ b/dev-python/ipy/ipy-0.76-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ipy/ipy-0.76-r1.ebuild,v 1.3 2013/04/06 15:25:21 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipy/ipy-0.76-r1.ebuild,v 1.4 2013/04/06 15:33:37 floppym Exp $ EAPI="5" PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} ) @@ -29,7 +29,8 @@ DOCS=( ChangeLog README ) python_test() { # doctests for py3 unaltered read py2 files from "${S}" causing total failure cp -r test_doc.py README test "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die + pushd "${BUILD_DIR}" > /dev/null || die "${PYTHON}" test/test_IPy.py || die "Tests fail with ${EPYTHON}" "${PYTHON}" test_doc.py || die "Doctests fail with ${EPYTHON}" + popd > /dev/null || die } |