1 |
commit: 61e35b1f9a42b9c29c80a6bf1bdd7589d5eee3ff |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 27 04:05:50 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 27 04:19:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e35b1f |
7 |
|
8 |
dev-python/grpcio: bump to 1.19.0 |
9 |
|
10 |
add experimental python3.7 support |
11 |
add protobuf-python dep |
12 |
|
13 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
14 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
15 |
|
16 |
dev-python/grpcio/Manifest | 1 + |
17 |
dev-python/grpcio/grpcio-1.19.0.ebuild | 38 ++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 39 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest |
21 |
index 71b6406f352..8f1a2ce09c3 100644 |
22 |
--- a/dev-python/grpcio/Manifest |
23 |
+++ b/dev-python/grpcio/Manifest |
24 |
@@ -1,3 +1,4 @@ |
25 |
DIST grpcio-1.16.1.tar.gz 14514047 BLAKE2B e4fc7f196f3e377afb0a103aca60337dd63b3b0f84846e7e2a4622a0102d4300782f08367e1429e1fd021dd90b151f17dd927a25a749f35724c7d2a41a6943a6 SHA512 efd7fb36a61e2ee872c0807a8198cabe8f1f9003bd5bce7cd46c75541752c0f745db02bbfe3f37f572531e15df60913f2b08b678545f176fe683f3e64e22124f |
26 |
DIST grpcio-1.17.1.tar.gz 14563233 BLAKE2B 61ccfaa967ee348f02f5a201e4f36f25d4fa09a1af11c6b5a0f345d13bf86f0fb12c3aea125c5bc27925698e0a23a9592806fe5db92fa37360cdcaf88e596189 SHA512 bf8dc6b7ce2f4a0765377fbae085395caef9f0cd0a2b4a779b3bf1667c6aba5fff034168bff9539f96dea76b2c97d7586305715c850d10e54918337458a4ee95 |
27 |
DIST grpcio-1.18.0.tar.gz 14601124 BLAKE2B 4dc57243759c573b960e841def6af335f490fc6aa285f88979b4c66365b104a84269688c589ed7ae797527b04124a9997937f5bf33b179978077b2b680e515f5 SHA512 da791a418e0f6f3a7be921e107586837edcd2020dc8dab1107712372ebd4896b6b94e00d7501ed957e4ab0d5f7d6a3f2b57477ff33c55eb5e4ad7828b2f21624 |
28 |
+DIST grpcio-1.19.0.tar.gz 14621509 BLAKE2B b756ba60d317baa089b8ee57c458bc68fb72e61a87150f1ef3366fea23456ca8d5bd443ba1579d1bef5d0049f249fc8c2c6e7c7cc0967eb58c102fb03d783103 SHA512 620459dd1a22cf60cb6bccb1b7dd64175f1efdfc098152cfa1889ad0a727b7a92b72f9de28b57e9a45cc8d2c22e2fc36307af8ab52ced454a91aedeaf7158273 |
29 |
|
30 |
diff --git a/dev-python/grpcio/grpcio-1.19.0.ebuild b/dev-python/grpcio/grpcio-1.19.0.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..63c7aaebcf4 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/grpcio/grpcio-1.19.0.ebuild |
35 |
@@ -0,0 +1,38 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) |
42 |
+inherit distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="High-performance RPC framework (python libraries)" |
45 |
+HOMEPAGE="https://grpc.io" |
46 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+ |
52 |
+RDEPEND=">=dev-libs/openssl-1.0.2:0=[-bindist] |
53 |
+ dev-python/cython[${PYTHON_USEDEP}] |
54 |
+ dev-python/protobuf-python[${PYTHON_USEDEP}] |
55 |
+ dev-python/six[${PYTHON_USEDEP}] |
56 |
+ net-dns/c-ares:= |
57 |
+ !<net-libs/grpc-1.16.0[python] |
58 |
+ sys-libs/zlib:= |
59 |
+ virtual/python-enum34[${PYTHON_USEDEP}] |
60 |
+ virtual/python-futures[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
+" |
65 |
+ |
66 |
+python_compile() { |
67 |
+ export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 |
68 |
+ export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 |
69 |
+ export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 |
70 |
+ export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 |
71 |
+ export GRPC_PYTHON_BUILD_WITH_CYTHON=1 |
72 |
+ distutils-r1_python_compile |
73 |
+} |