summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-07 16:04:27 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-07 16:04:27 +0000
commit786129f3b0cad21a7ba9529621c8f29412f4ac23 (patch)
treed57db76a6d0f0bbeaa8c4e408e49b0e5297cef58 /dev-python/envisageplugins
parentppc64 stable wrt #287932 (diff)
downloadgentoo-2-786129f3b0cad21a7ba9529621c8f29412f4ac23.tar.gz
gentoo-2-786129f3b0cad21a7ba9529621c8f29412f4ac23.tar.bz2
gentoo-2-786129f3b0cad21a7ba9529621c8f29412f4ac23.zip
Unrestrict tests.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/envisageplugins')
-rw-r--r--dev-python/envisageplugins/ChangeLog6
-rw-r--r--dev-python/envisageplugins/envisageplugins-3.1.2.ebuild38
2 files changed, 28 insertions, 16 deletions
diff --git a/dev-python/envisageplugins/ChangeLog b/dev-python/envisageplugins/ChangeLog
index a90507f7e180..26dbc2877db9 100644
--- a/dev-python/envisageplugins/ChangeLog
+++ b/dev-python/envisageplugins/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/envisageplugins
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/ChangeLog,v 1.6 2010/07/07 03:42:55 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/ChangeLog,v 1.7 2010/07/07 16:04:27 arfrever Exp $
+
+ 07 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ envisageplugins-3.1.2.ebuild:
+ Unrestrict tests.
07 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
envisageplugins-3.1.2.ebuild:
diff --git a/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild b/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild
index 8e872019d57f..03b52342bf72 100644
--- a/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild
+++ b/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild,v 1.2 2010/07/07 03:42:55 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild,v 1.3 2010/07/07 16:04:27 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -8,41 +8,49 @@ SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
DISTUTILS_SRC_TEST="setup.py"
-inherit distutils
+inherit distutils virtualx
MY_PN="EnvisagePlugins"
MY_P="${MY_PN}-${PV}"
+
DESCRIPTION="Enthought Tool Suite plugins for the Envisage framework"
HOMEPAGE="http://code.enthought.com/projects/envisage_plugins.php http://pypi.python.org/pypi/EnvisagePlugins"
SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
-IUSE="examples"
-#IUSE="examples test"
+LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-LICENSE="BSD"
+IUSE="examples test"
RDEPEND=">=dev-python/envisagecore-3.1.2
>=dev-python/traitsgui-3.3.0"
-
-DEPEND="dev-python/setuptools"
-# tests need an X display
-# test? ( >=dev-python/nose-0.10.3
-# >=dev-python/envisagecore-3.1.2 )"
-RESTRICT="test"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ test? (
+ dev-python/coverage
+ >=dev-python/nose-0.10.3
+ media-fonts/font-cursor-misc
+ media-fonts/font-misc-misc
+ x11-apps/xhost
+ )"
S="${WORKDIR}/${MY_P}"
+
PYTHON_MODNAME="enthought"
src_prepare() {
- sed -i \
+ sed \
-e "s/self.run_command('build_docs')/pass/" \
- -e "s/setupdocs>=1.0//" \
- setup.py || die
+ -e "/setupdocs>=1.0/d" \
+ -i setup.py || die "sed setup.py failed"
+}
+
+src_test() {
+ maketype="distutils_src_test" virtualmake
}
src_install() {
- find "${S}" -name \*LICENSE.txt -delete
+ find "${S}" -name "*LICENSE.txt" -delete
distutils_src_install
insinto /usr/share/doc/${PF}
if use examples; then