dev-python/nose_fixes: Add python3_6
authorManuel Rüger <mrueg@gentoo.org>
Tue, 16 May 2017 12:02:35 +0000 (14:02 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Tue, 16 May 2017 12:02:35 +0000 (14:02 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-python/nose_fixes/nose_fixes-1.3.ebuild

index b5bfaf3b4c0a97d46ce016d9d36fdee0a04c0c21..b406653c87f244cfe608fe6e6a198c722da408bf 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy pypy3 )
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy pypy3 )
 
 inherit distutils-r1
 
@@ -23,7 +23,7 @@ DEPEND="
        ${RDEPEND}
        doc? (
                dev-python/sphinx[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 'dev-python/pkginfo[${PYTHON_USEDEP}]' python2_7)
+               dev-python/pkginfo[${PYTHON_USEDEP}]
        )"
 
 python_prepare_all() {
@@ -39,3 +39,7 @@ python_install_all() {
        use doc && local HTML_DOCS=( docs/_build/html/. )
        distutils-r1_python_install_all
 }
+
+python_test() {
+       nosetests || die
+}