1 |
commit: 801ae3d83efec71ff3588e0e89945e80f5b6c0cf |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 25 07:40:36 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 25 08:11:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801ae3d8 |
7 |
|
8 |
dev-python/phonenumbers: Bump to 8.12.44 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/phonenumbers/Manifest | 1 + |
13 |
.../phonenumbers/phonenumbers-8.12.44.ebuild | 39 ++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest |
17 |
index 67d003c0b568..38cbd0169745 100644 |
18 |
--- a/dev-python/phonenumbers/Manifest |
19 |
+++ b/dev-python/phonenumbers/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST phonenumbers-8.12.43.tar.gz 2270278 BLAKE2B 7cae8ad1180231b7a3f6a852563fe8a4e3c515d72e3b969fe37412714cd4e36cb61b96d779b1ee2e8610e648342d6dd9f743b1a049ee7889bf592292641aead3 SHA512 bc0dbfb78f490b70215c33b284761cd0a88183fb51a602359913617f512579862d5b216d2899bc19a143e3a1d9fd16163e5c54bfaded1fe59ba1158b3e7e68a6 |
22 |
+DIST python-phonenumbers-8.12.44.gh.tar.gz 4897962 BLAKE2B 27deab5c717dfc4aa697d2bb4b764fb933101cfd6ad8b9cf573cd6b9027556cabf6d471decadff5dd317ff3fdffc8346b2ee72ea6c48505dc9bb9410c13fe393 SHA512 e3531cf9895bbb40c7444743ec2896fa2df0c4282bbfe085e51afaac5c6b0a76d6245ee899409f72bcbef64ce757aff0db4c9edc399ac0138a03ad1a6580bab1 |
23 |
|
24 |
diff --git a/dev-python/phonenumbers/phonenumbers-8.12.44.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.44.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..46dbfb8b29a0 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/phonenumbers/phonenumbers-8.12.44.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_P=python-${P} |
41 |
+DESCRIPTION="Python port of Google's libphonenumber" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/daviddrysdale/python-phonenumbers/ |
44 |
+ https://pypi.org/project/phonenumbers/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz |
48 |
+ -> ${MY_P}.gh.tar.gz |
49 |
+" |
50 |
+S=${WORKDIR}/${MY_P}/python |
51 |
+ |
52 |
+LICENSE="Apache-2.0" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~x86" |
55 |
+IUSE="test" |
56 |
+RESTRICT="!test? ( test )" |
57 |
+ |
58 |
+BDEPEND=" |
59 |
+ test? ( |
60 |
+ dev-python/protobuf-python[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+DOCS=( ../README.md ) |
65 |
+ |
66 |
+python_test() { |
67 |
+ "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" |
68 |
+} |