summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-10 19:12:51 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-10 19:12:51 +0000
commit656f9f29f8a97810530b5811e74da57b0bebb73c (patch)
tree386cc27aae5a7b2e9a14d14b9b731bed6d4d6641 /dev-python
parentnon-maintainer commit: Fixing compilation against sys-libs/db:4.8 (see bug #3... (diff)
downloadgentoo-2-656f9f29f8a97810530b5811e74da57b0bebb73c.tar.gz
gentoo-2-656f9f29f8a97810530b5811e74da57b0bebb73c.tar.bz2
gentoo-2-656f9f29f8a97810530b5811e74da57b0bebb73c.zip
Update HOMEPAGE. Simplify src_test().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/traits/traits-3.4.0.ebuild17
1 files changed, 6 insertions, 11 deletions
diff --git a/dev-python/traits/traits-3.4.0.ebuild b/dev-python/traits/traits-3.4.0.ebuild
index 38eb6fccf02c..e03229710c58 100644
--- a/dev-python/traits/traits-3.4.0.ebuild
+++ b/dev-python/traits/traits-3.4.0.ebuild
@@ -1,17 +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/traits/traits-3.4.0.ebuild,v 1.1 2010/05/31 06:45:57 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-3.4.0.ebuild,v 1.2 2010/06/10 19:12:51 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="Traits"
MY_P="${MY_PN}-${PV}"
+
DESCRIPTION="Enthought Tool Suite explicitly typed attributes for Python"
-HOMEPAGE="http://code.enthought.com/projects/traits"
+HOMEPAGE="http://code.enthought.com/projects/traits http://pypi.python.org/pypi/Traits"
SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
IUSE="doc examples test"
@@ -25,7 +28,6 @@ DEPEND="dev-python/setuptools
doc? ( dev-python/setupdocs )
test? ( >=dev-python/nose-0.10.3
>=dev-python/numpy-1.1 )"
-RESTRICT_PYTHON_ABIS="3.*"
S="${WORKDIR}/${MY_P}"
@@ -45,13 +47,6 @@ src_compile() {
fi
}
-src_test() {
- testing() {
- PYTHONPATH="$(dir -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