summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-09 07:55:28 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-09 09:09:34 +0100
commitbf6f428d90f8ca9553c26961a7c64d4c62db996f (patch)
treebd28080c8e067c3ebff2e4eea5fb4341fcd4e926
parentsys-apps/sysvinit: stop downgrading FORTIFY_SOURCE (diff)
downloadgentoo-bf6f428d90f8ca9553c26961a7c64d4c62db996f.tar.gz
gentoo-bf6f428d90f8ca9553c26961a7c64d4c62db996f.tar.bz2
gentoo-bf6f428d90f8ca9553c26961a7c64d4c62db996f.zip
dev-python/phonenumbers: Bump to 8.13.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/phonenumbers/Manifest1
-rw-r--r--dev-python/phonenumbers/phonenumbers-8.13.4.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 0e537f502328..9263f3a2618f 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1 +1,2 @@
DIST python-phonenumbers-8.13.3.gh.tar.gz 4906633 BLAKE2B 320f4caa2feb5c5884cc519de8d9caebb7bbfeb656e060f84aac25f0561b042498a14fff237be404b47b5242f57afb705e4bc91f0c33d5f951a88b3de614d16a SHA512 f0aceacc52a5155757c5b2542a3e67ad78bf5b8ef2a24493e62b850ac2a0c260e21e63067252e698047a4969a5966bd602c8920457b62a20d8911badca200a0a
+DIST python-phonenumbers-8.13.4.gh.tar.gz 4906855 BLAKE2B 3949376b44ecf5ed7fb13148c557c7ac376b14dc826baf9249a449fe2a966aff660bb4cb53b5922573d55af2593ec549577b663cb1125849a8ce9bc1961dd62d SHA512 d484949088991839a304d816f400dbfbeef8cdac9616c30ce7c2564ddc7cacfed4f2babd625da465ac5c45f76e3bc0a05812b9f63a26a3d520e84ec9ed628672
diff --git a/dev-python/phonenumbers/phonenumbers-8.13.4.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.4.ebuild
new file mode 100644
index 000000000000..a594d3f64d0e
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+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}"
+}