1 |
commit: 527ce8fd3ddd73aebaddf6726d2d2e2953bf234e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 26 15:08:03 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 26 15:16:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=527ce8fd |
7 |
|
8 |
dev-python/www-authenticate: Enable py3.{7,8}, modernize |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/www-authenticate/www-authenticate-0.9.2.ebuild | 13 ++----------- |
13 |
1 file changed, 2 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild b/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild |
16 |
index d56aaf333fe..c315ec4d286 100644 |
17 |
--- a/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild |
18 |
+++ b/dev-python/www-authenticate/www-authenticate-0.9.2.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=6 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_6 ) |
24 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
25 |
inherit distutils-r1 |
26 |
|
27 |
DESCRIPTION="WWW-Authenticate header parser" |
28 |
@@ -13,14 +13,5 @@ SRC_URI="https://github.com/alexsdutton/www-authenticate/archive/${PV}.tar.gz -> |
29 |
LICENSE="BSD" |
30 |
SLOT="0" |
31 |
KEYWORDS="~amd64" |
32 |
-IUSE="test" |
33 |
-RESTRICT="!test? ( test )" |
34 |
|
35 |
-RDEPEND="" |
36 |
-DEPEND="${RDEPEND} |
37 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
38 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
39 |
- |
40 |
-python_test() { |
41 |
- nosetests tests.py || die |
42 |
-} |
43 |
+distutils_enable_tests nose |