1 |
commit: ba88dd98d5d342f2fd52ee502f0ddc125db03f50 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 29 08:20:30 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 29 08:26:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba88dd98 |
7 |
|
8 |
dev-python/grpcio: bump to 1.37.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/786654 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
13 |
|
14 |
dev-python/grpcio/Manifest | 1 + |
15 |
dev-python/grpcio/grpcio-1.37.0.ebuild | 45 ++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 46 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest |
19 |
index 51b51c2339f..265b200c5a1 100644 |
20 |
--- a/dev-python/grpcio/Manifest |
21 |
+++ b/dev-python/grpcio/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST grpcio-1.32.0.tar.gz 20809917 BLAKE2B e28cb44d09fd775b9b6dc87dcd52bf7f144643b09912ff8b76bf39cb250743f90bc7e3769252d47f205f9532157ae68b6ac0a9202158cb14e7b9ad448d951656 SHA512 f802a7b83bd166502fdcbfaf162652adcda36da1b2e91b5073e3b3d97d38191fe989a6dcbec6c1bf27fff162633e54bdbdb20a92e74e14280fac4576baa92157 |
24 |
+DIST grpcio-1.37.0.tar.gz 21678743 BLAKE2B 44ae197d781ba145d8b9b9d20f03eacb4ecadbd555cf0b3aabf4326a9e03d2b4a8126f665e43376a06a88957cb3659831d22332ddc3af61c3644ba68aa05ef94 SHA512 0b9ef3ff1c3e2b13f134eb36d9ca288b7021812e5de9d64a4bf8b512a1d92ce60669dff7f7e40e7418336e530c039e6878010166e9b0efa5f4df34af74e446ef |
25 |
|
26 |
diff --git a/dev-python/grpcio/grpcio-1.37.0.ebuild b/dev-python/grpcio/grpcio-1.37.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..9a037a3b070 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/grpcio/grpcio-1.37.0.ebuild |
31 |
@@ -0,0 +1,45 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{7..9} ) |
38 |
+ |
39 |
+inherit distutils-r1 multiprocessing prefix |
40 |
+ |
41 |
+DESCRIPTION="High-performance RPC framework (python libraries)" |
42 |
+HOMEPAGE="https://grpc.io" |
43 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-libs/openssl-1.0.2:0=[-bindist] |
51 |
+ >=dev-libs/re2-0.2021.04.01:= |
52 |
+ >=dev-python/cython-0.28.3[${PYTHON_USEDEP}] |
53 |
+ dev-python/protobuf-python[${PYTHON_USEDEP}] |
54 |
+ dev-python/six[${PYTHON_USEDEP}] |
55 |
+ net-dns/c-ares:= |
56 |
+ sys-libs/zlib:= |
57 |
+" |
58 |
+ |
59 |
+DEPEND="${RDEPEND}" |
60 |
+ |
61 |
+python_prepare_all() { |
62 |
+ distutils-r1_python_prepare_all |
63 |
+ hprefixify setup.py |
64 |
+} |
65 |
+ |
66 |
+python_configure_all() { |
67 |
+ # os.environ.get('GRPC_BUILD_WITH_BORING_SSL_ASM', True) |
68 |
+ export GRPC_BUILD_WITH_BORING_SSL_ASM= |
69 |
+ export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 |
70 |
+ export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 |
71 |
+ export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 |
72 |
+ export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 |
73 |
+ export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 |
74 |
+ export GRPC_PYTHON_BUILD_WITH_CYTHON=1 |
75 |
+ export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" |
76 |
+} |