summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-06 18:27:23 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-06 18:27:23 +0000
commitae8bb399dcd1b1f2e6297e4bf9352e02ea89d4ad (patch)
tree2c12350b381e0e0fcd8ec46f611245005e71fad0 /dev-python/etsdevtools
parentDelete older ebuild. (diff)
downloadgentoo-2-ae8bb399dcd1b1f2e6297e4bf9352e02ea89d4ad.tar.gz
gentoo-2-ae8bb399dcd1b1f2e6297e4bf9352e02ea89d4ad.tar.bz2
gentoo-2-ae8bb399dcd1b1f2e6297e4bf9352e02ea89d4ad.zip
Use PYTHON_DEPEND instead of NEED_PYTHON.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/etsdevtools')
-rw-r--r--dev-python/etsdevtools/ChangeLog6
-rw-r--r--dev-python/etsdevtools/etsdevtools-3.0.4.ebuild20
2 files changed, 12 insertions, 14 deletions
diff --git a/dev-python/etsdevtools/ChangeLog b/dev-python/etsdevtools/ChangeLog
index 70c0d7518c7e..02ea43a27125 100644
--- a/dev-python/etsdevtools/ChangeLog
+++ b/dev-python/etsdevtools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/etsdevtools
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/ChangeLog,v 1.5 2010/03/25 21:22:18 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/ChangeLog,v 1.6 2010/07/06 18:27:23 arfrever Exp $
+
+ 06 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ etsdevtools-3.0.4.ebuild:
+ Use PYTHON_DEPEND instead of NEED_PYTHON.
25 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org>
etsdevtools-3.0.4.ebuild:
diff --git a/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild b/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild
index e8dda7bf8002..f3e2f3a05b45 100644
--- a/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild
+++ b/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild
@@ -1,18 +1,20 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild,v 1.2 2010/03/25 21:22:18 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild,v 1.3 2010/07/06 18:27:23 arfrever Exp $
-EAPI="2"
-
-NEED_PYTHON="2.5"
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+DISTUTILS_SRC_TEST="setup.py"
inherit distutils
MY_PN="ETSDevTools"
MY_P="${MY_PN}-${PV}"
+
DESCRIPTION="Enthought Tool Suite to support Python development"
-HOMEPAGE="http://code.enthought.com/projects/ets_dev_tools.php"
+HOMEPAGE="http://code.enthought.com/projects/ets_dev_tools.php http://pypi.python.org/pypi/ETSDevTools"
SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
IUSE="doc examples test wxwidgets"
@@ -33,7 +35,6 @@ DEPEND="dev-python/setuptools
>=dev-python/numpy-1.1
x11-libs/libXtst
test? ( >=dev-python/nose-0.10.3 )"
-RESTRICT_PYTHON_ABIS="2.4 3.*"
S="${WORKDIR}/${MY_P}"
@@ -46,13 +47,6 @@ src_prepare() {
setup.py || die
}
-src_test() {
- testing() {
- PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test
- }
- python_execute_function testing
-}
-
src_install() {
find "${S}" -name \*LICENSE.txt -delete
distutils_src_install