diff options
author | Ian Delaney <idella4@gentoo.org> | 2012-11-06 04:16:00 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2012-11-06 04:16:00 +0000 |
commit | 60e5f6462a139377d1b023436800e87834b20f65 (patch) | |
tree | 7fb4573be2e0abe524562db12d884775578271c3 /dev-python/traits | |
parent | Do not delete gtar for prefix systems pointed out by David James. (diff) | |
download | gentoo-2-60e5f6462a139377d1b023436800e87834b20f65.tar.gz gentoo-2-60e5f6462a139377d1b023436800e87834b20f65.tar.bz2 gentoo-2-60e5f6462a139377d1b023436800e87834b20f65.zip |
PYTHONPATH set in test phase, fixes Bug #420055
(Portage version: 2.1.11.30/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/traits')
-rw-r--r-- | dev-python/traits/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/traits/traits-4.1.0.ebuild | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/dev-python/traits/ChangeLog b/dev-python/traits/ChangeLog index 2f02ce07344a..84167334a5a3 100644 --- a/dev-python/traits/ChangeLog +++ b/dev-python/traits/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/traits # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.31 2012/10/09 13:31:29 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.32 2012/11/06 04:16:00 idella4 Exp $ + + 06 Nov 2012; Ian Delaney <idella4@gentoo.org> traits-4.1.0.ebuild: + PYTHONPATH set in test phase, fixes Bug #420055 *traits-4.2.0 (09 Oct 2012) diff --git a/dev-python/traits/traits-4.1.0.ebuild b/dev-python/traits/traits-4.1.0.ebuild index 142a82bb96ab..5e1e73ead14f 100644 --- a/dev-python/traits/traits-4.1.0.ebuild +++ b/dev-python/traits/traits-4.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-4.1.0.ebuild,v 1.4 2012/08/22 23:04:01 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-4.1.0.ebuild,v 1.5 2012/11/06 04:16:00 idella4 Exp $ EAPI=4 @@ -35,6 +35,17 @@ src_compile() { use doc && virtualmake -C docs html } +src_test() { + testing() { + local exit_status=0 + pushd $(find build-${PYTHON_ABI}/ -name "${PN}") > /dev/null + PYTHONPATH=. nosetests -v tests || exit_status=1 + popd > /dev/null + return $exit_status + } + python_execute_function testing +} + src_install() { find -name "*LICENSE*.txt" -delete distutils_src_install |