From 2b6722cb0449f0124c8f37b45246f78ec0001dfb Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Tue, 7 May 2019 19:58:41 -0700 Subject: [PATCH] dev-python/grpcio-tools: honor makeopts jobs Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev --- dev-python/grpcio-tools/grpcio-tools-1.17.1.ebuild | 3 ++- dev-python/grpcio-tools/grpcio-tools-1.18.0.ebuild | 3 ++- dev-python/grpcio-tools/grpcio-tools-1.19.0.ebuild | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-python/grpcio-tools/grpcio-tools-1.17.1.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.17.1.ebuild index 5ea474da86e3..55d28e451d57 100644 --- a/dev-python/grpcio-tools/grpcio-tools-1.17.1.ebuild +++ b/dev-python/grpcio-tools/grpcio-tools-1.17.1.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{5,6} ) -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Protobuf code generator for gRPC" HOMEPAGE="https://grpc.io" @@ -24,6 +24,7 @@ DEPEND="${RDEPEND} " python_compile() { + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" export GRPC_PYTHON_BUILD_WITH_CYTHON=1 distutils-r1_python_compile } diff --git a/dev-python/grpcio-tools/grpcio-tools-1.18.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.18.0.ebuild index 5ea474da86e3..55d28e451d57 100644 --- a/dev-python/grpcio-tools/grpcio-tools-1.18.0.ebuild +++ b/dev-python/grpcio-tools/grpcio-tools-1.18.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{5,6} ) -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Protobuf code generator for gRPC" HOMEPAGE="https://grpc.io" @@ -24,6 +24,7 @@ DEPEND="${RDEPEND} " python_compile() { + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" export GRPC_PYTHON_BUILD_WITH_CYTHON=1 distutils-r1_python_compile } diff --git a/dev-python/grpcio-tools/grpcio-tools-1.19.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.19.0.ebuild index 04f4b78e49f1..54eb74fc6325 100644 --- a/dev-python/grpcio-tools/grpcio-tools-1.19.0.ebuild +++ b/dev-python/grpcio-tools/grpcio-tools-1.19.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Protobuf code generator for gRPC" HOMEPAGE="https://grpc.io" @@ -24,6 +24,7 @@ DEPEND="${RDEPEND} " python_compile() { + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" export GRPC_PYTHON_BUILD_WITH_CYTHON=1 distutils-r1_python_compile } -- 2.26.2