diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-04-23 05:57:59 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-04-23 05:57:59 +0000 |
commit | 0eac04337c5c1fe2378f307675d2ddc6cbdf25ff (patch) | |
tree | 17929d6367f5b22bf3b5388b40d018e7be864697 | |
parent | Version and EAPI bump, add support for prefix. Remove warning for older versi... (diff) | |
download | gentoo-2-0eac04337c5c1fe2378f307675d2ddc6cbdf25ff.tar.gz gentoo-2-0eac04337c5c1fe2378f307675d2ddc6cbdf25ff.tar.bz2 gentoo-2-0eac04337c5c1fe2378f307675d2ddc6cbdf25ff.zip |
Added virtualx for tests
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r-- | dev-python/chaco/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/chaco/chaco-3.3.0.ebuild | 14 |
2 files changed, 14 insertions, 5 deletions
diff --git a/dev-python/chaco/ChangeLog b/dev-python/chaco/ChangeLog index 896f6fd59797..2c390fe29b31 100644 --- a/dev-python/chaco/ChangeLog +++ b/dev-python/chaco/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/chaco # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.5 2010/03/23 05:19:01 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.6 2010/04/23 05:57:59 bicatali Exp $ + + 23 Apr 2010; Sébastien Fabbro <bicatali@gentoo.org> chaco-3.3.0.ebuild: + Added virtualx for tests *chaco-3.3.0 (21 Mar 2010) diff --git a/dev-python/chaco/chaco-3.3.0.ebuild b/dev-python/chaco/chaco-3.3.0.ebuild index a996b5989a42..954e69f39074 100644 --- a/dev-python/chaco/chaco-3.3.0.ebuild +++ b/dev-python/chaco/chaco-3.3.0.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/chaco-3.3.0.ebuild,v 1.1 2010/03/23 05:19:01 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/chaco-3.3.0.ebuild,v 1.2 2010/04/23 05:57:59 bicatali Exp $ EAPI="2" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" -inherit distutils +inherit distutils virtualx MY_PN="Chaco" MY_P="${MY_PN}-${PV}" @@ -26,7 +26,11 @@ DEPEND="dev-python/setuptools test? ( >=dev-python/nose-0.10.3 dev-python/coverage >=dev-python/enable-3.3.0 - >=dev-python/enthoughtbase-3.0.4 )" + >=dev-python/enthoughtbase-3.0.4 + x11-apps/xhost + media-fonts/font-misc-misc + media-fonts/font-cursor-misc )" + RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${MY_P}" @@ -38,6 +42,7 @@ src_prepare() { -e "s/self.run_command('build_docs')/pass/" \ -e "s/setupdocs>=1.0//" \ setup.py || die + sed -i -e 's:enthought/chaco2/tests::' setup.cfg || die } src_compile() { @@ -51,7 +56,8 @@ src_test() { testing() { PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test } - python_execute_function testing + export maketype="python_execute_function" + virtualmake testing } src_install() { |