summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-04 05:51:18 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-04 06:47:54 +0100
commitb4d26463f9e716733d0835707cd10962e72745f8 (patch)
tree2d521b4b2f781f977921ca1ef789358e462014e5 /dev-python/phonenumbers
parentsys-kernel/raspberrypi-sources: Stabilize 5.15.76_p20221104 arm, #899536 (diff)
downloadgentoo-b4d26463f9e716733d0835707cd10962e72745f8.tar.gz
gentoo-b4d26463f9e716733d0835707cd10962e72745f8.tar.bz2
gentoo-b4d26463f9e716733d0835707cd10962e72745f8.zip
dev-python/phonenumbers: Bump to 8.13.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/phonenumbers')
-rw-r--r--dev-python/phonenumbers/Manifest1
-rw-r--r--dev-python/phonenumbers/phonenumbers-8.13.7.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 649873ea5d01..852290131308 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1 +1,2 @@
DIST python-phonenumbers-8.13.6.gh.tar.gz 4906869 BLAKE2B b00fcd6085844a9465da15547f8b40ec741a350d24bb888a04dc5e7aee9b94ec1dae83a71548bc75b8cca29af3ee29cccdc5c49447c5b1bbf33a52db049835eb SHA512 7ca6b8872975fc2597b6ddb1b824feb05dd8819da1ac1f73b7ce831070210520700639dc44e1466e83d335453a5c70ed2fae6ae8100cb99f03f62961f38e6dd9
+DIST python-phonenumbers-8.13.7.gh.tar.gz 4909229 BLAKE2B c1984c774670528005231984dd12160ff2259e96a5baec61cf0b85a5444d5af1565fdbee9dd17b81994dc5f186e32faa660c11ba4c07681cc513c1595c28c4d4 SHA512 3987e31c0cc0a7c2234b6e8a04714a2a0e015623ff36e6475df7189488d54e15dd23375c65a1b8f131331b32642bd94295dcd43df994dc16c2aad0b0529fac73
diff --git a/dev-python/phonenumbers/phonenumbers-8.13.7.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.7.ebuild
new file mode 100644
index 000000000000..20fb3f38daee
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..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}"
+}