summaryrefslogtreecommitdiff
path: root/dev-python/phonenumbers
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/phonenumbers')
-rw-r--r--dev-python/phonenumbers/Manifest2
-rw-r--r--dev-python/phonenumbers/phonenumbers-8.13.39.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 6c9edfe20c6a..1edc430cf874 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,5 +1,7 @@
DIST python-phonenumbers-8.13.37.gh.tar.gz 4915690 BLAKE2B b0d325c5f5aca2bcfcc98bab4e5654f4cb21908b41c32b498543186e037b1f2d425ed265c1a3d2bec87fc8ae913257fc455169c91929bfbba3e44bcedffaf0dc SHA512 ac55e8cb2bad7e1e70afb13c49cdd1f73fc840cad6e10f4f9a6c817043729aaf3bdfddae0c9ab3d19f9d4de8cdff949c0bddd94de63e1c42e6c55e0445c69d6c
DIST python-phonenumbers-8.13.38.gh.tar.gz 4915409 BLAKE2B 26bf7179466468ed0b682c0928e1e3190885dc4bc5969c97be5f3ecbdc1a81640e42133ae52db69e277b74c35e2d62cbb45af421c557cfc31f5102bcf281aeb8 SHA512 9b929193b0667cf560e7cce86db844761de8dffeca2e244d91e42e9ad83dbc819cb33a738432f9f53761d0c241aa011a38fc14ae2265c6f351144107430360cb
+DIST python-phonenumbers-8.13.39.gh.tar.gz 4915365 BLAKE2B 998a45240717e3beedf3e319ce4e114062acd33129d916483041f6b51c410b2a058ef85236b3bf2db190100332fc39942b60615488366c08e54e296289d57a1a SHA512 a9de957e256d00fe7793646eaf0213ccbb452dbf89625e47e1ee47901014529cc48a30ef1cb48e2f929ae0083c89e584de149d9532691fb52c0ee44675234d74
EBUILD phonenumbers-8.13.37.ebuild 816 BLAKE2B 9a91edd2625fc7c277ba2897cb9d647aeee717ba6373697ab134e865b326990650b49bbaccc04ef442e326fea751b25c4dfedf4fefbedeaabdd83df64e551ebd SHA512 263c125e0c820cd1e0924e891444256676cf3e427b8f2ff1f0788584802c9cb55c496cd60619ea55cb7cb88a1ae5a7b7594057fc99f58b709b951a84203e5766
EBUILD phonenumbers-8.13.38.ebuild 818 BLAKE2B 9bf355913b9ee3be2b380dfa5f679c08da753ead0df156ede2bf5e6499699814a7cfa6e51988d987cd92f632b07d222fb9cf261a0eae7bef32d55ededef6e406 SHA512 8656a45bd6078afd23b7f511c8223b20e00df91e35324c8a8ad6bc43b73700ebdb3ad28b98c29338939bd1144f48a715eb4f36f616481fa002ba5d0bab22e17b
+EBUILD phonenumbers-8.13.39.ebuild 818 BLAKE2B 9bf355913b9ee3be2b380dfa5f679c08da753ead0df156ede2bf5e6499699814a7cfa6e51988d987cd92f632b07d222fb9cf261a0eae7bef32d55ededef6e406 SHA512 8656a45bd6078afd23b7f511c8223b20e00df91e35324c8a8ad6bc43b73700ebdb3ad28b98c29338939bd1144f48a715eb4f36f616481fa002ba5d0bab22e17b
MISC metadata.xml 413 BLAKE2B 4fa9965e76205ab35de37314b8c06fae26ccf34a944401e672487d7ad42b0046b4de85c8dd4c500d2703b5ecca49755b3f6d9047a20d7226fdbdf63e0aca3220 SHA512 de88d4162ba8f97748a1d2a17a8bea48f59b84f67c76aec11a9bad8ab0d0b66bc9cc2395dfff446bbad591f52f755a38ccd0daf2480b4f2e22e80ce5d44a42c1
diff --git a/dev-python/phonenumbers/phonenumbers-8.13.39.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.39.ebuild
new file mode 100644
index 000000000000..2fc9bdbaa7c9
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.39.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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 ~arm64 ~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}"
+}