From 388fb2a68e9ae8fbef5da4c2a17b9b1641fb2eff Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Fri, 10 Jul 2020 22:38:40 +0300 Subject: [PATCH] sys-cluster/rdma-core: call python conditionally Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Mikle Kolyada --- 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 74779b99fe8fe..ae773c23dc327 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 19ce4ff4082f6..720b47023aefc 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 7f6e171699e5d..9911097e9b418 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 895bd252e6e67..be7204ccc11c3 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 9a120345c3022..6d0a8046f9c46 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 9bcb28a2f0be1..c7530aca8d217 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 fae3876a639cc..6db92b4ee1047 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 }