aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/manuel/manuel-1.6.0.ebuild')
-rw-r--r--dev-python/manuel/manuel-1.6.0.ebuild23
1 files changed, 7 insertions, 16 deletions
diff --git a/dev-python/manuel/manuel-1.6.0.ebuild b/dev-python/manuel/manuel-1.6.0.ebuild
index 4017e66..00f9f73 100644
--- a/dev-python/manuel/manuel-1.6.0.ebuild
+++ b/dev-python/manuel/manuel-1.6.0.ebuild
@@ -3,10 +3,11 @@
# $Header: $
EAPI="4"
-PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="2.5 3.*"
DISTUTILS_SRC_TEST=setup.py
+RESTRICT_PYTHON_ABIS="*-jython"
+#2.5 fails tests purely due to test files using relative import.
+PYTHON_TESTS_RESTRICTED_ABIS="2.5"
inherit distutils eutils
DESCRIPTION="Manuel lets you build tested documentation."
@@ -18,23 +19,13 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
-DEPEND="dev-python/setuptools
- dev-python/six"
-# test? ( net-zope/zope-testing )"
-RDEPEND="${DEPEND}"
+RDEPEND="dev-python/six"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+# test? ( net-zope/zope-testing )"
DOCS=( CHANGES.txt )
src_prepare() {
epatch "${FILESDIR}"/${P}-rm_zope_test.patch
}
-
-src_test() {
- testing() {
- pushd build-${PYTHON_ABI}/lib > /dev/null
-# PYTHONPATH=.
- "$(PYTHON)" -m ${PN}.tests
- popd > /dev/null
- }
- python_execute_function testing
-}