From 656f9f29f8a97810530b5811e74da57b0bebb73c Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Thu, 10 Jun 2010 19:12:51 +0000 Subject: Update HOMEPAGE. Simplify src_test(). (Portage version: HEAD/cvs/Linux x86_64) --- dev-python/traits/traits-3.4.0.ebuild | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'dev-python/traits') 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 -- cgit v1.2.3-65-gdbad