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/proto-plus/
Date: Wed, 31 Aug 2022 18:21:44
Message-Id: 1661970011.d59ef3ea554ea175b3d4fab340b6492436977fa5.arthurzam@gentoo
1 commit: d59ef3ea554ea175b3d4fab340b6492436977fa5
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 18:20:11 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 18:20:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d59ef3ea
7
8 dev-python/proto-plus: add 1.22.1
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/proto-plus/Manifest | 1 +
13 dev-python/proto-plus/proto-plus-1.22.1.ebuild | 40 ++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/proto-plus/Manifest b/dev-python/proto-plus/Manifest
17 index 1e136ae5825c..9884bc44fdfa 100644
18 --- a/dev-python/proto-plus/Manifest
19 +++ b/dev-python/proto-plus/Manifest
20 @@ -1,2 +1,3 @@
21 DIST proto-plus-1.20.6.gh.tar.gz 67697 BLAKE2B 88fbf1086bc9430360316c89baaf6216d3f395792fbc2bf1336c22aeb4f912dedd5a4af73c5a10cf6536cdc4cf285c89d1d0a86afd4ee21c7e40b26d34631240 SHA512 5da41a8ddabb34a4083b622d60e59532cd7cb97e4fd243b796aded06ee0f6d9ba5ac847434aa8141b90cb3481d45fbc703de2f905ff4f4676a5d86d77a01c44c
22 DIST proto-plus-1.22.0.gh.tar.gz 69248 BLAKE2B f0bcfec696fc732eca291452fac681a38c23baa0d67cbca64a1abb31879775d28c00cff0e67e2f6c9f1fe68c3ee2693cc99599bd29f1eb0f17e2f6b48e1c9731 SHA512 110b5cf7effbcec8ac0c99361d1e0710eeea5949d2cc015e6e41cac4d045bf93560eed72b8d83709a76fa57d522859e162e6cc5e60456f98d32761bd284e0d19
23 +DIST proto-plus-1.22.1.gh.tar.gz 69507 BLAKE2B b71c263270dde979da0e050a21db258366ca5ddfaed5f8fb78e53444454a123d171019801873d1662ca73a89f079fa1c4cb7c58d34053cabb528015c0d742183 SHA512 2fb5dcb6124d6e2aab010089f4ad138de5cd819d4e67c2b9a6d7044a3d7677ca6e5e37e9aa0ee9edb262c52724dfd2dc05592c489df66d3cafbdf51f13644c7e
24
25 diff --git a/dev-python/proto-plus/proto-plus-1.22.1.ebuild b/dev-python/proto-plus/proto-plus-1.22.1.ebuild
26 new file mode 100644
27 index 000000000000..6be65f5713cd
28 --- /dev/null
29 +++ b/dev-python/proto-plus/proto-plus-1.22.1.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 2021-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 +DESCRIPTION="Beautiful, Pythonic protocol buffers"
42 +HOMEPAGE="
43 + https://github.com/googleapis/proto-plus-python/
44 + https://pypi.org/project/proto-plus/
45 +"
46 +SRC_URI="
47 + https://github.com/googleapis/proto-plus-python/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +S="${WORKDIR}/${PN}-python-${PV}"
51 +
52 +LICENSE="Apache-2.0"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
55 +
56 +RDEPEND="
57 + <dev-python/protobuf-python-5[${PYTHON_USEDEP}]
58 + >=dev-python/protobuf-python-3.19.0[${PYTHON_USEDEP}]
59 +"
60 +BDEPEND="
61 + test? (
62 + >=dev-python/google-api-core-1.31.5[${PYTHON_USEDEP}]
63 + dev-python/grpcio[${PYTHON_USEDEP}]
64 + dev-python/pytz[${PYTHON_USEDEP}]
65 + )
66 +"
67 +
68 +distutils_enable_tests pytest
69 +distutils_enable_sphinx docs \
70 + dev-python/sphinx_rtd_theme