diff options
author | Mike Gilbert <floppym@gentoo.org> | 2011-09-20 23:35:41 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2011-09-20 23:35:41 +0000 |
commit | ff6d9e2920c1d9be413c49707b6355cee2f6905e (patch) | |
tree | 6902770666be00eae27c7f9c64d573dc148e1fb4 | |
parent | Fix RESTRICT_PYTHON_ABIS. Patch by Arfrever. (diff) | |
download | gentoo-2-ff6d9e2920c1d9be413c49707b6355cee2f6905e.tar.gz gentoo-2-ff6d9e2920c1d9be413c49707b6355cee2f6905e.tar.bz2 gentoo-2-ff6d9e2920c1d9be413c49707b6355cee2f6905e.zip |
Simplify src_test(). Patch by Arfrever.
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
-rw-r--r-- | dev-python/dbutils/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/dbutils/dbutils-1.1.ebuild | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/dev-python/dbutils/ChangeLog b/dev-python/dbutils/ChangeLog index 0c3738bb087e..36802d09993b 100644 --- a/dev-python/dbutils/ChangeLog +++ b/dev-python/dbutils/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/dbutils # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dbutils/ChangeLog,v 1.5 2011/09/10 14:06:18 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dbutils/ChangeLog,v 1.6 2011/09/20 23:35:41 floppym Exp $ + + 20 Sep 2011; Mike Gilbert <floppym@gentoo.org> dbutils-1.1.ebuild: + Simplify src_test(). Patch by Arfrever. *dbutils-1.1 (10 Sep 2011) diff --git a/dev-python/dbutils/dbutils-1.1.ebuild b/dev-python/dbutils/dbutils-1.1.ebuild index 46598443d691..20b7bdc4a558 100644 --- a/dev-python/dbutils/dbutils-1.1.ebuild +++ b/dev-python/dbutils/dbutils-1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dbutils/dbutils-1.1.ebuild,v 1.1 2011/09/10 14:06:17 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dbutils/dbutils-1.1.ebuild,v 1.2 2011/09/20 23:35:41 floppym Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -38,10 +38,7 @@ src_prepare() { } src_test() { - testing() { - PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests -P -s "${S}/${MY_PN}"/Tests - } - python_execute_function testing + python_execute_nosetests -- -P -s ${MY_PN}/Tests } src_install() { |