commit:     8a4b065bca9fd3b8290f2bb68f824e6473c46200
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 29 18:16:40 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 29 19:05:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a4b065b

dev-python/phonenumbers: add 8.13.22

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

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

diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 64cd2a8d10a8..f58ace486382 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1 +1,2 @@
 DIST python-phonenumbers-8.13.21.gh.tar.gz 4916054 BLAKE2B 
0086fe789f427140cf8178c4988b9928f4d7e361be9d270d0788470dcc17bde6797dec1e3fd05116a93383034d895c9d0f0c7a3254e55c4c9afca5e10714f2c2
 SHA512 
9b3d80dc2cc864612d86ecf40488fff802f9a9ac4899cb70429515510bdeb728d846ecd0afd0dc284099d8a4b7f3c81a5fd94081cbb691f4aa6d4d9c85aa4319
+DIST python-phonenumbers-8.13.22.gh.tar.gz 4915808 BLAKE2B 
78a9ad733d2c2d223264c3559a7cabbc94a3b49061a0b7b944d104d774edf91733677a5bc58040e618de52d41320bc2602a532eaa679f29adff38ad4f3d17426
 SHA512 
1554a0da082b261a50b3cb0cb6773c8815291664e3c7777e3ebce7fb7293d1cd41f03400a86198bf28e31716fb346a1f79a4d84e7371d21eebb3b5a64307f67a

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