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

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-04-26 17:08:03 +02:00
parent 235519006c
commit 527ce8fd3d

View File

@@ -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