summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}