1 |
commit: 212946a7043598b3c7952834b958b322244e789e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 7 08:07:13 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 7 09:33:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=212946a7 |
7 |
|
8 |
dev-python/phonenumbers: Bump to 8.12.48 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/phonenumbers/Manifest | 1 + |
13 |
.../phonenumbers/phonenumbers-8.12.48.ebuild | 39 ++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest |
17 |
index 9187181e8c82..f040f2636722 100644 |
18 |
--- a/dev-python/phonenumbers/Manifest |
19 |
+++ b/dev-python/phonenumbers/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-phonenumbers-8.12.47.gh.tar.gz 4899215 BLAKE2B 102caf51e4cb01140b43273b13a8ce44f51a3617fb48261f81e9d125475e34eafc6d8163e2baef861d0057d5f4f7e683b2934d4a15144277b203d69b12473819 SHA512 a7c24e469cd50b60ec9eb96dee6ef1540d90b20260c6ff6bf2eb8c0e6bf9c1e759d718de052805bb285135e2bd4927c469e901c811580a1cb4d6223757784b16 |
22 |
+DIST python-phonenumbers-8.12.48.gh.tar.gz 4899266 BLAKE2B 560af7966d06aaf116d2fcd3b0f7ecaddf9ce6d01b31f66461e54b9bf12fd724edb099352d5d7639491ad970ed94228deb1a648a3f7602b9a247cd97d4ec754c SHA512 d983ff0703c45517a3657f3beca63437a6d653ab34ee5124a6d7d2af31630472e985dfd28718b6730046460b7959d3733c39237fa861fe2c5ef30f5007e0eeae |
23 |
|
24 |
diff --git a/dev-python/phonenumbers/phonenumbers-8.12.48.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.48.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..3b1d20a349fc |
27 |
--- /dev/null |
28 |
+++ b/dev-python/phonenumbers/phonenumbers-8.12.48.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 |
+} |