summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-03-31 03:54:10 +0000
committerMike Gilbert <floppym@gentoo.org>2012-03-31 03:54:10 +0000
commite60541fe5c832e7a6747dda7c95e8abb7e1e362f (patch)
tree0219da2aee2c23e07bf0a4b24652aec42fcb0933 /dev-python/sphinxcontrib-issuetracker
parentDev channel bump. (diff)
downloadgentoo-2-e60541fe5c832e7a6747dda7c95e8abb7e1e362f.tar.gz
gentoo-2-e60541fe5c832e7a6747dda7c95e8abb7e1e362f.tar.bz2
gentoo-2-e60541fe5c832e7a6747dda7c95e8abb7e1e362f.zip
Run test suite. Assistance by Arfrever.
(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/sphinxcontrib-issuetracker')
-rw-r--r--dev-python/sphinxcontrib-issuetracker/ChangeLog6
-rw-r--r--dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.9.ebuild25
2 files changed, 25 insertions, 6 deletions
diff --git a/dev-python/sphinxcontrib-issuetracker/ChangeLog b/dev-python/sphinxcontrib-issuetracker/ChangeLog
index 72bf2ba03ebb..1953384b5865 100644
--- a/dev-python/sphinxcontrib-issuetracker/ChangeLog
+++ b/dev-python/sphinxcontrib-issuetracker/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/sphinxcontrib-issuetracker
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-issuetracker/ChangeLog,v 1.3 2012/03/31 02:40:53 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-issuetracker/ChangeLog,v 1.4 2012/03/31 03:54:10 floppym Exp $
+
+ 31 Mar 2012; Mike Gilbert <floppym@gentoo.org>
+ sphinxcontrib-issuetracker-0.9.ebuild:
+ Run test suite. Assistance by Arfrever.
31 Mar 2012; Mike Gilbert <floppym@gentoo.org>
sphinxcontrib-issuetracker-0.9.ebuild:
diff --git a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.9.ebuild b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.9.ebuild
index d210b862a960..eed881397aa7 100644
--- a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.9.ebuild
+++ b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.9.ebuild
@@ -1,11 +1,13 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.9.ebuild,v 1.3 2012/03/31 02:40:53 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.9.ebuild,v 1.4 2012/03/31 03:54:10 floppym Exp $
-EAPI=4
+EAPI="4"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.6"
RESTRICT_PYTHON_ABIS="2.5 3.*"
+PYTHON_TESTS_RESTRICTED_ABIS="*-jython *-pypy-*"
+DISTUTILS_SRC_TEST="py.test"
inherit distutils
@@ -18,7 +20,20 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
-DEPEND="
- dev-python/setuptools
- test? ( dev-python/pyquery )"
RDEPEND=">=dev-python/sphinx-1.0"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ test? (
+ dev-python/mock
+ dev-python/pyquery
+ )"
+
+PYTHON_MODNAME="${PN/-//}.py"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # Tests from tests/test_stylesheet.py require dev-python/PyQt4[X,webkit]
+ # and virtualx.eclass.
+ rm tests/test_stylesheet.py || die
+}