1 |
commit: 8d74f0f5c8d93b66094d2babf87059f54de5d1f5 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 25 06:38:31 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 25 06:39:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d74f0f5 |
7 |
|
8 |
dev-python/phonenumbers: add 8.12.56 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/phonenumbers/Manifest | 1 + |
13 |
.../phonenumbers/phonenumbers-8.12.56.ebuild | 39 ++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest |
17 |
index 5fb05833b4a4..05f6f609843d 100644 |
18 |
--- a/dev-python/phonenumbers/Manifest |
19 |
+++ b/dev-python/phonenumbers/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST python-phonenumbers-8.12.54.gh.tar.gz 4905001 BLAKE2B 5fc206b3dd5f5cc96ecfc91b33369fb12d8a11245f846039478bf77f9dbc8e1bfe0e169eb6f1c360ac2a730f79b512178b115f82434790baeb3b2d26d5eaa370 SHA512 0da4f3ffa57f0c2ddaf843eea1440b33844be7ee45122a21d00b5630b720eac059777dca2051e00baf39158737478d5077f97ec6b9293528b11a9844294a621c |
22 |
DIST python-phonenumbers-8.12.55.gh.tar.gz 4905987 BLAKE2B 3c05fbe261f9c347bdccb9e664f0005f3f67120df5a494b105780ac5f00a407289bd6be6bbaefbf843937193b760b772e1d8c298a6676770f97d7e6a3d16f25a SHA512 f1aaecd70d761aaa2b6b53d5dc03624f1a64cfb8733b2ac3260bb295be527238755659b55b5d79b6a49a06c56616517afb2cd56b3f39f5eba8dcc27b61e4a6b5 |
23 |
+DIST python-phonenumbers-8.12.56.gh.tar.gz 4906531 BLAKE2B d55d828a26bc3a86660b6341c9577de6f489d3511971c5a843f10c14c05f0c82340109f13cc86c261119d6598ade95c2c3c9afdea485b09f3f73be891ee2a16e SHA512 675cf8d15536efd156a230cff9e027cdba718a32ca2facb493b235f39dc1a0c86f6a376d3d501690b25a5e52d6d411309626b8ecce9a065456e42774da04ea49 |
24 |
|
25 |
diff --git a/dev-python/phonenumbers/phonenumbers-8.12.56.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.56.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..baab22b23fc7 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/phonenumbers/phonenumbers-8.12.56.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_P=python-${P} |
42 |
+DESCRIPTION="Python port of Google's libphonenumber" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/daviddrysdale/python-phonenumbers/ |
45 |
+ https://pypi.org/project/phonenumbers/ |
46 |
+" |
47 |
+SRC_URI=" |
48 |
+ https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz |
49 |
+ -> ${MY_P}.gh.tar.gz |
50 |
+" |
51 |
+S=${WORKDIR}/${MY_P}/python |
52 |
+ |
53 |
+LICENSE="Apache-2.0" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" |
56 |
+IUSE="test" |
57 |
+RESTRICT="!test? ( test )" |
58 |
+ |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/protobuf-python[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+DOCS=( ../README.md ) |
66 |
+ |
67 |
+python_test() { |
68 |
+ "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" |
69 |
+} |