dev-python/grpcio-tools: honor makeopts jobs
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Wed, 8 May 2019 02:58:41 +0000 (19:58 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Wed, 8 May 2019 02:58:41 +0000 (19:58 -0700)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
dev-python/grpcio-tools/grpcio-tools-1.17.1.ebuild
dev-python/grpcio-tools/grpcio-tools-1.18.0.ebuild
dev-python/grpcio-tools/grpcio-tools-1.19.0.ebuild

index 5ea474da86e3373f339346c1bd8002ed5236f1c0..55d28e451d57cad8ff879bdd7aaf17db22231046 100644 (file)
@@ -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
 }
index 5ea474da86e3373f339346c1bd8002ed5236f1c0..55d28e451d57cad8ff879bdd7aaf17db22231046 100644 (file)
@@ -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
 }
index 04f4b78e49f184961fd35d647e644d9cd6feff61..54eb74fc63257938c42d4f8de00f7b1d4b29aac0 100644 (file)
@@ -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
 }