commit:     388fb2a68e9ae8fbef5da4c2a17b9b1641fb2eff
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 10 19:38:40 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Jul 10 19:39:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388fb2a6

sys-cluster/rdma-core: call python conditionally

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 sys-cluster/rdma-core/rdma-core-26.0-r2.ebuild | 2 +-
 sys-cluster/rdma-core/rdma-core-26.1-r1.ebuild | 2 +-
 sys-cluster/rdma-core/rdma-core-27.0-r2.ebuild | 2 +-
 sys-cluster/rdma-core/rdma-core-28.0-r1.ebuild | 2 +-
 sys-cluster/rdma-core/rdma-core-29.0-r1.ebuild | 2 +-
 sys-cluster/rdma-core/rdma-core-30.0-r1.ebuild | 2 +-
 sys-cluster/rdma-core/rdma-core-9999.ebuild    | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sys-cluster/rdma-core/rdma-core-26.0-r2.ebuild 
b/sys-cluster/rdma-core/rdma-core-26.0-r2.ebuild
index 74779b99fe8..ae773c23dc3 100644
--- a/sys-cluster/rdma-core/rdma-core-26.0-r2.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-26.0-r2.ebuild
@@ -59,7 +59,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=( "${FILESDIR}"/optional_pandoc.patch )
 
 pkg_setup() {
-       python-single-r1_pkg_setup
+       use python && python-single-r1_pkg_setup
 
 }
 

diff --git a/sys-cluster/rdma-core/rdma-core-26.1-r1.ebuild 
b/sys-cluster/rdma-core/rdma-core-26.1-r1.ebuild
index 19ce4ff4082..720b47023ae 100644
--- a/sys-cluster/rdma-core/rdma-core-26.1-r1.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-26.1-r1.ebuild
@@ -59,7 +59,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=( "${FILESDIR}"/optional_pandoc.patch )
 
 pkg_setup() {
-       python-single-r1_pkg_setup
+       use python && python-single-r1_pkg_setup
 
 }
 

diff --git a/sys-cluster/rdma-core/rdma-core-27.0-r2.ebuild 
b/sys-cluster/rdma-core/rdma-core-27.0-r2.ebuild
index 7f6e171699e..9911097e9b4 100644
--- a/sys-cluster/rdma-core/rdma-core-27.0-r2.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-27.0-r2.ebuild
@@ -59,7 +59,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=( "${FILESDIR}"/optional_pandoc.patch )
 
 pkg_setup() {
-       python-single-r1_pkg_setup
+       use python && python-single-r1_pkg_setup
 
 }
 

diff --git a/sys-cluster/rdma-core/rdma-core-28.0-r1.ebuild 
b/sys-cluster/rdma-core/rdma-core-28.0-r1.ebuild
index 895bd252e6e..be7204ccc11 100644
--- a/sys-cluster/rdma-core/rdma-core-28.0-r1.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-28.0-r1.ebuild
@@ -59,7 +59,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=( "${FILESDIR}"/optional_pandoc.patch )
 
 pkg_setup() {
-       python-single-r1_pkg_setup
+       use python && python-single-r1_pkg_setup
 
 }
 

diff --git a/sys-cluster/rdma-core/rdma-core-29.0-r1.ebuild 
b/sys-cluster/rdma-core/rdma-core-29.0-r1.ebuild
index 9a120345c30..6d0a8046f9c 100644
--- a/sys-cluster/rdma-core/rdma-core-29.0-r1.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-29.0-r1.ebuild
@@ -59,7 +59,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=( "${FILESDIR}"/optional_pandoc.patch )
 
 pkg_setup() {
-       python-single-r1_pkg_setup
+       use python && python-single-r1_pkg_setup
 
 }
 

diff --git a/sys-cluster/rdma-core/rdma-core-30.0-r1.ebuild 
b/sys-cluster/rdma-core/rdma-core-30.0-r1.ebuild
index 9bcb28a2f0b..c7530aca8d2 100644
--- a/sys-cluster/rdma-core/rdma-core-30.0-r1.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-30.0-r1.ebuild
@@ -59,7 +59,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=( "${FILESDIR}"/optional_pandoc.patch )
 
 pkg_setup() {
-       python-single-r1_pkg_setup
+       use python && python-single-r1_pkg_setup
 
 }
 

diff --git a/sys-cluster/rdma-core/rdma-core-9999.ebuild 
b/sys-cluster/rdma-core/rdma-core-9999.ebuild
index fae3876a639..6db92b4ee10 100644
--- a/sys-cluster/rdma-core/rdma-core-9999.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-9999.ebuild
@@ -57,7 +57,7 @@ RDEPEND="${COMMON_DEPEND}
 BDEPEND="virtual/pkgconfig"
 
 pkg_setup() {
-       python-single-r1_pkg_setup
+       use python && python-single-r1_pkg_setup
 
 }
 

Reply via email to