summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-10 03:36:32 +0000
committerSam James <sam@gentoo.org>2021-06-10 03:36:32 +0000
commit76878357cf012d531037c2df49a47f2b153d5f46 (patch)
tree68a5630c139cc48f19336d6954d5a67af177d35e /net-wireless/soapysdr
parentmedia-gfx/blender: drop obsolete comment (diff)
downloadgentoo-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/soapysdr')
-rw-r--r--net-wireless/soapysdr/soapysdr-0.7.2.ebuild7
-rw-r--r--net-wireless/soapysdr/soapysdr-9999.ebuild7
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
}