1 |
commit: 4e843e0ca3835dab025e26adb8d93be1a93e5224 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 28 06:49:55 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 28 07:00:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e843e0c |
7 |
|
8 |
dev-python/rfc3986: Modernize, py3.8 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/rfc3986/rfc3986-1.3.2.ebuild | 17 +++++++---------- |
13 |
1 file changed, 7 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/rfc3986/rfc3986-1.3.2.ebuild b/dev-python/rfc3986/rfc3986-1.3.2.ebuild |
16 |
index 5d5064b5811..d30c59714ba 100644 |
17 |
--- a/dev-python/rfc3986/rfc3986-1.3.2.ebuild |
18 |
+++ b/dev-python/rfc3986/rfc3986-1.3.2.ebuild |
19 |
@@ -2,7 +2,7 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=7 |
23 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3) |
24 |
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
@@ -15,16 +15,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
29 |
LICENSE="Apache-2.0" |
30 |
SLOT="0" |
31 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
32 |
-IUSE="idna test" |
33 |
-RESTRICT="!test? ( test )" |
34 |
+IUSE="idna" |
35 |
|
36 |
-DEPEND=" |
37 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
38 |
+RDEPEND=" |
39 |
idna? ( dev-python/idna[${PYTHON_USEDEP}] ) |
40 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
41 |
" |
42 |
-RDEPEND="" |
43 |
+BDEPEND=" |
44 |
+ test? ( dev-python/idna[${PYTHON_USEDEP}] ) |
45 |
+" |
46 |
|
47 |
-python_test() { |
48 |
- py.test -vv || die |
49 |
-} |
50 |
+distutils_enable_tests pytest |