diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-17 20:42:26 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-17 20:57:05 +0200 |
commit | 467bf9c80a33454fed2d65dd04600361e809f36e (patch) | |
tree | 1b43e020ded4c96e3cdaaed9393ee66bf4200512 /dev-python/phonenumbers | |
parent | dev-python/GitPython: Bump to 3.1.38 (diff) | |
download | gentoo-467bf9c80a33454fed2d65dd04600361e809f36e.tar.gz gentoo-467bf9c80a33454fed2d65dd04600361e809f36e.tar.bz2 gentoo-467bf9c80a33454fed2d65dd04600361e809f36e.zip |
dev-python/phonenumbers: Bump to 8.13.23
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/phonenumbers')
-rw-r--r-- | dev-python/phonenumbers/Manifest | 1 | ||||
-rw-r--r-- | dev-python/phonenumbers/phonenumbers-8.13.23.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index f58ace486382..79a6d017b99d 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,2 +1,3 @@ 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 +DIST python-phonenumbers-8.13.23.gh.tar.gz 4916269 BLAKE2B 5f7c14011abc78acdd9d7600ce1c50d2f79fca7f829ac8292a4284e62c14a5f8a1acdb7a9f8d66726065089145d2c22f732e6aa0a5349b4c64344e1de8da70fa SHA512 1ca346c9fd6ecd0bd8ae91c85a6be3d7fe7c0bc62f5677dd929e85563230847a8a6752679c3a2cbcce246f464b6422b71f78b3cfae1b454d95b9e41d6f384dcf diff --git a/dev-python/phonenumbers/phonenumbers-8.13.23.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.23.ebuild new file mode 100644 index 000000000000..e686a889cbea --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.23.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}" +} |