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