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: Mon, 27 Jun 2022 09:29:53
Message-Id: 1656322183.ddac6c4f8949bf3948b1f2fe2e24704af0403b15.mgorny@gentoo
1 commit: ddac6c4f8949bf3948b1f2fe2e24704af0403b15
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 27 09:26:44 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 27 09:29:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddac6c4f
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 | 1 -
13 .../google-api-core/google-api-core-2.7.3.ebuild | 66 ----------------------
14 2 files changed, 67 deletions(-)
15
16 diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest
17 index 4b4cd09b4db3..84c156f7fbff 100644
18 --- a/dev-python/google-api-core/Manifest
19 +++ b/dev-python/google-api-core/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST google-api-core-2.7.3.tar.gz 164219 BLAKE2B c394fd95bff3ac393174372e0c49f9a7974a006de6f14d07af7b15b4c531d6dae7af8c38e00263289a895cb9dae9ef23368d793f5ae3649b9b029337a72cc0ef SHA512 2bf49738216cd52dad2bdfb3367e370390c366b49a8c3c4f6f49a2a3f17b27120d99933b57c8eb8c9a1f0f25ef5ea6d876cf8c3c6c759d3585d625e57b1153f9
22 DIST python-api-core-2.8.1.gh.tar.gz 164630 BLAKE2B 88db73f210ae5ee4aa2e7382ea34ef59fb51f88e196622556327c130057b74594884bbe21719bf12cc6ddc9975cf12ac71fa24ac4dfde4681b4742af57702b5d SHA512 f3bfa476562428246203592b53c22e8e52af167af10b1fa68afb51fe6e8ca8090e9231e4c297847d12c201ca791aa80153bee07f72939bc65920260ec50b3d38
23 DIST python-api-core-2.8.2.gh.tar.gz 164586 BLAKE2B bd62b20d1be52f0a2227d1663ee37ce31d991e0773ed793a3999b70c74e03a28ac188cc331027def0055a5b80e93378d9ec5baa389c65e7d2f183b37233be5ac SHA512 5844339cee71103650c446f002dcb13a632086d96dec1ed04a0ad5e4d3a61cc2a8e048da3e6445a50a0c009b0d25729f02865d28484bfee2a3427c829537e350
24
25 diff --git a/dev-python/google-api-core/google-api-core-2.7.3.ebuild b/dev-python/google-api-core/google-api-core-2.7.3.ebuild
26 deleted file mode 100644
27 index 060a7a5bb115..000000000000
28 --- a/dev-python/google-api-core/google-api-core-2.7.3.ebuild
29 +++ /dev/null
30 @@ -1,66 +0,0 @@
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="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/protobuf-python[${PYTHON_USEDEP}]
53 - dev-python/googleapis-common-protos[${PYTHON_USEDEP}]
54 - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}]
55 - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
56 - <dev-python/requests-3[${PYTHON_USEDEP}]
57 - !dev-python/namespace-google
58 -"
59 -BDEPEND="
60 - test? (
61 - dev-python/mock[${PYTHON_USEDEP}]
62 - dev-python/proto-plus[${PYTHON_USEDEP}]
63 - dev-python/rsa[${PYTHON_USEDEP}]
64 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
65 - )
66 -"
67 -
68 -distutils_enable_tests pytest
69 -
70 -EPYTEST_DESELECT=(
71 - # failing due to missing grpcio-status
72 - tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors
73 - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised
74 - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read
75 - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter
76 - tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write
77 - tests/unit/test_grpc_helpers.py::test_wrap_unary_errors
78 - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation
79 - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization
80 - tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration
81 -)
82 -
83 -python_compile() {
84 - distutils-r1_python_compile
85 - find "${BUILD_DIR}" -name '*.pth' -delete || die
86 -}
87 -
88 -src_test() {
89 - rm -r google || die
90 - distutils-r1_src_test
91 -}
92 -
93 -python_test() {
94 - distutils_write_namespace google
95 - epytest -p no:aiohttp -p no:trio tests
96 -}