summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-07 03:42:55 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-07 03:42:55 +0000
commitfd7711c6e96feef02ed556839cffa9e37635f304 (patch)
tree780ab28eff2947ec2105f4b12ef2b05d30ca290c
parentDelete older ebuild. (diff)
downloadgentoo-2-fd7711c6e96feef02ed556839cffa9e37635f304.tar.gz
gentoo-2-fd7711c6e96feef02ed556839cffa9e37635f304.tar.bz2
gentoo-2-fd7711c6e96feef02ed556839cffa9e37635f304.zip
Set PYTHON_DEPEND. Simplify src_test().
(Portage version: HEAD/cvs/Linux x86_64)
-rw-r--r--dev-python/envisageplugins/ChangeLog6
-rw-r--r--dev-python/envisageplugins/envisageplugins-3.1.2.ebuild17
2 files changed, 11 insertions, 12 deletions
diff --git a/dev-python/envisageplugins/ChangeLog b/dev-python/envisageplugins/ChangeLog
index bd8756170d18..a90507f7e180 100644
--- a/dev-python/envisageplugins/ChangeLog
+++ b/dev-python/envisageplugins/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/envisageplugins
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/ChangeLog,v 1.5 2010/03/23 05:13:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/ChangeLog,v 1.6 2010/07/07 03:42:55 arfrever Exp $
+
+ 07 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ envisageplugins-3.1.2.ebuild:
+ Set PYTHON_DEPEND. Simplify src_test().
*envisageplugins-3.1.2 (21 Mar 2010)
diff --git a/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild b/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild
index 346c9bfff4ef..8e872019d57f 100644
--- a/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild
+++ b/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild
@@ -1,16 +1,19 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild,v 1.1 2010/03/23 05:13:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild,v 1.2 2010/07/07 03:42:55 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="setup.py"
inherit distutils
MY_PN="EnvisagePlugins"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Enthought Tool Suite plugins for the Envisage framework"
-HOMEPAGE="http://code.enthought.com/projects/envisage_plugins.php"
+HOMEPAGE="http://code.enthought.com/projects/envisage_plugins.php http://pypi.python.org/pypi/EnvisagePlugins"
SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
IUSE="examples"
@@ -26,7 +29,6 @@ DEPEND="dev-python/setuptools"
# tests need an X display
# test? ( >=dev-python/nose-0.10.3
# >=dev-python/envisagecore-3.1.2 )"
-RESTRICT_PYTHON_ABIS="3.*"
RESTRICT="test"
S="${WORKDIR}/${MY_P}"
@@ -39,13 +41,6 @@ src_prepare() {
setup.py || die
}
-src_test() {
- testing() {
- PYTHONPATH="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