From 52ceeb0ae44b206ab0a5f1bfcb3788b42732b68a Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 5 Sep 2009 20:57:15 +0000 Subject: Version bump. Set SUPPORT_PYTHON_ABIS. (Portage version: 14200-svn/cvs/Linux x86_64) --- dev-python/enthoughtbase/ChangeLog | 8 ++- .../enthoughtbase/enthoughtbase-3.0.1.ebuild | 57 ------------------- .../enthoughtbase/enthoughtbase-3.0.3.ebuild | 66 ++++++++++++++++++++++ 3 files changed, 73 insertions(+), 58 deletions(-) delete mode 100644 dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild create mode 100644 dev-python/enthoughtbase/enthoughtbase-3.0.3.ebuild (limited to 'dev-python/enthoughtbase') diff --git a/dev-python/enthoughtbase/ChangeLog b/dev-python/enthoughtbase/ChangeLog index 4fbeba643207..5ead0c4ceaae 100644 --- a/dev-python/enthoughtbase/ChangeLog +++ b/dev-python/enthoughtbase/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/enthoughtbase # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/ChangeLog,v 1.5 2009/07/01 08:08:29 lordvan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/ChangeLog,v 1.6 2009/09/05 20:57:15 arfrever Exp $ + +*enthoughtbase-3.0.3 (05 Sep 2009) + + 05 Sep 2009; Arfrever Frehtes Taifersar Arahesis + -enthoughtbase-3.0.1.ebuild, +enthoughtbase-3.0.3.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. *enthoughtbase-3.0.2 (27 Mar 2009) diff --git a/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild b/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild deleted file mode 100644 index 12c592d7d2cc..000000000000 --- a/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild,v 1.2 2009/02/12 11:55:30 bicatali Exp $ - -EAPI=2 -inherit distutils - -MY_PN="EnthoughtBase" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="Core packages for the Enthought Tool Suite" -HOMEPAGE="http://code.enthought.com/projects/enthought_base.php" -SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -IUSE="doc examples" -SLOT="0" -KEYWORDS="~amd64 ~x86" -LICENSE="BSD LGPL-2" -RDEPEND="" -DEPEND="dev-python/setuptools - doc? ( dev-python/setupdocs )" -# test? ( >=dev-python/nose-0.10.3 dev-python/etsdevtools )" -# tests need an X display -RESTRICT=test -S="${WORKDIR}/${MY_P}" - -PYTHON_MODNAME="enthought" - -src_prepare() { - sed -i -e "/self.run_command('build_docs')/d" setup.py || die -} - -src_compile() { - distutils_src_compile - if use doc; then - export VARTEXFONTS="${T}/fonts" - ${python} setup.py build_docs --formats=html,pdf \ - || die "doc building failed" - fi -} - -src_test() { - PYTHONPATH=build/lib ${python} setup.py test || die "tests failed" -} - -src_install() { - find "${S}" -name \*LICENSE.txt -delete - distutils_src_install - dodoc docs/*.txt - insinto /usr/share/doc/${PF} - if use doc; then - doins -r build/docs/html || die - doins build/docs/latex/*.pdf || die - fi - if use examples; then - doins -r examples || die - fi -} diff --git a/dev-python/enthoughtbase/enthoughtbase-3.0.3.ebuild b/dev-python/enthoughtbase/enthoughtbase-3.0.3.ebuild new file mode 100644 index 000000000000..84cebbb29aa6 --- /dev/null +++ b/dev-python/enthoughtbase/enthoughtbase-3.0.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.3.ebuild,v 1.1 2009/09/05 20:57:15 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="EnthoughtBase" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Core packages for the Enthought Tool Suite" +HOMEPAGE="http://code.enthought.com/projects/enthought_base.php" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD LGPL-2" +RDEPEND="" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs )" +# tests would require circular deps +# test? ( >=dev-python/nose-0.10.3 +# dev-python/traits +# dev-python/etsdevtools )" +RESTRICT_PYTHON_ABIS="3.*" +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "s/self.run_command('build_docs')/pass/" setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + export VARTEXFONTS="${T}/fonts" + ${python} setup.py build_docs --formats=html,pdf \ + || die "doc building failed" + fi +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function +} + +src_install() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install + dodoc docs/*.txt + insinto /usr/share/doc/${PF} + if use doc; then + doins -r build/docs/html || die + doins build/docs/latex/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} -- cgit v1.2.3-65-gdbad