commit:     527ce8fd3ddd73aebaddf6726d2d2e2953bf234e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 26 15:08:03 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 26 15:16:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=527ce8fd

dev-python/www-authenticate: Enable py3.{7,8}, modernize

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

 dev-python/www-authenticate/www-authenticate-0.9.2.ebuild | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild 
b/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild
index d56aaf333fe..c315ec4d286 100644
--- a/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild
+++ b/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1
 
 DESCRIPTION="WWW-Authenticate header parser"
@@ -13,14 +13,5 @@ 
SRC_URI="https://github.com/alexsdutton/www-authenticate/archive/${PV}.tar.gz ->
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-RDEPEND=""
-DEPEND="${RDEPEND}
-       test? ( dev-python/nose[${PYTHON_USEDEP}] )
-       dev-python/setuptools[${PYTHON_USEDEP}]"
-
-python_test() {
-       nosetests tests.py || die
-}
+distutils_enable_tests nose

Reply via email to