summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-04-19 23:23:56 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-04-20 00:25:33 -0700
commit1364bb8a5e034846a5cabefdf738319eed0694af (patch)
tree7b1039e3f2903f178520c7bdaeae2930f59caa00 /dev-python/grpcio-tools
parentdev-python/grpcio: bump to 1.28.1 (diff)
downloadgentoo-1364bb8a5e034846a5cabefdf738319eed0694af.tar.gz
gentoo-1364bb8a5e034846a5cabefdf738319eed0694af.tar.bz2
gentoo-1364bb8a5e034846a5cabefdf738319eed0694af.zip
dev-python/grpcio-tools: bump to 1.28.1
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-python/grpcio-tools')
-rw-r--r--dev-python/grpcio-tools/Manifest1
-rw-r--r--dev-python/grpcio-tools/grpcio-tools-1.28.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest
index 0413409c2b15..a3ebf657e333 100644
--- a/dev-python/grpcio-tools/Manifest
+++ b/dev-python/grpcio-tools/Manifest
@@ -1 +1,2 @@
DIST grpcio-tools-1.26.0.tar.gz 1990162 BLAKE2B 3f07f5d5be14851a3df276865b9a4d93222f0d4bb95610600ac56efa268e46225c2095d7112612296649bb48afb53a35b73febb3b379f05ea061e269c3546f03 SHA512 d1780a0103b531cc4416b4524c77bd96ab6aac3c081a8ba8c402c10909eb3945d9a3caf4ecc8f9f9c8ae216958405bb98fe1b1874af46407084ed3a65128e105
+DIST grpcio-tools-1.28.1.tar.gz 1986547 BLAKE2B 9f6eeb1e12dbf088a38bbff4daec95327cf86d6b9ac72dfdd826507d6b19d635bb263ccb4aca7577df7f585acaf02a45feebcfe0879c32a1190cac179d8cafba SHA512 b385fc567e8bb5965082164f87c1fafca5f0ec236feef343df92f82862b12ca33ddf9c94a366cd56437dc691ec5a37b82fd0f4fd547e389c6e9bcc7fe912d12e
diff --git a/dev-python/grpcio-tools/grpcio-tools-1.28.1.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.28.1.ebuild
new file mode 100644
index 000000000000..5f5084a83cac
--- /dev/null
+++ b/dev-python/grpcio-tools/grpcio-tools-1.28.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Protobuf code generator for gRPC"
+HOMEPAGE="https://grpc.io"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="dev-python/cython[${PYTHON_USEDEP}]
+ ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+python_configure_all() {
+ export GRPC_PYTHON_BUILD_WITH_CYTHON=1
+ export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)"
+}