1 |
commit: 426f94cbd3d86ef2e7d25b7d778ef1e7da96f5e8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 18 07:34:36 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 08:48:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426f94cb |
7 |
|
8 |
dev-python/google-api-core: Bump to 1.27.0 |
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-1.27.0.ebuild | 44 ++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest |
17 |
index f9349176624..0e42d592837 100644 |
18 |
--- a/dev-python/google-api-core/Manifest |
19 |
+++ b/dev-python/google-api-core/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST google-api-core-1.26.3.tar.gz 133409 BLAKE2B ca3c63769f87cc79483d5ac52646cb044fa21e4f702a945994aeffad71b5be6bd1105e7aa3ec489c943d8adb1148f1c5eb868d64d71f0bcc4a6084ff470acf05 SHA512 8a7753ee30f6f3bb78265b083d8fb80a48021ab32c849ddadaf969263e5a63bfaeb3010b584440d5c5f1c4e0dcd4e8fcd4df16321ccb03d3c0932e19502bbe4c |
22 |
+DIST google-api-core-1.27.0.tar.gz 134035 BLAKE2B be074208ac51b6e33466a2304e5780894d6a420ccf7ea36e5b98b6d9f920cd6f0cc9f94dababb154731ebe4a36d8b863897f5c654e00068a0f12753ceecb6e8c SHA512 5e8ca58c7f1dc9aa3e612ea635feb84a115c0f21bde2a3152cd54be5b041841ab1c0d2c725660794e15d42e63a4b6955a5318d3dec20bbbb3e7d683c630a5f5e |
23 |
|
24 |
diff --git a/dev-python/google-api-core/google-api-core-1.27.0.ebuild b/dev-python/google-api-core/google-api-core-1.27.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..af52a0d1189 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/google-api-core/google-api-core-1.27.0.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 2020-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Core Library for Google Client Libraries" |
40 |
+HOMEPAGE="https://github.com/googleapis/python-api-core |
41 |
+ https://googleapis.dev/python/google-api-core/latest" |
42 |
+SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+S="${WORKDIR}/${P//google/python}" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/namespace-google[${PYTHON_USEDEP}] |
51 |
+ dev-python/protobuf-python[${PYTHON_USEDEP}] |
52 |
+ dev-python/googleapis-common-protos[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/google-auth-1.21.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] |
55 |
+ <dev-python/requests-3[${PYTHON_USEDEP}] |
56 |
+ dev-python/six[${PYTHON_USEDEP}] |
57 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
58 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ dev-python/grpcio[${PYTHON_USEDEP}] |
63 |
+ dev-python/rsa[${PYTHON_USEDEP}] |
64 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+distutils_enable_tests --install pytest |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ distutils-r1_python_install_all |
72 |
+ find "${D}" -name '*.pth' -delete || die |
73 |
+} |