1 |
commit: c2895a3c200bb691184bd1f2bb20c87afac44bfc |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 23:44:15 2023 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 23:47:13 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2895a3c |
7 |
|
8 |
dev-python/tld: update EAPI 7 -> 8 and python versions |
9 |
|
10 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
11 |
|
12 |
dev-python/tld/tld-0.12.6.ebuild | 14 +++++++------- |
13 |
1 file changed, 7 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/tld/tld-0.12.6.ebuild b/dev-python/tld/tld-0.12.6.ebuild |
16 |
index 1a3c41e8bfe3..c580627f61d9 100644 |
17 |
--- a/dev-python/tld/tld-0.12.6.ebuild |
18 |
+++ b/dev-python/tld/tld-0.12.6.ebuild |
19 |
@@ -1,9 +1,10 @@ |
20 |
# Copyright 1999-2023 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=7 |
24 |
+EAPI=8 |
25 |
|
26 |
-PYTHON_COMPAT=( python3_{9..10} ) |
27 |
+DISTUTILS_USE_PEP517=setuptools |
28 |
+PYTHON_COMPAT=( python3_{9..11} ) |
29 |
inherit distutils-r1 |
30 |
|
31 |
DESCRIPTION="Extract the top level domain (TLD) from the URL given" |
32 |
@@ -13,13 +14,12 @@ SRC_URI="https://github.com/barseghyanartur/${PN}/archive/${PV}.tar.gz -> ${P}.t |
33 |
LICENSE="GPL-2" |
34 |
SLOT="0" |
35 |
KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="test" |
37 |
+RESTRICT="test !test? ( test )" |
38 |
|
39 |
-BDEPEND=" |
40 |
- test? ( |
41 |
- dev-python/Faker[${PYTHON_USEDEP}] |
42 |
- )" |
43 |
+BDEPEND="test? ( dev-python/Faker[${PYTHON_USEDEP}] )" |
44 |
|
45 |
-distutils_enable_tests --install pytest |
46 |
+distutils_enable_tests pytest |
47 |
|
48 |
src_prepare() { |
49 |
distutils-r1_src_prepare |