diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-03-16 19:24:45 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-03-16 19:24:45 +0000 |
commit | 4c20c34f87aff887279d625e649d6d0feefa2c6f (patch) | |
tree | 3be21c712e8d75ee27aa3a89b61d9d1331637342 | |
parent | Removed old (diff) | |
download | gentoo-2-4c20c34f87aff887279d625e649d6d0feefa2c6f.tar.gz gentoo-2-4c20c34f87aff887279d625e649d6d0feefa2c6f.tar.bz2 gentoo-2-4c20c34f87aff887279d625e649d6d0feefa2c6f.zip |
Re-added correct blockcanvas
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r-- | dev-python/blockcanvas/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/blockcanvas/blockcanvas-3.1.0.ebuild (renamed from dev-python/blockcanvas/blockcanvas-3.0.2.ebuild) | 38 |
2 files changed, 28 insertions, 16 deletions
diff --git a/dev-python/blockcanvas/ChangeLog b/dev-python/blockcanvas/ChangeLog index 0f3f123cd4fc..0930c21c2319 100644 --- a/dev-python/blockcanvas/ChangeLog +++ b/dev-python/blockcanvas/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/blockcanvas # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/ChangeLog,v 1.5 2010/03/16 19:11:17 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/ChangeLog,v 1.6 2010/03/16 19:24:45 bicatali Exp $ + + 16 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + -blockcanvas-3.0.2.ebuild, +blockcanvas-3.1.0.ebuild: + Re-added correct blockcanvas 16 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> -blockcanvas-3.1.0.ebuild: diff --git a/dev-python/blockcanvas/blockcanvas-3.0.2.ebuild b/dev-python/blockcanvas/blockcanvas-3.1.0.ebuild index 801e9f53fa64..efe83061691e 100644 --- a/dev-python/blockcanvas/blockcanvas-3.0.2.ebuild +++ b/dev-python/blockcanvas/blockcanvas-3.1.0.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/blockcanvas-3.0.2.ebuild,v 1.1 2009/03/27 10:46:41 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/blockcanvas-3.1.0.ebuild,v 1.3 2010/03/16 19:24:45 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" -EAPI=2 inherit distutils MY_PN="BlockCanvas" @@ -11,7 +13,8 @@ DESCRIPTION="Enthought Tool Suite numerical modeling framework" HOMEPAGE="http://code.enthought.com/projects/block_canvas.php" SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" -IUSE="test" +IUSE="" +#IUSE="test" SLOT="0" KEYWORDS="~amd64 ~x86" LICENSE="BSD" @@ -19,26 +22,31 @@ LICENSE="BSD" RDEPEND=">=dev-python/numpy-1.1 dev-python/configobj dev-python/docutils - >=dev-python/apptools-3.2 - >=dev-python/chaco-3.1 - >=dev-python/enthoughtbase-3.0.2 - >=dev-python/etsdevtools-3.0.2 - >=dev-python/scimath-3.0.3 - >=dev-python/traitsgui-3.0.4 + >=dev-python/apptools-3.3.0 + >=dev-python/chaco-3.2.0 + >=dev-python/enthoughtbase-3.0.3 + >=dev-python/etsdevtools-3.0.3 + >=dev-python/scimath-3.0.4 + >=dev-python/traitsgui-3.1.0 dev-python/imaging" - -DEPEND="dev-python/setuptools - test? ( ${RDEPEND} >=dev-python/nose-0.10.3 )" +DEPEND="dev-python/setuptools" +# Tests require X display. +# test? ( ${RDEPEND} >=dev-python/nose-0.10.3 ) +RESTRICT_PYTHON_ABIS="3.*" +RESTRICT="test" S="${WORKDIR}/${MY_P}" PYTHON_MODNAME="enthought" src_prepare() { - sed -i -e "/self.run_command('build_docs')/d" setup.py || die + sed -e "s/self.run_command('build_docs')/pass/" -i setup.py || die } src_test() { - PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function testing } src_install() { |