Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/googleapis-common-protos/
Date: Fri, 27 May 2022 06:10:46
Message-Id: 1653631828.ce00eefc33584e3d0f8e72afa851f022a16aebaa.mgorny@gentoo
1 commit: ce00eefc33584e3d0f8e72afa851f022a16aebaa
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 27 05:15:57 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 27 06:10:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce00eefc
7
8 dev-python/googleapis-common-protos: Bump to 1.56.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/googleapis-common-protos/Manifest | 1 +
13 .../googleapis-common-protos-1.56.2.ebuild | 33 ++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/googleapis-common-protos/Manifest b/dev-python/googleapis-common-protos/Manifest
17 index 7ff0e9f16b98..eb8a5913368f 100644
18 --- a/dev-python/googleapis-common-protos/Manifest
19 +++ b/dev-python/googleapis-common-protos/Manifest
20 @@ -1,2 +1,3 @@
21 DIST googleapis-common-protos-1.56.0.tar.gz 132706 BLAKE2B a0adf6527c24aaa30922800a80ef4af8abf3d83c4639c227a859c92e02d248f44b408f98820387a51b310dedf005872cb0fa7824bd27ac6309f31f85810edd40 SHA512 ef6ed067457aad3b46d81bacbb66abe3b36b0640290e0047ef7c6d612dfd8bf865dad47c77275f0d5a1e03cd4e5dca32d08f44c7a7bfe7b264ee59e5c5bb9a27
22 DIST googleapis-common-protos-1.56.1.tar.gz 109702 BLAKE2B ac54a63164a64a125a7dece77a8a9219d922860d6dce9a1057b4dd2f015e2efc6719c224473cee358280028f016fd171e05c8ec6377cdcb216318230ea42df02 SHA512 155698770a790df0ed92144cc0b79373ccdab2bff7109633df5f4f66e75f4f1c312f2ec7248c173f4750416619c65cf6bb7cfc33abfe7530c5d5d7fe2b3cec2c
23 +DIST googleapis-common-protos-1.56.2.tar.gz 109718 BLAKE2B 6aeb43927f5c2b0332dbc478d47b06d49490b666158b35b5e58ccd3290939d903865f60ff11f396f9f329bb64382aa636d87ebd06cefcb66d465a0551843178f SHA512 814dddc95fa5bde437c124ff8b66c281f98cae6c0143d473b9194a1367ccaf7915c21450f79f372be5fdb3c4fb41c9d717e57244f2dbd1e819b927b8d86e8d2f
24
25 diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.2.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.2.ebuild
26 new file mode 100644
27 index 000000000000..00d26d4c7744
28 --- /dev/null
29 +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.2.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 2020-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="Python classes generated from the common protos in the googleapis repository"
42 +HOMEPAGE="
43 + https://github.com/googleapis/python-api-common-protos/
44 + https://pypi.org/project/googleapis-common-protos/
45 +"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
51 +
52 +RDEPEND="
53 + <dev-python/protobuf-python-4[${PYTHON_USEDEP}]
54 + >=dev-python/protobuf-python-3.15.0[${PYTHON_USEDEP}]
55 + !dev-python/namespace-google
56 +"
57 +
58 +python_compile() {
59 + distutils-r1_python_compile
60 + find "${BUILD_DIR}" -name '*.pth' -delete || die
61 +}
62 +
63 +# no tests as this is all generated code