diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-04 19:59:28 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-04 20:54:55 +0300 |
commit | 8dfa9f8c80d14f99981cfc775ad3fe3a15426aa5 (patch) | |
tree | d1cb801412b4a6340ba80dafb1b70015b45b1e05 /dev-python/phonenumbers | |
parent | dev-python/tifffile: add 2022.8.3 (diff) | |
download | gentoo-8dfa9f8c80d14f99981cfc775ad3fe3a15426aa5.tar.gz gentoo-8dfa9f8c80d14f99981cfc775ad3fe3a15426aa5.tar.bz2 gentoo-8dfa9f8c80d14f99981cfc775ad3fe3a15426aa5.zip |
dev-python/phonenumbers: add 8.12.53
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/phonenumbers')
-rw-r--r-- | dev-python/phonenumbers/Manifest | 1 | ||||
-rw-r--r-- | dev-python/phonenumbers/phonenumbers-8.12.53.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index a9ae59fdc9c8..8e72a74acefb 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1 +1,2 @@ DIST python-phonenumbers-8.12.52.gh.tar.gz 4904385 BLAKE2B c063fee535e3d1dd30844ea7a974601962fb8fd6b56608046e0c488e638624456020100b2b775f979f770ea1690bda38044d4f7457341d1261132f4323a6de86 SHA512 638ec8e09d58adc5131e855a9436b45f1f0252c084638a13130df793d5357fc249e695668e2cce4902a534300c4683b64078e08620fdd2636857f6d328a45d82 +DIST python-phonenumbers-8.12.53.gh.tar.gz 4904940 BLAKE2B c8da67f781c71265faa4d24e5cadf7d2c4e707de6f6fc2efae37f0b846cafd6c00814188c2d89d98ec0fb7dbeef9fedc45dc908adf117643bc2b2a0ab56a4496 SHA512 aa699e5df1b612bbcf384e01b80251099872e67fd5632dab35e53861ab6b28157266ac0a1700f4371a0a2975f0484256fb46b6287b87dc8e69aca85323475490 diff --git a/dev-python/phonenumbers/phonenumbers-8.12.53.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.53.ebuild new file mode 100644 index 000000000000..baab22b23fc7 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.12.53.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 ~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}" +} |