From 801ae3d83efec71ff3588e0e89945e80f5b6c0cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 25 Feb 2022 08:40:36 +0100 Subject: [PATCH] dev-python/phonenumbers: Bump to 8.12.44 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.12.44.ebuild | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-python/phonenumbers/phonenumbers-8.12.44.ebuild diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 67d003c0b568c..38cbd0169745a 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1 +1,2 @@ DIST phonenumbers-8.12.43.tar.gz 2270278 BLAKE2B 7cae8ad1180231b7a3f6a852563fe8a4e3c515d72e3b969fe37412714cd4e36cb61b96d779b1ee2e8610e648342d6dd9f743b1a049ee7889bf592292641aead3 SHA512 bc0dbfb78f490b70215c33b284761cd0a88183fb51a602359913617f512579862d5b216d2899bc19a143e3a1d9fd16163e5c54bfaded1fe59ba1158b3e7e68a6 +DIST python-phonenumbers-8.12.44.gh.tar.gz 4897962 BLAKE2B 27deab5c717dfc4aa697d2bb4b764fb933101cfd6ad8b9cf573cd6b9027556cabf6d471decadff5dd317ff3fdffc8346b2ee72ea6c48505dc9bb9410c13fe393 SHA512 e3531cf9895bbb40c7444743ec2896fa2df0c4282bbfe085e51afaac5c6b0a76d6245ee899409f72bcbef64ce757aff0db4c9edc399ac0138a03ad1a6580bab1 diff --git a/dev-python/phonenumbers/phonenumbers-8.12.44.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.44.ebuild new file mode 100644 index 0000000000000..46dbfb8b29a05 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.12.44.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..10} ) + +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 ~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}" +}