commit:     8bb344be39a4b40e1f6972507f25001e879adff8
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 23 07:02:48 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 23 07:30:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb344be

dev-python/phonenumbers: add 8.13.3

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 9a87eb4eb617..2897aa54371c 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,2 +1,3 @@
 DIST python-phonenumbers-8.13.1.gh.tar.gz 4906086 BLAKE2B 
3287df69f8246d241ee41b7fb71e1d49ed6393715a1bed31a60755e170c74f8a88c4b5a2dfe4dd87fa7e8049cefb930d33fe0821bff34745e18402bcc8a1e424
 SHA512 
2a3d7ac670db1f20a6409a705f654b7802266d9bc4f562b50beace67bc6af188b685159192c73078009fae787ad5de6bb191a8695d1c1626e2fd564f01c55592
 DIST python-phonenumbers-8.13.2.gh.tar.gz 4906335 BLAKE2B 
720489d11d10a8277557688040f7b893ecdffba9269ea78d61f3612d0d3ad87cb1eeae04a113e16bc222c2eefc0f792357d06e83faec527ad990695aa25e3946
 SHA512 
30a668214e9b6f4fdc50fe604ebaa566a90a93c3bcbad0626c5f834dbc2127e3a38897ab60bf89090118bfadef92538508e7636c370b8069a4d46522df628fea
+DIST python-phonenumbers-8.13.3.gh.tar.gz 4906633 BLAKE2B 
320f4caa2feb5c5884cc519de8d9caebb7bbfeb656e060f84aac25f0561b042498a14fff237be404b47b5242f57afb705e4bc91f0c33d5f951a88b3de614d16a
 SHA512 
f0aceacc52a5155757c5b2542a3e67ad78bf5b8ef2a24493e62b850ac2a0c260e21e63067252e698047a4969a5966bd602c8920457b62a20d8911badca200a0a

diff --git a/dev-python/phonenumbers/phonenumbers-8.13.3.ebuild 
b/dev-python/phonenumbers/phonenumbers-8.13.3.ebuild
new file mode 100644
index 000000000000..b1bff4a095e7
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+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