diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-02 05:54:32 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-02 06:46:56 +0200 |
commit | 998051d7888afb83f7e42e0f90a6cd459d864b65 (patch) | |
tree | a18c24fa9dcaca05ffc6c0ff5162e13beed37921 /dev-python/phonenumbers | |
parent | dev-python/nbclient: Bump to 0.6.6 (diff) | |
download | gentoo-998051d7888afb83f7e42e0f90a6cd459d864b65.tar.gz gentoo-998051d7888afb83f7e42e0f90a6cd459d864b65.tar.bz2 gentoo-998051d7888afb83f7e42e0f90a6cd459d864b65.zip |
dev-python/phonenumbers: Bump to 8.12.51
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.51.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 8e87b1c7e1e7..7f6bacefa2b2 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,2 +1,3 @@ DIST python-phonenumbers-8.12.49.gh.tar.gz 4904202 BLAKE2B 20974162d5a8668c1d15021de71795983c4eda1f3afc931822b3593c80249481bcb4ea9f8b80066a71f7f2821284534991d3307eddea0e8f0270e75eced0573e SHA512 0504a84b3a6047c7ca4bc1667a0418d60c7f43052911751572820e7f4e40b430b8847e4c8f6e4d88dd7a2684b5ad8de2dfda8891d81fd8e1af1c595be152f9fc DIST python-phonenumbers-8.12.50.gh.tar.gz 4904755 BLAKE2B 60353aa081e4d4d0909302a97a45a89c1f94aac323a6a68fd93cd67146090189d0901b947c40e80e54e1718ce4a45c4a83d2799701ff1323666e82570174d358 SHA512 7a4406626d04a85e010036ceca20430a2562939ad8e7e2651afd65f0d5eb26feb1fbbe0c11f081ab58a9ab8bd81da2ccc153ad22f12eb8135b4f604077b5b29d +DIST python-phonenumbers-8.12.51.gh.tar.gz 4903034 BLAKE2B 6d97e25c3601f817ad51eb8dac550fec4a13799dd9321235c9105386ca2a1ab3a7fa6403f31643197a5a2f162be50edf6b3705c8947098f2d9ff744f6af1dab6 SHA512 80f5ad4356e31bc505c929a8bb9b577ed1571b9173e7f8faebe972f62c16f5a5d764eab5e3bd8aa939faae2c4ebbe2b0fa11a5f2e6fe334be98148a68881c912 diff --git a/dev-python/phonenumbers/phonenumbers-8.12.51.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.51.ebuild new file mode 100644 index 000000000000..3b1d20a349fc --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.12.51.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}" +} |