commit:     1dba037071a6a3951ff877f3318cae3fff5898ba
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 19 19:42:52 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 19 19:50:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dba0370

dev-python/python-zipstream: Port up to py3.9

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-zipstream/python-zipstream-1.1.4.ebuild | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/dev-python/python-zipstream/python-zipstream-1.1.4.ebuild 
b/dev-python/python-zipstream/python-zipstream-1.1.4.ebuild
index 9b8bd5a3c36..511e864168c 100644
--- a/dev-python/python-zipstream/python-zipstream-1.1.4.ebuild
+++ b/dev-python/python-zipstream/python-zipstream-1.1.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1
 
@@ -14,12 +14,5 @@ 
SRC_URI="https://github.com/allanlei/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-               test? ( dev-python/nose[${PYTHON_USEDEP}] )"
-
-python_test() {
-       nosetests -v || die "tests failed under ${EPYTHON}"
-}
+distutils_enable_tests nose

Reply via email to