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.48.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 9a0396c196f2..61c9c8387836 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,3 +1,5 @@ DIST python-phonenumbers-8.13.47.gh.tar.gz 4913983 BLAKE2B adf167f95ec4817c3adf92ffe4e0e2eab3ff99ce572023d47adc88b03e29414721ed6ed22f4029fb9e56d4f8cf8c5d9cf65e59209c6a4e5ae41e89d24df509e5 SHA512 a25ce93f79f7ec17b4dd3334b3912c8311c8ad0196e91f554c59b2f12b85f2c5936ec280bb2a5048c9ea8e274cdc632e42566153d87992db3601ddb8f93a0eaf +DIST python-phonenumbers-8.13.48.gh.tar.gz 4914013 BLAKE2B 7b279251fd369bbb5909a6b89fd856d4f4e3fca9c28b5e4e250f1a32734f1ae6071ed9304b64c9a66183d5ec8266c3b7c6bd129b15bc9a9c43fadfff93bc110b SHA512 d0c55c3058086b609aef81e316857f2dea7f65e6bbcdd06fcc58783c024252ba35796b79e92d1e9a888ec4b7c1ef6c221a1a07f09867ea5415f369be40453704 EBUILD phonenumbers-8.13.47.ebuild 816 BLAKE2B f6c2960a4435c0de44a1a1ab02278402f914bc58d8795b83b527003bb116ffeef3711a02c7d00e48999f924cb7426f0e657d5b1aa930cde98be4d273312d3223 SHA512 36a31a824519dd72fcedf797fa0164ff06d57429f46c1bd7c6d4d7de3d2614974319267d9cd5f44475180fc16fc3800417c931e19c0926ee120235d884eadda0 +EBUILD phonenumbers-8.13.48.ebuild 818 BLAKE2B 52157818a6a593c18dae9039574a974275876cee7dd286fa069e0014213f2c79bc748601d48f83b9f26c2a88319033375b987885fbfa6e664ceb674c6a36ce23 SHA512 4bd185fd81d09f95142678bc08d2f124877c09af6f58ad83115569437c2fa3e6d90b4ef7fa151bd6d5e2cb464a90dc0392bbc228e6aa9fa3a42952d570872ff2 MISC metadata.xml 413 BLAKE2B 4fa9965e76205ab35de37314b8c06fae26ccf34a944401e672487d7ad42b0046b4de85c8dd4c500d2703b5ecca49755b3f6d9047a20d7226fdbdf63e0aca3220 SHA512 de88d4162ba8f97748a1d2a17a8bea48f59b84f67c76aec11a9bad8ab0d0b66bc9cc2395dfff446bbad591f52f755a38ccd0daf2480b4f2e22e80ce5d44a42c1 diff --git a/dev-python/phonenumbers/phonenumbers-8.13.48.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.48.ebuild new file mode 100644 index 000000000000..43eeff396e3d --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.48.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 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[${PYTHON_USEDEP}] + ) +" + +DOCS=( ../README.md ) + +python_test() { + "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" +} |