Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/phonenumbers/
Date: Fri, 19 Aug 2022 19:13:12
Message-Id: 1660936377.0ed8adc452a2b329b10c5e40080bea5118379d1f.arthurzam@gentoo
1 commit: 0ed8adc452a2b329b10c5e40080bea5118379d1f
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 19 18:58:15 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 19 19:12:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ed8adc4
7
8 dev-python/phonenumbers: add 8.12.54
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/phonenumbers/Manifest | 1 +
13 .../phonenumbers/phonenumbers-8.12.54.ebuild | 39 ++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
17 index 8e72a74acefb..daf35a4de584 100644
18 --- a/dev-python/phonenumbers/Manifest
19 +++ b/dev-python/phonenumbers/Manifest
20 @@ -1,2 +1,3 @@
21 DIST python-phonenumbers-8.12.52.gh.tar.gz 4904385 BLAKE2B c063fee535e3d1dd30844ea7a974601962fb8fd6b56608046e0c488e638624456020100b2b775f979f770ea1690bda38044d4f7457341d1261132f4323a6de86 SHA512 638ec8e09d58adc5131e855a9436b45f1f0252c084638a13130df793d5357fc249e695668e2cce4902a534300c4683b64078e08620fdd2636857f6d328a45d82
22 DIST python-phonenumbers-8.12.53.gh.tar.gz 4904940 BLAKE2B c8da67f781c71265faa4d24e5cadf7d2c4e707de6f6fc2efae37f0b846cafd6c00814188c2d89d98ec0fb7dbeef9fedc45dc908adf117643bc2b2a0ab56a4496 SHA512 aa699e5df1b612bbcf384e01b80251099872e67fd5632dab35e53861ab6b28157266ac0a1700f4371a0a2975f0484256fb46b6287b87dc8e69aca85323475490
23 +DIST python-phonenumbers-8.12.54.gh.tar.gz 4905001 BLAKE2B 5fc206b3dd5f5cc96ecfc91b33369fb12d8a11245f846039478bf77f9dbc8e1bfe0e169eb6f1c360ac2a730f79b512178b115f82434790baeb3b2d26d5eaa370 SHA512 0da4f3ffa57f0c2ddaf843eea1440b33844be7ee45122a21d00b5630b720eac059777dca2051e00baf39158737478d5077f97ec6b9293528b11a9844294a621c
24
25 diff --git a/dev-python/phonenumbers/phonenumbers-8.12.54.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.54.ebuild
26 new file mode 100644
27 index 000000000000..baab22b23fc7
28 --- /dev/null
29 +++ b/dev-python/phonenumbers/phonenumbers-8.12.54.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +MY_P=python-${P}
42 +DESCRIPTION="Python port of Google's libphonenumber"
43 +HOMEPAGE="
44 + https://github.com/daviddrysdale/python-phonenumbers/
45 + https://pypi.org/project/phonenumbers/
46 +"
47 +SRC_URI="
48 + https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz
49 + -> ${MY_P}.gh.tar.gz
50 +"
51 +S=${WORKDIR}/${MY_P}/python
52 +
53 +LICENSE="Apache-2.0"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
56 +IUSE="test"
57 +RESTRICT="!test? ( test )"
58 +
59 +BDEPEND="
60 + test? (
61 + dev-python/protobuf-python[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +DOCS=( ../README.md )
66 +
67 +python_test() {
68 + "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}"
69 +}