summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-21 22:26:10 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-21 22:48:10 +0200
commit250e74a382a03292632738357b56540678ccc0e4 (patch)
treeda5d1294065323478f6e4ccf3651693f23e28c9e /dev-python/phonenumbers
parentdev-python/fonttools: Bump to 4.33.0 (diff)
downloadgentoo-250e74a382a03292632738357b56540678ccc0e4.tar.gz
gentoo-250e74a382a03292632738357b56540678ccc0e4.tar.bz2
gentoo-250e74a382a03292632738357b56540678ccc0e4.zip
dev-python/phonenumbers: Bump to 8.12.47
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/phonenumbers')
-rw-r--r--dev-python/phonenumbers/Manifest1
-rw-r--r--dev-python/phonenumbers/phonenumbers-8.12.47.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 348e5767290e..8362395f3e18 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,2 +1,3 @@
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
+DIST python-phonenumbers-8.12.47.gh.tar.gz 4899215 BLAKE2B 102caf51e4cb01140b43273b13a8ce44f51a3617fb48261f81e9d125475e34eafc6d8163e2baef861d0057d5f4f7e683b2934d4a15144277b203d69b12473819 SHA512 a7c24e469cd50b60ec9eb96dee6ef1540d90b20260c6ff6bf2eb8c0e6bf9c1e759d718de052805bb285135e2bd4927c469e901c811580a1cb4d6223757784b16
diff --git a/dev-python/phonenumbers/phonenumbers-8.12.47.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.47.ebuild
new file mode 100644
index 000000000000..3b1d20a349fc
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.12.47.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}"
+}