diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-05 21:13:04 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-05 21:13:04 +0000 |
commit | 0c8088a4d6aa0be6d822868694e1f555e0e3fc38 (patch) | |
tree | 53742164d071bfa254faf5776c46d7b15acf34f2 /dev-python/traits | |
parent | Bump to 2.27.90 -- bugfixes, use AM_SILENT_RULES if available (diff) | |
download | gentoo-2-0c8088a4d6aa0be6d822868694e1f555e0e3fc38.tar.gz gentoo-2-0c8088a4d6aa0be6d822868694e1f555e0e3fc38.tar.bz2 gentoo-2-0c8088a4d6aa0be6d822868694e1f555e0e3fc38.zip |
Version bump. Set SUPPORT_PYTHON_ABIS.
(Portage version: 14200-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/traits')
-rw-r--r-- | dev-python/traits/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/traits/traits-3.2.0.ebuild (renamed from dev-python/traits/traits-3.0.3.ebuild) | 26 |
2 files changed, 23 insertions, 11 deletions
diff --git a/dev-python/traits/ChangeLog b/dev-python/traits/ChangeLog index fb3328b2fdf6..20111fae526a 100644 --- a/dev-python/traits/ChangeLog +++ b/dev-python/traits/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/traits # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.2 2009/03/27 10:45:50 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.3 2009/09/05 21:13:04 arfrever Exp $ + +*traits-3.2.0 (05 Sep 2009) + + 05 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -traits-3.0.3.ebuild, +traits-3.2.0.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. *traits-3.1.0 (27 Mar 2009) diff --git a/dev-python/traits/traits-3.0.3.ebuild b/dev-python/traits/traits-3.2.0.ebuild index fd4342c532fe..1c5d12fa9373 100644 --- a/dev-python/traits/traits-3.0.3.ebuild +++ b/dev-python/traits/traits-3.2.0.ebuild @@ -1,15 +1,17 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-3.0.3.ebuild,v 1.1 2009/01/15 09:37:09 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-3.2.0.ebuild,v 1.1 2009/09/05 21:13:04 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" -EAPI=2 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" -SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" IUSE="doc examples test" SLOT="0" @@ -17,30 +19,34 @@ KEYWORDS="~amd64 ~x86" LICENSE="BSD" RDEPEND=">=dev-python/numpy-1.1 - dev-python/enthoughtbase" - + >=dev-python/enthoughtbase-3.0.3" DEPEND="dev-python/setuptools - doc? ( >=dev-python/sphinx-0.5.1 ) - test? ( >=dev-python/nose-0.10.3 >=dev-python/numpy-1.1 )" + doc? ( dev-python/setupdocs ) + test? ( >=dev-python/nose-0.10.3 + >=dev-python/numpy-1.1 )" +RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${MY_P}" PYTHON_MODNAME="enthought" src_prepare() { - sed -i -e "/self.run_command('build_docs')/d" setup.py || die + sed -i -e "s/self.run_command('build_docs')/pass/" setup.py || die } src_compile() { distutils_src_compile if use doc; then - ${python} setup.py build_docs --formats=html \ + "${python}" setup.py build_docs --formats=html \ || die "doc building failed" fi } src_test() { - PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" + testing() { + PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function testing } src_install() { |