summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-30 08:03:57 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-30 08:10:04 +0100
commitf4dd51eae21fe3e85488eeba2876f43c7383ec46 (patch)
tree36bb4c4470818d1dad83294f955275b46568106a /dev-python/phonenumbers
parentdev-python/mkdocs-material: Bump to 9.0.8 (diff)
downloadgentoo-f4dd51eae21fe3e85488eeba2876f43c7383ec46.tar.gz
gentoo-f4dd51eae21fe3e85488eeba2876f43c7383ec46.tar.bz2
gentoo-f4dd51eae21fe3e85488eeba2876f43c7383ec46.zip
dev-python/phonenumbers: Bump to 8.13.5
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.5.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 9263f3a2618f..a88fe98cd22e 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,2 +1,3 @@
DIST python-phonenumbers-8.13.3.gh.tar.gz 4906633 BLAKE2B 320f4caa2feb5c5884cc519de8d9caebb7bbfeb656e060f84aac25f0561b042498a14fff237be404b47b5242f57afb705e4bc91f0c33d5f951a88b3de614d16a SHA512 f0aceacc52a5155757c5b2542a3e67ad78bf5b8ef2a24493e62b850ac2a0c260e21e63067252e698047a4969a5966bd602c8920457b62a20d8911badca200a0a
DIST python-phonenumbers-8.13.4.gh.tar.gz 4906855 BLAKE2B 3949376b44ecf5ed7fb13148c557c7ac376b14dc826baf9249a449fe2a966aff660bb4cb53b5922573d55af2593ec549577b663cb1125849a8ce9bc1961dd62d SHA512 d484949088991839a304d816f400dbfbeef8cdac9616c30ce7c2564ddc7cacfed4f2babd625da465ac5c45f76e3bc0a05812b9f63a26a3d520e84ec9ed628672
+DIST python-phonenumbers-8.13.5.gh.tar.gz 4906658 BLAKE2B 94def8c031ff070f30d9509a9a138d57ac9240b8545aa5136b29f82c862b959120b7b08fd449097173e0687b5ab221e5e7b783f40b30643194cd0f1009479f95 SHA512 132041160c8ed981a69efd25c5ab9bf88d5974aedc5e3bd3e31dfb751aa6909a5ebf363bb52230d453b68f740b4c6d05289ad249dc70b8ab604d4df699b4bf47
diff --git a/dev-python/phonenumbers/phonenumbers-8.13.5.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.5.ebuild
new file mode 100644
index 000000000000..20fb3f38daee
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.5.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}"
+}