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: Sun, 03 Oct 2021 19:24:44
Message-Id: 1633288839.948b12e20d5d6ffa1bfb14e26b1d3af5b5c70516.mgorny@gentoo
1 commit: 948b12e20d5d6ffa1bfb14e26b1d3af5b5c70516
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 3 19:20:39 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 3 19:20:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=948b12e2
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-1.31.2.ebuild | 51 ----------------------
14 .../google-api-core/google-api-core-2.0.0.ebuild | 48 --------------------
15 3 files changed, 101 deletions(-)
16
17 diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest
18 index 5611908b9f8..ad5fdf22671 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-1.31.2.tar.gz 135491 BLAKE2B d2567f628ac888b8f708b5e62c7a34cdad592e98689b3208041e48f08345da5df7da295d261af73c8e89041c91297a90af243b24c250095493af07c6d892459f SHA512 e819bbaadf1aedf78cb397c9a5a9677fbc625285a4f3d14620e5af0ec125f97eaabe18e34a669daee3bd51520de0818a4e2f451f83502ad78adf77e4c739fa67
23 -DIST google-api-core-2.0.0.tar.gz 134125 BLAKE2B 814d20f4b9d02c389768e184d8be4614cabe0efbf227c98574dacf0fb3bde6cae71c40d2a17a1353f5dd02aad4f19e49b7338038cf22a2e0ec4be450b2f70af9 SHA512 588dcdeb80c4cd53ebc9d1a76efc03bc3bff22aa850d48385edc0bc6a0d343b406d26e64d22c0befc06f6406bb6c8efcf07947c6e48c49e6f077b72b8414403f
24 DIST google-api-core-2.0.1.tar.gz 134658 BLAKE2B 0fda61be3b069454b305656f7a5a9243467f4e129e2db661e997fde850d416a50df803af6e7e9d041b8473e5f1abd35f6d5a9b25067133be28bed90ec1cca7e4 SHA512 297af05cba4919423e15844ccddb821fd65076f787bd01f24022d8393fbf45cf276611ab471be17950d7fad4e58f9b823517a8aeeec931df5b1bb37c38fe8ec9
25
26 diff --git a/dev-python/google-api-core/google-api-core-1.31.2.ebuild b/dev-python/google-api-core/google-api-core-1.31.2.ebuild
27 deleted file mode 100644
28 index 3d83697c28f..00000000000
29 --- a/dev-python/google-api-core/google-api-core-1.31.2.ebuild
30 +++ /dev/null
31 @@ -1,51 +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"
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 - dev-python/six[${PYTHON_USEDEP}]
59 - dev-python/pytz[${PYTHON_USEDEP}]
60 - dev-python/packaging[${PYTHON_USEDEP}]
61 -"
62 -BDEPEND="
63 - test? (
64 - dev-python/grpcio[${PYTHON_USEDEP}]
65 - dev-python/mock[${PYTHON_USEDEP}]
66 - dev-python/rsa[${PYTHON_USEDEP}]
67 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
68 - )
69 -"
70 -
71 -distutils_enable_tests --install pytest
72 -
73 -EPYTEST_DESELECT=(
74 - # TODO: package proto-plus
75 - tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore
76 - tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore_with_nesting
77 -)
78 -
79 -python_install_all() {
80 - distutils-r1_python_install_all
81 - find "${D}" -name '*.pth' -delete || die
82 -}
83
84 diff --git a/dev-python/google-api-core/google-api-core-2.0.0.ebuild b/dev-python/google-api-core/google-api-core-2.0.0.ebuild
85 deleted file mode 100644
86 index 6e1d986b70c..00000000000
87 --- a/dev-python/google-api-core/google-api-core-2.0.0.ebuild
88 +++ /dev/null
89 @@ -1,48 +0,0 @@
90 -# Copyright 2020-2021 Gentoo Authors
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=8
94 -
95 -PYTHON_COMPAT=( python3_{8..9} )
96 -DISTUTILS_USE_SETUPTOOLS=rdepend
97 -inherit distutils-r1
98 -
99 -DESCRIPTION="Core Library for Google Client Libraries"
100 -HOMEPAGE="https://github.com/googleapis/python-api-core/
101 - https://googleapis.dev/python/google-api-core/latest/index.html"
102 -SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
103 -S="${WORKDIR}/${P//google/python}"
104 -
105 -LICENSE="Apache-2.0"
106 -SLOT="0"
107 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
108 -
109 -RDEPEND="
110 - dev-python/namespace-google[${PYTHON_USEDEP}]
111 - dev-python/protobuf-python[${PYTHON_USEDEP}]
112 - dev-python/googleapis-common-protos[${PYTHON_USEDEP}]
113 - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}]
114 - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
115 - <dev-python/requests-3[${PYTHON_USEDEP}]
116 -"
117 -BDEPEND="
118 - test? (
119 - >=dev-python/grpcio-1.33.2[${PYTHON_USEDEP}]
120 - dev-python/mock[${PYTHON_USEDEP}]
121 - dev-python/rsa[${PYTHON_USEDEP}]
122 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
123 - )
124 -"
125 -
126 -distutils_enable_tests --install pytest
127 -
128 -EPYTEST_DESELECT=(
129 - # TODO: package proto-plus
130 - tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore
131 - tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore_with_nesting
132 -)
133 -
134 -python_install_all() {
135 - distutils-r1_python_install_all
136 - find "${D}" -name '*.pth' -delete || die
137 -}