diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-25 09:38:31 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-25 09:39:05 +0300 |
commit | 8d74f0f5c8d93b66094d2babf87059f54de5d1f5 (patch) | |
tree | 672399d475c058fe70b0dc38cc2e815993f9a478 /dev-python/phonenumbers | |
parent | dev-python/dj-email-url: add 1.0.6 (diff) | |
download | gentoo-8d74f0f5c8d93b66094d2babf87059f54de5d1f5.tar.gz gentoo-8d74f0f5c8d93b66094d2babf87059f54de5d1f5.tar.bz2 gentoo-8d74f0f5c8d93b66094d2babf87059f54de5d1f5.zip |
dev-python/phonenumbers: add 8.12.56
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.56.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 5fb05833b4a4..05f6f609843d 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,2 +1,3 @@ DIST python-phonenumbers-8.12.54.gh.tar.gz 4905001 BLAKE2B 5fc206b3dd5f5cc96ecfc91b33369fb12d8a11245f846039478bf77f9dbc8e1bfe0e169eb6f1c360ac2a730f79b512178b115f82434790baeb3b2d26d5eaa370 SHA512 0da4f3ffa57f0c2ddaf843eea1440b33844be7ee45122a21d00b5630b720eac059777dca2051e00baf39158737478d5077f97ec6b9293528b11a9844294a621c DIST python-phonenumbers-8.12.55.gh.tar.gz 4905987 BLAKE2B 3c05fbe261f9c347bdccb9e664f0005f3f67120df5a494b105780ac5f00a407289bd6be6bbaefbf843937193b760b772e1d8c298a6676770f97d7e6a3d16f25a SHA512 f1aaecd70d761aaa2b6b53d5dc03624f1a64cfb8733b2ac3260bb295be527238755659b55b5d79b6a49a06c56616517afb2cd56b3f39f5eba8dcc27b61e4a6b5 +DIST python-phonenumbers-8.12.56.gh.tar.gz 4906531 BLAKE2B d55d828a26bc3a86660b6341c9577de6f489d3511971c5a843f10c14c05f0c82340109f13cc86c261119d6598ade95c2c3c9afdea485b09f3f73be891ee2a16e SHA512 675cf8d15536efd156a230cff9e027cdba718a32ca2facb493b235f39dc1a0c86f6a376d3d501690b25a5e52d6d411309626b8ecce9a065456e42774da04ea49 diff --git a/dev-python/phonenumbers/phonenumbers-8.12.56.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.56.ebuild new file mode 100644 index 000000000000..baab22b23fc7 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.12.56.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}" +} |