summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-02-09 20:21:36 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-02-09 20:45:10 +0200
commita06d76f7eaf7a27428996eef9fcc6642db63f771 (patch)
treed0b8f31c1d204206c739b75f69a61337db6a076f /dev-python/phonenumbers
parentdev-python/Nuitka: add 2.0.2 (diff)
downloadgentoo-a06d76f7eaf7a27428996eef9fcc6642db63f771.tar.gz
gentoo-a06d76f7eaf7a27428996eef9fcc6642db63f771.tar.bz2
gentoo-a06d76f7eaf7a27428996eef9fcc6642db63f771.zip
dev-python/phonenumbers: add 8.13.30
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/phonenumbers')
-rw-r--r--dev-python/phonenumbers/Manifest1
-rw-r--r--dev-python/phonenumbers/phonenumbers-8.13.30.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index dee403681fa6..322f999c96f7 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,2 +1,3 @@
DIST python-phonenumbers-8.13.28.gh.tar.gz 4914842 BLAKE2B 1ea137e877351b8730a29d3ae79ca1cdb6cb1ae3f7fac8b68b4fe7704da170bd0c8df2819f8a011d4b09461064e2d482417f091f461a9939b7c16317d0634eba SHA512 07d46b7fe09386d03bef2c655b5517aea047db0c3d79f1a93352e538d449facba915436ccdd5ff60042e7b24a75e6999dcd440ba15fdadbf87cf89b5f5c6939e
DIST python-phonenumbers-8.13.29.gh.tar.gz 4914849 BLAKE2B 0a9cc4dd44a32bd2e48dca839427c5e95ef5a39b3e2337c17223dcaec1e5cdfb2e3533bb89ec2a1ac0b462699f7a937f9c2df7d6fae8a9f1b1f3c4f50c3f4dd9 SHA512 d456be2c95a6b0414370b418280977ff50a0c6b4e55680c30026b959d8c1db633a6f456246a8c3e01ab59b5f218960229834737ae06724998ef8c2052266344d
+DIST python-phonenumbers-8.13.30.gh.tar.gz 4915529 BLAKE2B 539928d8f748919b28c876cfca7d800e36e99887dca3a730fffd5bd7a96bb1138291b242f075caecb4e2c38d6a8cd4d63f342a1006deab605179e7825f6a6b38 SHA512 6aedb4a117453dcba2b215a90c25fdc8bb309e74b644746b51b2c41b559b4d778a6b115a5fb69e8d95d7ea6148ef5a92ddef6f97ebbbd99d2a02a7480c7053f2
diff --git a/dev-python/phonenumbers/phonenumbers-8.13.30.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.30.ebuild
new file mode 100644
index 000000000000..2fc9bdbaa7c9
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.30.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}"
+}