dev-python/pyparsing: Add python3.5 support
authorJustin Lecher <jlec@gentoo.org>
Thu, 15 Oct 2015 14:04:45 +0000 (16:04 +0200)
committerJustin Lecher <jlec@gentoo.org>
Thu, 15 Oct 2015 14:41:21 +0000 (16:41 +0200)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/pyparsing/pyparsing-2.0.3.ebuild

index b03dbc1948deed461f086d56386b2ac5a0977f27..7a482c2650b8f0ae634b958f26e468b2f6699ca9 100644 (file)
@@ -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
+}