From 6857a3c5926d86da3d1a4cf3e42fe15cddc86f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 17 Jan 2025 04:59:16 +0100 Subject: [PATCH] dev-python/phonenumbers: Bump to 8.13.53 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/phonenumbers/Manifest | 1 + .../phonenumbers/phonenumbers-8.13.53.ebuild | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-python/phonenumbers/phonenumbers-8.13.53.ebuild diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index fc24c92279876..23da5981d1c2b 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1 +1,2 @@ DIST python-phonenumbers-8.13.52.gh.tar.gz 4916262 BLAKE2B 51267704170ca614f93f8dee5cc1bbe3a8ef833e3aaf7d9ba48e9715eb1f37a7742f942c3bfb543f140d9c08d83006fc698c34fa3264a3b9e9d626bf741b586b SHA512 ac2fa94cffeabc18197a2ca0e2e5ac62f4584e417fb1bee0d52eaeec71d7ce5f1d12722f0f5a48b7d2ff89cfb394f49ec02006a7e8247bb20b2375d0a617132c +DIST python-phonenumbers-8.13.53.gh.tar.gz 4915816 BLAKE2B cdb981c096318c9b2132a9da1524702d022655c9c3061ddcfc23af17d89966c2e998913808ea3112621ea59f5f17c733290e158f027e9a153fe2893695160ba2 SHA512 b3c73c1b1a98e8c6b501f99dede4883b1e5f9e3c2764d45056f11365f5541a3d99c863180202c23b59a0cd18944c8d0ba9af249e803a6cf75377cb648c66ca2a diff --git a/dev-python/phonenumbers/phonenumbers-8.13.53.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.53.ebuild new file mode 100644 index 0000000000000..f254b819cb2eb --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.53.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 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}" +}