From 76878357cf012d531037c2df49a47f2b153d5f46 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 10 Jun 2021 03:36:32 +0000 Subject: net-wireless/soapysdr: conditionalise Python usage in src_install Closes: https://bugs.gentoo.org/794958 Signed-off-by: Sam James --- net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 7 +++++-- net-wireless/soapysdr/soapysdr-9999.ebuild | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'net-wireless') diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild index ffd714150f92..0d446573c63d 100644 --- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild +++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -53,5 +53,8 @@ src_configure() { src_install() { cmake_src_install - python_foreach_impl python_optimize + + if use python; then + python_foreach_impl python_optimize + fi } diff --git a/net-wireless/soapysdr/soapysdr-9999.ebuild b/net-wireless/soapysdr/soapysdr-9999.ebuild index ffd714150f92..0d446573c63d 100644 --- a/net-wireless/soapysdr/soapysdr-9999.ebuild +++ b/net-wireless/soapysdr/soapysdr-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -53,5 +53,8 @@ src_configure() { src_install() { cmake_src_install - python_foreach_impl python_optimize + + if use python; then + python_foreach_impl python_optimize + fi } -- cgit v1.2.3-65-gdbad