diff options
Diffstat (limited to 'dev-python/phonenumbers')
-rw-r--r-- | dev-python/phonenumbers/Manifest | 2 | ||||
-rw-r--r-- | dev-python/phonenumbers/phonenumbers-8.13.13.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 30d366ccc299..0e7cb11cd97c 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,3 +1,5 @@ DIST python-phonenumbers-8.13.11.gh.tar.gz 4910723 BLAKE2B 270ded8f0c009feb0ffe70bdcec089f400d1ea18ae24e3837b8f3a659657b82fb5912577eba22cb7c28a297dcbb55d402213c576857c514eb08c241af8bc1e4e SHA512 688b5440538cd6d636b645474dff51e4ba9a080708e4d3a9bdd5560701a9effbb26b9a669c632917101ea2e27a6f2ebe1f468fc0a881625ef33a4e30885ae30b +DIST python-phonenumbers-8.13.13.gh.tar.gz 4912623 BLAKE2B 7b030b15861150564dbc640d3ee40f8db360b79427d5ca6ebd33ff350cde2505c592455722463e94a609b4487a6908b9a5359059b83a3a4fe4212483bbf9f2fe SHA512 fe2e2aae730b5df6f1b150d45b6e3cb5225327b653243fece186d22b1f4685d796f91c3dc462d3c2239d976b249d4756590f72c8ff4d007826e46b86f0acc36e EBUILD phonenumbers-8.13.11.ebuild 808 BLAKE2B 68bf5867fe33d7bf194dd170c9cb30dac10bc0886d9656936d691e046fc72025e8205214b14c350e95720de49876f376ee1a17965e3ae2f2aff592536a60af38 SHA512 720fe4917947d28d3c32a4ac9fb41d0c9be99bb213b9ed45e9dfff277d65a693cbe2b711f54856e7874254a742bca4ec7571c400eabbeb77f31a1af64bd93673 +EBUILD phonenumbers-8.13.13.ebuild 811 BLAKE2B 1d4dcc2dbe737922778bc641cc10c251ede9bc5326991c779ab1276a593e25d1063d89ceed33180eecfd4eab02aae129134795b79a753a3a41985b2450223a7c SHA512 f6a3c534c716e062039636dc3fe79b871ffefc567716d186346bc0655c0064c473c072e029142e0c4a9fea9f5fa833baea1aee2fa3a95af9a3a73e58cd8f3f83 MISC metadata.xml 413 BLAKE2B 4fa9965e76205ab35de37314b8c06fae26ccf34a944401e672487d7ad42b0046b4de85c8dd4c500d2703b5ecca49755b3f6d9047a20d7226fdbdf63e0aca3220 SHA512 de88d4162ba8f97748a1d2a17a8bea48f59b84f67c76aec11a9bad8ab0d0b66bc9cc2395dfff446bbad591f52f755a38ccd0daf2480b4f2e22e80ce5d44a42c1 diff --git a/dev-python/phonenumbers/phonenumbers-8.13.13.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.13.ebuild new file mode 100644 index 000000000000..61f15b7f6118 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.13.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..11} ) + +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}" +} |