commit:     fdc96bd79a32296d3eadc726fce8d81c5a879f7f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  1 06:00:04 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb  1 06:06:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc96bd7

dev-python/phonenumbers: Bump to 8.13.54

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/phonenumbers/Manifest                   |  1 +
 .../phonenumbers/phonenumbers-8.13.54.ebuild       | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 23da5981d1c2..970dfeb8be79 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,2 +1,3 @@
 DIST python-phonenumbers-8.13.52.gh.tar.gz 4916262 BLAKE2B 
51267704170ca614f93f8dee5cc1bbe3a8ef833e3aaf7d9ba48e9715eb1f37a7742f942c3bfb543f140d9c08d83006fc698c34fa3264a3b9e9d626bf741b586b
 SHA512 
ac2fa94cffeabc18197a2ca0e2e5ac62f4584e417fb1bee0d52eaeec71d7ce5f1d12722f0f5a48b7d2ff89cfb394f49ec02006a7e8247bb20b2375d0a617132c
 DIST python-phonenumbers-8.13.53.gh.tar.gz 4915816 BLAKE2B 
cdb981c096318c9b2132a9da1524702d022655c9c3061ddcfc23af17d89966c2e998913808ea3112621ea59f5f17c733290e158f027e9a153fe2893695160ba2
 SHA512 
b3c73c1b1a98e8c6b501f99dede4883b1e5f9e3c2764d45056f11365f5541a3d99c863180202c23b59a0cd18944c8d0ba9af249e803a6cf75377cb648c66ca2a
+DIST python-phonenumbers-8.13.54.gh.tar.gz 4916422 BLAKE2B 
f6c8ce2a75a78283fab6519f1d454c8ff8254b6286f015e767cc20923ec78b7f94f0ebbcbd979afabf8cd9c36d6cbf7b73b9818cd1b2e2dc5781c9f195ed6ce0
 SHA512 
f6caf29dc5218f427e46e65cb0cf73ab51f505c3115e3266378f87e709e6e445010f569013d65bbf89d166aa3930d48775efef2134c73db73359bb7d1d1d1377

diff --git a/dev-python/phonenumbers/phonenumbers-8.13.54.ebuild 
b/dev-python/phonenumbers/phonenumbers-8.13.54.ebuild
new file mode 100644
index 000000000000..f254b819cb2e
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.54.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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_USEDEP}]
+       )
+"
+
+DOCS=( ../README.md )
+
+python_test() {
+       "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}"
+}

Reply via email to