commit:     8ff930d979fecf14b7fbae5c8cff16f354d1dd4c
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 13:13:32 2020 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 17:12:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff930d9

dev-python/httpauth: add Py3.8 support, fix deps

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 dev-python/httpauth/httpauth-0.3.ebuild | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/dev-python/httpauth/httpauth-0.3.ebuild 
b/dev-python/httpauth/httpauth-0.3.ebuild
index ec763d1968c..5bff2d38252 100644
--- a/dev-python/httpauth/httpauth-0.3.ebuild
+++ b/dev-python/httpauth/httpauth-0.3.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( pypy3 python3_{6,7} )
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1
 
@@ -14,14 +15,5 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="ISC"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-BDEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/nose[${PYTHON_USEDEP}] )
-"
-
-python_test() {
-       nosetests -v tests.py || die "tests failed with ${EPYTHON}"
-}
+distutils_enable_tests nose

Reply via email to