commit:     5b7fb81852d0e47c662189dcababf45a2074b5c7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 03:25:47 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 03:43:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b7fb818

dev-python/phonenumbers: Bump to 8.13.28

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

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

diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index cde89ab78bba..2752e9e3483e 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1 +1,2 @@
 DIST python-phonenumbers-8.13.27.gh.tar.gz 4915760 BLAKE2B 
1a46d8b878ca9529bece2bf1144baf7800f2d52a2b613d27d2d6dd3f16a94fb6655fc892b9e305f4926674e20a3221e891a10b683ec009dd3b57a6e31da38136
 SHA512 
a057a7925611a25f1d100e2d32b16b76fb14880e91bc166a78ece18c0af2089f8dd0dbed66751f454040072b516c795dc60f42659353b4cab4c6c39fc599352d
+DIST python-phonenumbers-8.13.28.gh.tar.gz 4914842 BLAKE2B 
1ea137e877351b8730a29d3ae79ca1cdb6cb1ae3f7fac8b68b4fe7704da170bd0c8df2819f8a011d4b09461064e2d482417f091f461a9939b7c16317d0634eba
 SHA512 
07d46b7fe09386d03bef2c655b5517aea047db0c3d79f1a93352e538d449facba915436ccdd5ff60042e7b24a75e6999dcd440ba15fdadbf87cf89b5f5c6939e

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