aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <della5@iinet.com.au>2012-05-19 18:01:55 +0800
committerIan Delaney <della5@iinet.com.au>2012-05-19 18:01:55 +0800
commit418e73ed68c25facb2adbc132e0ebaa3d198319e (patch)
treef58de17a594f2441d3f592dfd36c9d5da2ba5fb1
parent[dev-python/xlutils] Bumped to 1.5.2, tests fixed in bump, dropped old (diff)
downloadimprovise-418e73ed68c25facb2adbc132e0ebaa3d198319e.tar.gz
improvise-418e73ed68c25facb2adbc132e0ebaa3d198319e.tar.bz2
improvise-418e73ed68c25facb2adbc132e0ebaa3d198319e.zip
[dev-python/xlutils] Cleanup, set correct deps under test?
(Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)
-rw-r--r--dev-python/xlutils/xlutils-1.5.2.ebuild21
1 files changed, 6 insertions, 15 deletions
diff --git a/dev-python/xlutils/xlutils-1.5.2.ebuild b/dev-python/xlutils/xlutils-1.5.2.ebuild
index 606527b..8a0f327 100644
--- a/dev-python/xlutils/xlutils-1.5.2.ebuild
+++ b/dev-python/xlutils/xlutils-1.5.2.ebuild
@@ -6,6 +6,7 @@ EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_TESTS_RESTRICTED_ABIS="*-pypy-*"
DISTUTILS_SRC_TEST=py.test
inherit distutils
@@ -13,7 +14,7 @@ DESCRIPTION="provides a collection of utilities for working with Excel files"
HOMEPAGE="http://pypi.python.org/pypi/xlutils"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
IUSE=""
LICENSE="MIT"
@@ -25,21 +26,11 @@ RDEPEND=">=dev-python/xlwt-0.7.3
>=dev-python/xlrd-0.7.3
dev-python/errorhandler"
DEPEND="${RDEPEND}
- >=dev-python/testfixtures-1.6.1
- dev-python/mock"
+ test? ( dev-python/errorhandler
+ dev-python/mock
+ >=dev-python/testfixtures-1.6.1 )"
src_test() {
- # https://github.com/python-excel/xlutils/issues/1
+ # Point to tests
distutils_src_test xlutils/tests
-# testing() {
-# pushd xlutils/tests > /dev/null
-# local exit_status=0
-# for test in test_*.py
-# do
-# PYTHONPATH="${S}/build-${PYTHON_ABI}/lib/:." nosetests $test
-# nosetests $test
-# done
-# popd > /dev/null
-# }
-# python_execute_function testing
}