summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-05-25 22:08:16 +0000
committerMike Gilbert <floppym@gentoo.org>2012-05-25 22:08:16 +0000
commit1d82a4fe8794dd53a04b447448a3d381cd8d4d8c (patch)
tree2c0694ce9db185b1c87e848dbe0f703007157d9a /dev-python/repoze-lru
parent[sys-fs/multipath-tools] Fix bugs #413063 and #399569 (diff)
downloadgentoo-2-1d82a4fe8794dd53a04b447448a3d381cd8d4d8c.tar.gz
gentoo-2-1d82a4fe8794dd53a04b447448a3d381cd8d4d8c.tar.bz2
gentoo-2-1d82a4fe8794dd53a04b447448a3d381cd8d4d8c.zip
Set DISTUTILS_SRC_TEST="setup.py" instead of defining src_test explicitly. Suggested by Arfrever.
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/repoze-lru')
-rw-r--r--dev-python/repoze-lru/ChangeLog6
-rw-r--r--dev-python/repoze-lru/repoze-lru-0.5.ebuild10
2 files changed, 7 insertions, 9 deletions
diff --git a/dev-python/repoze-lru/ChangeLog b/dev-python/repoze-lru/ChangeLog
index b147ee04ff19..4fbb8f6c3e9d 100644
--- a/dev-python/repoze-lru/ChangeLog
+++ b/dev-python/repoze-lru/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/repoze-lru
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/repoze-lru/ChangeLog,v 1.1 2012/05/21 07:22:17 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/repoze-lru/ChangeLog,v 1.2 2012/05/25 22:08:16 floppym Exp $
+
+ 25 May 2012; Mike Gilbert <floppym@gentoo.org> repoze-lru-0.5.ebuild:
+ Set DISTUTILS_SRC_TEST="setup.py" instead of defining src_test explicitly.
+ Suggested by Arfrever.
*repoze-lru-0.5 (21 May 2012)
diff --git a/dev-python/repoze-lru/repoze-lru-0.5.ebuild b/dev-python/repoze-lru/repoze-lru-0.5.ebuild
index a812534bcfe8..41ed50481b22 100644
--- a/dev-python/repoze-lru/repoze-lru-0.5.ebuild
+++ b/dev-python/repoze-lru/repoze-lru-0.5.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/repoze-lru/repoze-lru-0.5.ebuild,v 1.2 2012/05/21 16:45:50 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/repoze-lru/repoze-lru-0.5.ebuild,v 1.3 2012/05/25 22:08:16 floppym Exp $
EAPI=3
PYTHON_DEPEND="*"
SUPPORT_PYTHON_ABIS=1
+DISTUTILS_SRC_TEST="setup.py"
inherit distutils
@@ -22,10 +23,3 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
-
-src_test() {
- testing() {
- PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py test
- }
- python_execute_function testing
-}