commit:     21ccb04445622befe66e76370d8f0fff4180ef08
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed May  8 03:00:46 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed May  8 03:00:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21ccb044

dev-python/grpcio: honor makeopts jobs

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-python/grpcio/grpcio-1.17.1.ebuild | 3 ++-
 dev-python/grpcio/grpcio-1.18.0.ebuild | 3 ++-
 dev-python/grpcio/grpcio-1.19.0.ebuild | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-python/grpcio/grpcio-1.17.1.ebuild 
b/dev-python/grpcio/grpcio-1.17.1.ebuild
index c2e61e26d6d..77cc606e199 100644
--- a/dev-python/grpcio/grpcio-1.17.1.ebuild
+++ b/dev-python/grpcio/grpcio-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="High-performance RPC framework (python libraries)"
 HOMEPAGE="https://grpc.io";
@@ -33,5 +33,6 @@ python_compile() {
        export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
        export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
        export GRPC_PYTHON_BUILD_WITH_CYTHON=1
+       export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)"
        distutils-r1_python_compile
 }

diff --git a/dev-python/grpcio/grpcio-1.18.0.ebuild 
b/dev-python/grpcio/grpcio-1.18.0.ebuild
index c2e61e26d6d..77cc606e199 100644
--- a/dev-python/grpcio/grpcio-1.18.0.ebuild
+++ b/dev-python/grpcio/grpcio-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="High-performance RPC framework (python libraries)"
 HOMEPAGE="https://grpc.io";
@@ -33,5 +33,6 @@ python_compile() {
        export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
        export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
        export GRPC_PYTHON_BUILD_WITH_CYTHON=1
+       export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)"
        distutils-r1_python_compile
 }

diff --git a/dev-python/grpcio/grpcio-1.19.0.ebuild 
b/dev-python/grpcio/grpcio-1.19.0.ebuild
index ca93c41d111..8ab781b2bb6 100644
--- a/dev-python/grpcio/grpcio-1.19.0.ebuild
+++ b/dev-python/grpcio/grpcio-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="High-performance RPC framework (python libraries)"
 HOMEPAGE="https://grpc.io";
@@ -34,5 +34,6 @@ python_compile() {
        export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
        export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
        export GRPC_PYTHON_BUILD_WITH_CYTHON=1
+       export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)"
        distutils-r1_python_compile
 }

Reply via email to