commit: fd1f3b3777ab09d0ff77d71654258df5a5329ce3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 03:10:05 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 03:20:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1f3b37
dev-python/phonenumbers: Bump to 8.13.50
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/phonenumbers/Manifest | 1 +
.../phonenumbers/phonenumbers-8.13.50.ebuild | 39 ++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index e358a732ba5f..ff70f3fb503a 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1 +1,2 @@
DIST python-phonenumbers-8.13.49.gh.tar.gz 4914069 BLAKE2B
b4759021af0195af48a6b556df9d69d1aaf9fc5501d375b28b0bc61b0c5b249c5216670f24b239b52cb6c9baf1843026ce607d5e41222ad83079a49522c4d911
SHA512
a20a743e7cc82cf0d04676d19843886c74bb6d78355a40fe2eac110d463e2c6a6855a7924083c60201560c95d318c473b2728f1b1206c5874214d010bf232d3f
+DIST python-phonenumbers-8.13.50.gh.tar.gz 4915727 BLAKE2B
be1eff822b2a9d8e3f3d67edbd11536efc4988611c2f5e771aac20345e71d31dd90052ab84946d0e1f9c2dc627e2cd9c0fd37389e8985ca4656526d25595e3db
SHA512
bdbb898ae3599b569e4f383d0a880c5e617f69c086a4271f5fdf48b5d4aab4793cdc27336e82ba66466ff8c08e263866bc64059107cb6aab05a8b5320d00c969
diff --git a/dev-python/phonenumbers/phonenumbers-8.13.50.ebuild
b/dev-python/phonenumbers/phonenumbers-8.13.50.ebuild
new file mode 100644
index 000000000000..f87c156d207f
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.50.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..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}"
+}