summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-09-13 16:29:32 +0000
committerMike Gilbert <floppym@gentoo.org>2013-09-13 16:29:32 +0000
commita19b3baa930042930bf7055e28d0bea4dfce7ebe (patch)
treea56bf717080afcf108372e53fa4ef8331dac1eb1 /dev-python/reportlab
parentadded ~alpha keyword wrt bug #484458 (diff)
downloadgentoo-2-a19b3baa930042930bf7055e28d0bea4dfce7ebe.tar.gz
gentoo-2-a19b3baa930042930bf7055e28d0bea4dfce7ebe.tar.bz2
gentoo-2-a19b3baa930042930bf7055e28d0bea4dfce7ebe.zip
Use pushd/popd in python_test, bug 484780.
(Portage version: 2.2.3/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/reportlab')
-rw-r--r--dev-python/reportlab/ChangeLog5
-rw-r--r--dev-python/reportlab/reportlab-2.6.ebuild7
2 files changed, 8 insertions, 4 deletions
diff --git a/dev-python/reportlab/ChangeLog b/dev-python/reportlab/ChangeLog
index 7f16327a9022..07c6ac2e7b11 100644
--- a/dev-python/reportlab/ChangeLog
+++ b/dev-python/reportlab/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/reportlab
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.90 2013/09/05 18:47:05 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.91 2013/09/13 16:29:32 floppym Exp $
+
+ 13 Sep 2013; Mike Gilbert <floppym@gentoo.org> reportlab-2.6.ebuild:
+ Use pushd/popd in python_test, bug 484780.
05 Sep 2013; Michał Górny <mgorny@gentoo.org> reportlab-2.6.ebuild:
Clean up PYTHON_COMPAT from old implementations.
diff --git a/dev-python/reportlab/reportlab-2.6.ebuild b/dev-python/reportlab/reportlab-2.6.ebuild
index fff39489878f..f832feb54cb9 100644
--- a/dev-python/reportlab/reportlab-2.6.ebuild
+++ b/dev-python/reportlab/reportlab-2.6.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/reportlab/reportlab-2.6.ebuild,v 1.5 2013/09/05 18:47:05 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.6.ebuild,v 1.6 2013/09/13 16:29:32 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
@@ -63,8 +63,9 @@ python_compile_all() {
}
python_test() {
- cd tests || die
- "${PYTHON}" runAll.py || die
+ pushd tests > /dev/null || die
+ "${PYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
+ popd > /dev/null || die
}
python_install_all() {