summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-06 15:01:59 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-06 15:01:59 +0000
commitc688ad55aaa8a204bbdc9f29a08915bdb7dc7d7f (patch)
treea5cc7af331207762c578b2234b0e279ba14dab30
parentVersion bump (#327121). Thanks to Tim Harder (diff)
downloadgentoo-2-c688ad55aaa8a204bbdc9f29a08915bdb7dc7d7f.tar.gz
gentoo-2-c688ad55aaa8a204bbdc9f29a08915bdb7dc7d7f.tar.bz2
gentoo-2-c688ad55aaa8a204bbdc9f29a08915bdb7dc7d7f.zip
Use PYTHON_DEPEND instead of NEED_PYTHON. Simplify src_test().
(Portage version: HEAD/cvs/Linux x86_64)
-rw-r--r--sys-fs/pytagsfs/ChangeLog6
-rw-r--r--sys-fs/pytagsfs/pytagsfs-0.9.2.ebuild14
-rw-r--r--sys-fs/pytagsfs/pytagsfs-0.9.2_rc2.ebuild16
3 files changed, 14 insertions, 22 deletions
diff --git a/sys-fs/pytagsfs/ChangeLog b/sys-fs/pytagsfs/ChangeLog
index 0f1775d054bd..f23579104713 100644
--- a/sys-fs/pytagsfs/ChangeLog
+++ b/sys-fs/pytagsfs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/pytagsfs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/pytagsfs/ChangeLog,v 1.4 2010/04/14 00:28:50 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/pytagsfs/ChangeLog,v 1.5 2010/07/06 15:01:59 arfrever Exp $
+
+ 06 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pytagsfs-0.9.2_rc2.ebuild, pytagsfs-0.9.2.ebuild:
+ Use PYTHON_DEPEND instead of NEED_PYTHON. Simplify src_test().
14 Apr 2010; Sebastian Pipping <sping@gentoo.org> pytagsfs-0.9.2.ebuild:
Fix tests (bug #314137)
diff --git a/sys-fs/pytagsfs/pytagsfs-0.9.2.ebuild b/sys-fs/pytagsfs/pytagsfs-0.9.2.ebuild
index 8e8b2fdcd6a8..15148a8e14a9 100644
--- a/sys-fs/pytagsfs/pytagsfs-0.9.2.ebuild
+++ b/sys-fs/pytagsfs/pytagsfs-0.9.2.ebuild
@@ -1,11 +1,13 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/pytagsfs/pytagsfs-0.9.2.ebuild,v 1.2 2010/04/14 00:28:50 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/pytagsfs/pytagsfs-0.9.2.ebuild,v 1.3 2010/07/06 15:01:59 arfrever Exp $
EAPI="2"
-NEED_PYTHON="2.5"
+PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+DISTUTILS_SRC_TEST="setup.py"
inherit distutils
@@ -37,11 +39,3 @@ DEPEND="${RDEPEND}
media-sound/madplay
media-sound/vorbis-tools
media-libs/flac )"
-RESTRICT_PYTHON_ABIS="2.4 3.*"
-
-src_test() {
- testing() {
- PYTHONPATH="build/lib" "$(PYTHON)" setup.py test
- }
- python_execute_function -s testing
-}
diff --git a/sys-fs/pytagsfs/pytagsfs-0.9.2_rc2.ebuild b/sys-fs/pytagsfs/pytagsfs-0.9.2_rc2.ebuild
index 9999d5b98a9e..d491b1b8a82a 100644
--- a/sys-fs/pytagsfs/pytagsfs-0.9.2_rc2.ebuild
+++ b/sys-fs/pytagsfs/pytagsfs-0.9.2_rc2.ebuild
@@ -1,11 +1,13 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/pytagsfs/pytagsfs-0.9.2_rc2.ebuild,v 1.1 2009/12/20 21:01:36 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/pytagsfs/pytagsfs-0.9.2_rc2.ebuild,v 1.2 2010/07/06 15:01:59 arfrever Exp $
EAPI="2"
-NEED_PYTHON="2.5"
+PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+DISTUTILS_SRC_TEST="setup.py"
inherit distutils
@@ -37,11 +39,3 @@ DEPEND="${RDEPEND}
media-sound/madplay
media-sound/vorbis-tools
media-libs/flac )"
-RESTRICT_PYTHON_ABIS="2.4 3.*"
-
-src_test() {
- testing() {
- PYTHONPATH="build/lib" "$(PYTHON)" setup.py test
- }
- python_execute_function testing
-}