1 |
commit: 8ff930d979fecf14b7fbae5c8cff16f354d1dd4c |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 11 13:13:32 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 11 17:12:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff930d9 |
7 |
|
8 |
dev-python/httpauth: add Py3.8 support, fix deps |
9 |
|
10 |
Package-Manager: Portage-2.3.93, Repoman-2.3.20 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
dev-python/httpauth/httpauth-0.3.ebuild | 14 +++----------- |
14 |
1 file changed, 3 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/httpauth/httpauth-0.3.ebuild b/dev-python/httpauth/httpauth-0.3.ebuild |
17 |
index ec763d1968c..5bff2d38252 100644 |
18 |
--- a/dev-python/httpauth/httpauth-0.3.ebuild |
19 |
+++ b/dev-python/httpauth/httpauth-0.3.ebuild |
20 |
@@ -3,7 +3,8 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-PYTHON_COMPAT=( pypy3 python3_{6,7} ) |
25 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) |
26 |
+DISTUTILS_USE_SETUPTOOLS=no |
27 |
|
28 |
inherit distutils-r1 |
29 |
|
30 |
@@ -14,14 +15,5 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
31 |
LICENSE="ISC" |
32 |
SLOT="0" |
33 |
KEYWORDS="~amd64 ~x86" |
34 |
-IUSE="test" |
35 |
-RESTRICT="!test? ( test )" |
36 |
|
37 |
-BDEPEND=" |
38 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
39 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
40 |
-" |
41 |
- |
42 |
-python_test() { |
43 |
- nosetests -v tests.py || die "tests failed with ${EPYTHON}" |
44 |
-} |
45 |
+distutils_enable_tests nose |