Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/google-api-core/
Date: Mon, 08 Feb 2021 19:45:00
Message-Id: 1612813440.24313bdf8451256c2511b55a5957cd7164fcc33f.chutzpah@gentoo
1 commit: 24313bdf8451256c2511b55a5957cd7164fcc33f
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Mon Feb 8 19:44:00 2021 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 19:44:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24313bdf
7
8 dev-python/google-api-core-1.26.0: Version bump
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-3.0.14, Repoman-3.0.2
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 dev-python/google-api-core/Manifest | 1 +
15 .../google-api-core/google-api-core-1.26.0.ebuild | 43 ++++++++++++++++++++++
16 2 files changed, 44 insertions(+)
17
18 diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest
19 index b12781dc0e7..611f1bb8192 100644
20 --- a/dev-python/google-api-core/Manifest
21 +++ b/dev-python/google-api-core/Manifest
22 @@ -1,3 +1,4 @@
23 DIST google-api-core-1.24.0.tar.gz 129718 BLAKE2B 08bb8aef03d5f5cbc96c06c01d103e1e569f15bad5084ba24a5e13f732b10d9d97a299fe22db7dfdaea73809e9458b811de87a028f77dcb00ca62fc069af63b1 SHA512 9517e86389edb824fe178128003fa245857de47f4b2416e0a345b66e02fe5fb109b7a72f2e9adfd52478862165548ce6945761a5a2ca02eda4a0187ca608760b
24 DIST google-api-core-1.25.0.tar.gz 130928 BLAKE2B be7864046b2d04ecbbcf368803e77eb472a06cbb0f1601e8c95209bbdbeff6a335a5cc7f75fd89e8e9a91b566aa5d50a9b06ebad4c65c59f54de9d5c7a2951e7 SHA512 d8a1f973ad5bece84fe413528491a37d89ca39d9638a8508ec0cf8359cc238ea62c76e2563cb5ef995e4d0997dd3e4aa1feda7d0e48c21f85851a50f7f90404c
25 DIST google-api-core-1.25.1.tar.gz 131189 BLAKE2B 3b5ec782b0492a699d146539d95f613c07aab00735a08287eb93f3d458f98bd57b5e46082fde37aa4dd9986c24443ea22707ec18ec8a4dd2f80f5bb937bb4153 SHA512 cd29370b5a3eaca2c9b5076b6df12b114f28132fcbae63e7574dc9380b7caeea4c1ed476bc332ed16845efe85a44775391ba4f6ceb705b7ece49837056cedc25
26 +DIST google-api-core-1.26.0.tar.gz 132817 BLAKE2B f077e5f7a50de69ef3707d3e9a54f3b4948c458ee1eda058778fda618b202e7fd5fb7a116b9b153bf77bdbda858a91616e2f201d2aac45d8654a44001f52c71f SHA512 2e35f231936d06a6c05dbc4930da881e17c53d10224ed394d7deec9fcc45647ccb3dc72316912c31300bc5d3776467d6aab160660695c9919f28fdf73bfd2ffe
27
28 diff --git a/dev-python/google-api-core/google-api-core-1.26.0.ebuild b/dev-python/google-api-core/google-api-core-1.26.0.ebuild
29 new file mode 100644
30 index 00000000000..452b0c65176
31 --- /dev/null
32 +++ b/dev-python/google-api-core/google-api-core-1.26.0.ebuild
33 @@ -0,0 +1,43 @@
34 +# Copyright 2020-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +PYTHON_COMPAT=( python3_{7..9} )
40 +DISTUTILS_USE_SETUPTOOLS=rdepend
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Core Library for Google Client Libraries"
44 +HOMEPAGE="https://github.com/googleapis/python-api-core
45 + https://googleapis.dev/python/google-api-core/latest"
46 +SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 +S="${WORKDIR}/${P//google/python}"
48 +
49 +LICENSE="Apache-2.0"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
52 +
53 +RDEPEND="
54 + dev-python/namespace-google[${PYTHON_USEDEP}]
55 + dev-python/protobuf-python[${PYTHON_USEDEP}]
56 + dev-python/googleapis-common-protos[${PYTHON_USEDEP}]
57 + >=dev-python/google-auth-1.21.0[${PYTHON_USEDEP}]
58 + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
59 + <dev-python/requests-3[${PYTHON_USEDEP}]
60 + dev-python/six[${PYTHON_USEDEP}]
61 + dev-python/pytz[${PYTHON_USEDEP}]
62 +"
63 +BDEPEND="
64 + test? (
65 + dev-python/grpcio[${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 +python_install_all() {
74 + distutils-r1_python_install_all
75 + find "${D}" -name '*.pth' -delete || die
76 +}