From fd11aad3a8c898c64f6cf7c0da29fa8cde63ebeb Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Thu, 15 Oct 2015 16:04:45 +0200 Subject: [PATCH] dev-python/pyparsing: Add python3.5 support Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher --- dev-python/pyparsing/pyparsing-2.0.3.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-python/pyparsing/pyparsing-2.0.3.ebuild b/dev-python/pyparsing/pyparsing-2.0.3.ebuild index b03dbc1948de..7a482c2650b8 100644 --- a/dev-python/pyparsing/pyparsing-2.0.3.ebuild +++ b/dev-python/pyparsing/pyparsing-2.0.3.ebuild @@ -3,7 +3,8 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) inherit distutils-r1 @@ -18,6 +19,9 @@ IUSE="doc examples" RDEPEND="!dev-python/pyparsing:py2 !dev-python/pyparsing:py3" +# no contained in the tarball +RESTRICT=test + python_install_all() { local HTML_DOCS=( HowToUsePyparsing.html ) if use doc; then @@ -27,3 +31,7 @@ python_install_all() { use examples && local EXAMPLES=( examples/. ) distutils-r1_python_install_all } + +python_test() { + ${PYTHON} unitTests.py || die +} -- 2.26.2