1 |
commit: 31ce4331aeaf8be582b9ea849c6473481a644446 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 29 06:13:51 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 06:59:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31ce4331 |
7 |
|
8 |
dev-python/phonenumbers: Bump to 8.13.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/phonenumbers/Manifest | 1 + |
13 |
dev-python/phonenumbers/phonenumbers-8.13.1.ebuild | 39 ++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest |
17 |
index 5620091e7caa..44531bb51ca4 100644 |
18 |
--- a/dev-python/phonenumbers/Manifest |
19 |
+++ b/dev-python/phonenumbers/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST python-phonenumbers-8.12.57.gh.tar.gz 4906700 BLAKE2B b755e6e27c3006ce2b72f8e8900937ac2b7d2bd464052cd9a788ba5cdbd08ead4628963ea794a5dee962531753f6674342a3eed092edfb421c1d8f203d90b2b3 SHA512 8da340dd88c4bd41fd18af264667211e7d9dea97dcb71306c901feb3f32ee7a7012dfa1a66b8ddac746ceaab972529c32d9fc19e331893296f9938c7249173ba |
22 |
DIST python-phonenumbers-8.13.0.gh.tar.gz 4907144 BLAKE2B 8441eb3bae743c92aacd581c0dfbea32d04353dbb6e45a3fd24ed4b9ef2e6a80ee70167b59ad288383cf409bdad73ed9bded6c991b7809d6ff2bbcc68519aab3 SHA512 1f8e78b3fa1418dec1cc89c02a7e8544847f343912be99d2b62aa49250aa0d89d67d27f0f9c40481ef6125872be7cc772de25bdd9ce26df512e7715f4f8281f2 |
23 |
+DIST python-phonenumbers-8.13.1.gh.tar.gz 4906086 BLAKE2B 3287df69f8246d241ee41b7fb71e1d49ed6393715a1bed31a60755e170c74f8a88c4b5a2dfe4dd87fa7e8049cefb930d33fe0821bff34745e18402bcc8a1e424 SHA512 2a3d7ac670db1f20a6409a705f654b7802266d9bc4f562b50beace67bc6af188b685159192c73078009fae787ad5de6bb191a8695d1c1626e2fd564f01c55592 |
24 |
|
25 |
diff --git a/dev-python/phonenumbers/phonenumbers-8.13.1.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..b1bff4a095e7 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/phonenumbers/phonenumbers-8.13.1.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..11} ) |
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 |
+} |