commit:     56bf2d933b9a779931b135a7c021dee6de517983
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May  4 04:52:49 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May  4 04:59:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56bf2d93

dev-python/phonenumbers: Bump to 8.13.36

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

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

diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 596d345c9667..5ef918b0b776 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,2 +1,3 @@
 DIST python-phonenumbers-8.13.34.gh.tar.gz 4915435 BLAKE2B 
9b3addd5553f71a0e47f7bfdc5228155a2bb803b8e7e6a81349ee6445fcf0d57018875745049f7d2a1f30a82359fe9211affe17b00496eba06facd2ee82f6a95
 SHA512 
3d7443562fd0f2c2a49edaca78cfdc7aab42d77906826c53eb3b7e4766753242ba4ef9db6e1a6ee5f7d00e169336546069d2932ca0a907622e302e2ea09d46e9
 DIST python-phonenumbers-8.13.35.gh.tar.gz 4915497 BLAKE2B 
3e867bbf4234d82ec13ad9d246cc0f9821bb08ad65595c34513769a1e49b042625a03283e586c868a3a2d54319570d5949ba0890f0c9d9fce8ef3a6ee91bd832
 SHA512 
c80eeef158fd0a6efa38f3e0c8ed347406b17b71db47bfcb7cda09faf4baa688c0f92fdb578c68ad3bb03684763e3522bf537faabb68d2f50c462c01305e474e
+DIST python-phonenumbers-8.13.36.gh.tar.gz 4915552 BLAKE2B 
f9948876d363bba6f4a06411b809235a99003ed3a984681fc359cac05e0692e0521888221770bdbcda21c748c1401109820d01fd84854fc81501475b425ebd49
 SHA512 
4c82e6ce5fb1691cb1b843914d55c52e1d7bf0b4590354df7df5895eb5a410e8efcb986c9e960f542a08311a8ae7f4d400c9d4a9564a229443f34c05b4c505f1

diff --git a/dev-python/phonenumbers/phonenumbers-8.13.36.ebuild 
b/dev-python/phonenumbers/phonenumbers-8.13.36.ebuild
new file mode 100644
index 000000000000..2fc9bdbaa7c9
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.36.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}"
+}

Reply via email to