diff options
author | Sam James <sam@gentoo.org> | 2021-06-10 03:36:32 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-10 03:36:32 +0000 |
commit | 76878357cf012d531037c2df49a47f2b153d5f46 (patch) | |
tree | 68a5630c139cc48f19336d6954d5a67af177d35e /net-wireless | |
parent | media-gfx/blender: drop obsolete comment (diff) | |
download | gentoo-76878357cf012d531037c2df49a47f2b153d5f46.tar.gz gentoo-76878357cf012d531037c2df49a47f2b153d5f46.tar.bz2 gentoo-76878357cf012d531037c2df49a47f2b153d5f46.zip |
net-wireless/soapysdr: conditionalise Python usage in src_install
Closes: https://bugs.gentoo.org/794958
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 7 | ||||
-rw-r--r-- | 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 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 } |