From: Louis Sautier Date: Wed, 11 Mar 2020 13:13:32 +0000 (+0100) Subject: dev-python/httpauth: add Py3.8 support, fix deps X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ff930d979fecf14b7fbae5c8cff16f354d1dd4c;p=gentoo.git dev-python/httpauth: add Py3.8 support, fix deps Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Louis Sautier --- diff --git a/dev-python/httpauth/httpauth-0.3.ebuild b/dev-python/httpauth/httpauth-0.3.ebuild index ec763d1968cc..5bff2d382521 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