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/google-api-core/
Date: Sat, 08 Jan 2022 18:23:54
Message-Id: 1641666100.f241e79bf85cca89685a174ca3e9d39ec3047b6a.mgorny@gentoo
1 commit: f241e79bf85cca89685a174ca3e9d39ec3047b6a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 8 18:21:40 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 8 18:21:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f241e79b
7
8 dev-python/google-api-core: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/google-api-core/Manifest | 2 -
13 .../google-api-core/google-api-core-2.2.2.ebuild | 50 ----------------------
14 .../google-api-core/google-api-core-2.3.0.ebuild | 50 ----------------------
15 3 files changed, 102 deletions(-)
16
17 diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest
18 index a0eb2b496d77..5395a2279f24 100644
19 --- a/dev-python/google-api-core/Manifest
20 +++ b/dev-python/google-api-core/Manifest
21 @@ -1,3 +1 @@
22 -DIST google-api-core-2.2.2.tar.gz 140701 BLAKE2B 4e90db4311fc88d3fc8e29d6d8f11ae1424000c0e293f219d679984ec4a2c1bbbaf72d734b937d6916302f3a9a8b1cb369dd719972f4eb2d3f7264bf16ffbc7f SHA512 9b307c8ebd224b7614bd1d9f48d752852929b726c04df24f81e0b1b601f9a14d10654e9ef53b6a5ab677e8e57256f87b8683fa4dde0585f9c2e6d313d29d53fe
23 -DIST google-api-core-2.3.0.tar.gz 155449 BLAKE2B 4aba324a18c8b6f9b9afd223688771fc6a57ee71f550736cfb5c9fac861a6a84369eb4e6ebec0664241590624c52cd0bcc8762afeb230debc16f0849fde049bf SHA512 f85c9279822ab818aa9d183bc930e61be9cfb2e65ab6a46fcd8aaab2531b4258c6247b02fb8f4f29841d9ab13ca33e129198589cbc37b3c77677a72e72635285
24 DIST google-api-core-2.3.1.tar.gz 156495 BLAKE2B fdc7f7d8457b96947181eee9992c5e51bbd18f9740a0415a32d4d0f45ade9c0c784e01f0aa78fe0dbbf3717ee860e78d6b4d1c5f154361afbf919abe033e5380 SHA512 ab1c333727e666f920d81186e6213d440052021d952efcb47eac487d10ab33a2e1116278925e54bfb3468de70c18837a0e241ba3426af09728ea59a725789a29
25
26 diff --git a/dev-python/google-api-core/google-api-core-2.2.2.ebuild b/dev-python/google-api-core/google-api-core-2.2.2.ebuild
27 deleted file mode 100644
28 index 5c79fe508a2c..000000000000
29 --- a/dev-python/google-api-core/google-api-core-2.2.2.ebuild
30 +++ /dev/null
31 @@ -1,50 +0,0 @@
32 -# Copyright 2020-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{8..9} )
38 -DISTUTILS_USE_SETUPTOOLS=rdepend
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Core Library for Google Client Libraries"
42 -HOMEPAGE="https://github.com/googleapis/python-api-core/
43 - https://googleapis.dev/python/google-api-core/latest/index.html"
44 -SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -S="${WORKDIR}/${P//google/python}"
46 -
47 -LICENSE="Apache-2.0"
48 -SLOT="0"
49 -KEYWORDS="amd64 ~arm ~arm64 x86"
50 -
51 -RDEPEND="
52 - dev-python/namespace-google[${PYTHON_USEDEP}]
53 - dev-python/protobuf-python[${PYTHON_USEDEP}]
54 - dev-python/googleapis-common-protos[${PYTHON_USEDEP}]
55 - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}]
56 - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
57 - <dev-python/requests-3[${PYTHON_USEDEP}]
58 -"
59 -# grpcio support is broken if grpcio-status is not installed,
60 -# and we do not package the latter
61 -BDEPEND="
62 - test? (
63 - !!dev-python/grpcio
64 - dev-python/mock[${PYTHON_USEDEP}]
65 - dev-python/rsa[${PYTHON_USEDEP}]
66 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
67 - )
68 -"
69 -
70 -distutils_enable_tests --install pytest
71 -
72 -EPYTEST_DESELECT=(
73 - # TODO: package proto-plus
74 - tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore
75 - tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore_with_nesting
76 -)
77 -
78 -python_install_all() {
79 - distutils-r1_python_install_all
80 - find "${D}" -name '*.pth' -delete || die
81 -}
82
83 diff --git a/dev-python/google-api-core/google-api-core-2.3.0.ebuild b/dev-python/google-api-core/google-api-core-2.3.0.ebuild
84 deleted file mode 100644
85 index f67642816e93..000000000000
86 --- a/dev-python/google-api-core/google-api-core-2.3.0.ebuild
87 +++ /dev/null
88 @@ -1,50 +0,0 @@
89 -# Copyright 2020-2021 Gentoo Authors
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=8
93 -
94 -PYTHON_COMPAT=( python3_{8..9} )
95 -DISTUTILS_USE_SETUPTOOLS=rdepend
96 -inherit distutils-r1
97 -
98 -DESCRIPTION="Core Library for Google Client Libraries"
99 -HOMEPAGE="https://github.com/googleapis/python-api-core/
100 - https://googleapis.dev/python/google-api-core/latest/index.html"
101 -SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
102 -S="${WORKDIR}/${P//google/python}"
103 -
104 -LICENSE="Apache-2.0"
105 -SLOT="0"
106 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
107 -
108 -RDEPEND="
109 - dev-python/namespace-google[${PYTHON_USEDEP}]
110 - dev-python/protobuf-python[${PYTHON_USEDEP}]
111 - dev-python/googleapis-common-protos[${PYTHON_USEDEP}]
112 - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}]
113 - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
114 - <dev-python/requests-3[${PYTHON_USEDEP}]
115 -"
116 -# grpcio support is broken if grpcio-status is not installed,
117 -# and we do not package the latter
118 -BDEPEND="
119 - test? (
120 - !!dev-python/grpcio
121 - dev-python/mock[${PYTHON_USEDEP}]
122 - dev-python/rsa[${PYTHON_USEDEP}]
123 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
124 - )
125 -"
126 -
127 -distutils_enable_tests --install pytest
128 -
129 -EPYTEST_DESELECT=(
130 - # TODO: package proto-plus
131 - tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore
132 - tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore_with_nesting
133 -)
134 -
135 -python_install_all() {
136 - distutils-r1_python_install_all
137 - find "${D}" -name '*.pth' -delete || die
138 -}