commit:     e338ce17125bb8276938efdb549c0796d2f919e0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 04:31:17 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 05:28:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e338ce17

dev-python/phonenumbers: Bump to 8.13.21

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

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

diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index dbb7dab0cc9e..2f9649a0936c 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,3 +1,4 @@
 DIST python-phonenumbers-8.13.18.gh.tar.gz 4914264 BLAKE2B 
1bd17f2f8f68e475fcea4f69357001bdb8230827551d33bfec8727d1a04c175c4066c094742d02ad0c610e1ba80b309c3aae17d45ae4f735e620f0abecb3a91b
 SHA512 
1656ce7ef9834f60c386fa3ca26fb9be81d4663ad29b007ddc64104d7678ea529cb2928b75df626076fc9859e36fb210147126fb634c328051d5321f9352c15e
 DIST python-phonenumbers-8.13.19.gh.tar.gz 4916068 BLAKE2B 
40833f41923968df4a35f4db70e2e90fc98e6c216adc38d39e1dfcf7fa3d2c244e948b533a37469822d4643819840314432cb2e46a7c96671140f897421ea969
 SHA512 
56396766c034b8e7955af2e6224b56c3ae68a74d19f8dcb7871b1d302571e6b7be5d18b093ded40f3815e454ce038022d2ac46bc69425db100b1e1b678064693
 DIST python-phonenumbers-8.13.20.gh.tar.gz 4916090 BLAKE2B 
53ca7e492218a160979ff2da29089bb2deabda0f92ce17404c96d13a9792c9ffe4308f1796450b45589ce75298aaa6580460ada3aa09c8a716e26e91671e53bb
 SHA512 
012c382b754691d16b772c4fb39577bd9ac9576e035fbacad9667b4963c4bdce45d3205625faea72aabae285ebb1b7ba48040e3c5e09bca3dc4752ce97feebeb
+DIST python-phonenumbers-8.13.21.gh.tar.gz 4916054 BLAKE2B 
0086fe789f427140cf8178c4988b9928f4d7e361be9d270d0788470dcc17bde6797dec1e3fd05116a93383034d895c9d0f0c7a3254e55c4c9afca5e10714f2c2
 SHA512 
9b3d80dc2cc864612d86ecf40488fff802f9a9ac4899cb70429515510bdeb728d846ecd0afd0dc284099d8a4b7f3c81a5fd94081cbb691f4aa6d4d9c85aa4319

diff --git a/dev-python/phonenumbers/phonenumbers-8.13.21.ebuild 
b/dev-python/phonenumbers/phonenumbers-8.13.21.ebuild
new file mode 100644
index 000000000000..e686a889cbea
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.21.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_{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 ~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