commit: 76878357cf012d531037c2df49a47f2b153d5f46 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jun 10 03:36:32 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jun 10 03:36:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76878357
net-wireless/soapysdr: conditionalise Python usage in src_install Closes: https://bugs.gentoo.org/794958 Signed-off-by: Sam James <sam <AT> gentoo.org> net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 7 +++++-- net-wireless/soapysdr/soapysdr-9999.ebuild | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild index ffd714150f9..0d446573c63 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 ffd714150f9..0d446573c63 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 }
