1 |
commit: bfba30b841f4d925d073e62a2aec58a070705a43 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 6 12:08:27 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 6 12:15:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfba30b8 |
7 |
|
8 |
dev-python/grpcio-tools: add 1.41.0, enable py3.10 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/grpcio-tools/Manifest | 1 + |
13 |
dev-python/grpcio-tools/grpcio-tools-1.41.0.ebuild | 35 ++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest |
17 |
index cd7350aca4c..2211f67af10 100644 |
18 |
--- a/dev-python/grpcio-tools/Manifest |
19 |
+++ b/dev-python/grpcio-tools/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST grpcio-tools-1.38.1.tar.gz 2128280 BLAKE2B bd8f8a371e89c096ce0e7f458e88c7d00ee6d75f18c008e8e0daef37559afea1792cf874829e1a8bda315ae49cd6e453406a75705672032811b059c2189b6aee SHA512 7498443a42da8077b91972ccf78bc64d9906a4344d8f4ce17ae8e45f32c952baf0c84d20771f572e7c883a26022be32f6e0a46f1d0e79dc651f90193987892e5 |
22 |
+DIST grpcio-tools-1.41.0.tar.gz 2172949 BLAKE2B 42c4eee8a5b2f815681fb45fdc681bc713c113d9251acdc1f2fa897756e96a058d83fe75abdafd446d9fe61cec280b6db7e62cb15278882b964c0ed57dbb7beb SHA512 67b293fdbace63d3031372594d57a22194b6d257704279c12b227dabd8feb6de0acd5ba36f6296da7d82c8eac0ca4aa7cc3b12ea01ca9ffa0d15ed8181eb46ee |
23 |
|
24 |
diff --git a/dev-python/grpcio-tools/grpcio-tools-1.41.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.41.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..e37b3539782 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/grpcio-tools/grpcio-tools-1.41.0.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 multiprocessing prefix |
39 |
+ |
40 |
+DESCRIPTION="Protobuf code generator for gRPC" |
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 ~arm64 ~ppc64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/cython[${PYTHON_USEDEP}] |
50 |
+ ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}] |
51 |
+ dev-python/protobuf-python[${PYTHON_USEDEP}] |
52 |
+" |
53 |
+ |
54 |
+DEPEND="${RDEPEND}" |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ distutils-r1_python_prepare_all |
58 |
+ hprefixify setup.py |
59 |
+} |
60 |
+ |
61 |
+python_configure_all() { |
62 |
+ export GRPC_PYTHON_BUILD_WITH_CYTHON=1 |
63 |
+ export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" |
64 |
+} |