commit: fd11aad3a8c898c64f6cf7c0da29fa8cde63ebeb Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Thu Oct 15 14:04:45 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Thu Oct 15 14:41:21 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd11aad3
dev-python/pyparsing: Add python3.5 support Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> 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 b03dbc1..7a482c2 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 +}