diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-01 13:34:48 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-01 14:27:26 +0200 |
commit | 1daaa053befadfcba84490ce5b1fbca61e7e7347 (patch) | |
tree | 2535fed44164d564ea640890758367e062ed292f /dev-python/phonenumbers | |
parent | dev-python/pdm-pep517: Remove old (diff) | |
download | gentoo-1daaa053befadfcba84490ce5b1fbca61e7e7347.tar.gz gentoo-1daaa053befadfcba84490ce5b1fbca61e7e7347.tar.bz2 gentoo-1daaa053befadfcba84490ce5b1fbca61e7e7347.zip |
dev-python/phonenumbers: Bump to 8.12.46
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.12.46.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index e370ac89b2b5..348e5767290e 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1 +1,2 @@ DIST python-phonenumbers-8.12.45.gh.tar.gz 4898103 BLAKE2B e1102bd6f0911a7d1098fbe020f71b8ffb1020ff0acecc2f58383ecb538ba09b9fcbc3febd09ca8863093a6a017c74a9e834bea50c44c9b87bf775a4057825d4 SHA512 539170a363541a7bbf04d3448786d4ab4da2928eedef3d02ce0ba075e5b7c43a36d0e7071ad764026bac01e445da340756e6ef8cf484e39ea4f9d8e8897c6fa5 +DIST python-phonenumbers-8.12.46.gh.tar.gz 4898411 BLAKE2B f776e98f6cfb8178d7a87a5aa694eb19d997ad98ddc7edb4f01ef268189773a198d2a98568d2bdb8eea56115187dbeea610da9c59193ec6930430fdf76f7bb7c SHA512 0a73fd1577de51be86bd01893c97de0f0e1c555d85f3827367d5afee96c88b7c2187b2ae65a433e0a381835c0abd4e7af1aab27a24bdd0e0b973c812a9e77e7d diff --git a/dev-python/phonenumbers/phonenumbers-8.12.46.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.46.ebuild new file mode 100644 index 000000000000..3b1d20a349fc --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.12.46.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 ~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}" +} |