summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-08 15:31:28 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-08 17:54:48 +0100
commitb1c8b1c1ac756eed02b124238b92666e936e8a57 (patch)
tree7ffdb24ea5f15030e9c5fef3f43119a794552ccf
parentdev-python/nuitka: Bump to 1.2.6 (diff)
downloadgentoo-b1c8b1c1ac756eed02b124238b92666e936e8a57.tar.gz
gentoo-b1c8b1c1ac756eed02b124238b92666e936e8a57.tar.bz2
gentoo-b1c8b1c1ac756eed02b124238b92666e936e8a57.zip
dev-python/phonenumbers: Bump to 8.13.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/phonenumbers/Manifest1
-rw-r--r--dev-python/phonenumbers/phonenumbers-8.13.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 44531bb51ca4..54ea4e0ef40e 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,3 +1,4 @@
DIST python-phonenumbers-8.12.57.gh.tar.gz 4906700 BLAKE2B b755e6e27c3006ce2b72f8e8900937ac2b7d2bd464052cd9a788ba5cdbd08ead4628963ea794a5dee962531753f6674342a3eed092edfb421c1d8f203d90b2b3 SHA512 8da340dd88c4bd41fd18af264667211e7d9dea97dcb71306c901feb3f32ee7a7012dfa1a66b8ddac746ceaab972529c32d9fc19e331893296f9938c7249173ba
DIST python-phonenumbers-8.13.0.gh.tar.gz 4907144 BLAKE2B 8441eb3bae743c92aacd581c0dfbea32d04353dbb6e45a3fd24ed4b9ef2e6a80ee70167b59ad288383cf409bdad73ed9bded6c991b7809d6ff2bbcc68519aab3 SHA512 1f8e78b3fa1418dec1cc89c02a7e8544847f343912be99d2b62aa49250aa0d89d67d27f0f9c40481ef6125872be7cc772de25bdd9ce26df512e7715f4f8281f2
DIST python-phonenumbers-8.13.1.gh.tar.gz 4906086 BLAKE2B 3287df69f8246d241ee41b7fb71e1d49ed6393715a1bed31a60755e170c74f8a88c4b5a2dfe4dd87fa7e8049cefb930d33fe0821bff34745e18402bcc8a1e424 SHA512 2a3d7ac670db1f20a6409a705f654b7802266d9bc4f562b50beace67bc6af188b685159192c73078009fae787ad5de6bb191a8695d1c1626e2fd564f01c55592
+DIST python-phonenumbers-8.13.2.gh.tar.gz 4906335 BLAKE2B 720489d11d10a8277557688040f7b893ecdffba9269ea78d61f3612d0d3ad87cb1eeae04a113e16bc222c2eefc0f792357d06e83faec527ad990695aa25e3946 SHA512 30a668214e9b6f4fdc50fe604ebaa566a90a93c3bcbad0626c5f834dbc2127e3a38897ab60bf89090118bfadef92538508e7636c370b8069a4d46522df628fea
diff --git a/dev-python/phonenumbers/phonenumbers-8.13.2.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.2.ebuild
new file mode 100644
index 000000000000..b1bff4a095e7
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+MY_P=python-${P}
+DESCRIPTION="Python port of Google's libphonenumber"
+HOMEPAGE="
+ https://github.com/daviddrysdale/python-phonenumbers/
+ https://pypi.org/project/phonenumbers/
+"
+SRC_URI="
+ https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}/python
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( ../README.md )
+
+python_test() {
+ "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}"
+}