1 |
commit: 1daaa053befadfcba84490ce5b1fbca61e7e7347 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 1 11:34:48 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 1 12:27:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1daaa053 |
7 |
|
8 |
dev-python/phonenumbers: Bump to 8.12.46 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/phonenumbers/Manifest | 1 + |
13 |
.../phonenumbers/phonenumbers-8.12.46.ebuild | 39 ++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest |
17 |
index e370ac89b2b5..348e5767290e 100644 |
18 |
--- a/dev-python/phonenumbers/Manifest |
19 |
+++ b/dev-python/phonenumbers/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-phonenumbers-8.12.45.gh.tar.gz 4898103 BLAKE2B e1102bd6f0911a7d1098fbe020f71b8ffb1020ff0acecc2f58383ecb538ba09b9fcbc3febd09ca8863093a6a017c74a9e834bea50c44c9b87bf775a4057825d4 SHA512 539170a363541a7bbf04d3448786d4ab4da2928eedef3d02ce0ba075e5b7c43a36d0e7071ad764026bac01e445da340756e6ef8cf484e39ea4f9d8e8897c6fa5 |
22 |
+DIST python-phonenumbers-8.12.46.gh.tar.gz 4898411 BLAKE2B f776e98f6cfb8178d7a87a5aa694eb19d997ad98ddc7edb4f01ef268189773a198d2a98568d2bdb8eea56115187dbeea610da9c59193ec6930430fdf76f7bb7c SHA512 0a73fd1577de51be86bd01893c97de0f0e1c555d85f3827367d5afee96c88b7c2187b2ae65a433e0a381835c0abd4e7af1aab27a24bdd0e0b973c812a9e77e7d |
23 |
|
24 |
diff --git a/dev-python/phonenumbers/phonenumbers-8.12.46.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.46.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..3b1d20a349fc |
27 |
--- /dev/null |
28 |
+++ b/dev-python/phonenumbers/phonenumbers-8.12.46.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 ~riscv ~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 |
+} |