summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2018-10-21 16:30:28 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2018-10-24 21:35:07 -0700
commitf2f4cf282b3bfa11d4088f7ad273e7c745e19249 (patch)
tree08d9a798f7829110bc47d7d615eeeebe8a7e4e05 /dev-python/grpcio-tools
parentdev-python/grpcio: new package (diff)
downloadgentoo-f2f4cf282b3bfa11d4088f7ad273e7c745e19249.tar.gz
gentoo-f2f4cf282b3bfa11d4088f7ad273e7c745e19249.tar.bz2
gentoo-f2f4cf282b3bfa11d4088f7ad273e7c745e19249.zip
dev-python/grpcio-tools: new package
Split from net-libs/grpc[tools] Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
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.16.0.ebuild29
-rw-r--r--dev-python/grpcio-tools/metadata.xml15
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest
new file mode 100644
index 000000000000..790f77451681
--- /dev/null
+++ b/dev-python/grpcio-tools/Manifest
@@ -0,0 +1 @@
+DIST grpcio-tools-1.16.0.tar.gz 1893006 BLAKE2B 01224d6af05a87e23609d47e5fefeb4784b0ac63cc1198e9f81de03b0b0fed5b2e2d706a486627c1d0e770ba66fe7be00dd98b866fb98e1d14299302a080e3b7 SHA512 86b66242d17d52d08ebb0861d08bcda4dc90fc142d2777bf99d0e4bce72049f88edd5d2ea52c2b33b9a77d94ca8961d877a97ed614766a3061528d41c96e6e96
diff --git a/dev-python/grpcio-tools/grpcio-tools-1.16.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.16.0.ebuild
new file mode 100644
index 000000000000..1cc3d8eb6721
--- /dev/null
+++ b/dev-python/grpcio-tools/grpcio-tools-1.16.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+inherit distutils-r1
+
+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 ~x86"
+
+RDEPEND="dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/grpcio[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ !<net-libs/grpc-1.16.0[tools]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+python_compile() {
+ export GRPC_PYTHON_BUILD_WITH_CYTHON=1
+ distutils-r1_python_compile
+}
diff --git a/dev-python/grpcio-tools/metadata.xml b/dev-python/grpcio-tools/metadata.xml
new file mode 100644
index 000000000000..b140e0d02b97
--- /dev/null
+++ b/dev-python/grpcio-tools/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+ <longdescription lang="en">
+ High-performance RPC framework (python libraries)
+ </longdescription>
+ <upstream>
+ <remote-id type="github">grpc/grpc</remote-id>
+ <remote-id type="pypi">grpcio-tools</remote-id>
+ </upstream>
+</pkgmetadata>