summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-03 23:25:51 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-15 01:21:33 +0200
commit853ca8d8199a367d6931f01f851ad4d10316459c (patch)
tree33bb1e4805ffba3611d00b359762d878036f1fae /net-wireless
parentnet-irc/weechat: Drop superfluous calls to python_is_python3 (diff)
downloadgentoo-853ca8d8199a367d6931f01f851ad4d10316459c.tar.gz
gentoo-853ca8d8199a367d6931f01f851ad4d10316459c.tar.bz2
gentoo-853ca8d8199a367d6931f01f851ad4d10316459c.zip
net-wireless/soapysdr: Drop superfluous calls to python_is_python3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/soapysdr/soapysdr-0.7.1.ebuild8
-rw-r--r--net-wireless/soapysdr/soapysdr-9999.ebuild8
2 files changed, 8 insertions, 8 deletions
diff --git a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
index 178d51ae1427..f3b498a69d52 100644
--- a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
+++ b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
@@ -39,10 +39,10 @@ PDEPEND="bladerf? ( net-wireless/soapybladerf )
src_configure() {
configuration() {
- mycmakeargs+=( -DENABLE_PYTHON=ON )
- if python_is_python3; then
- mycmakeargs+=( -DBUILD_PYTHON3=ON )
- fi
+ mycmakeargs+=(
+ -DENABLE_PYTHON=ON
+ -DBUILD_PYTHON3=ON
+ )
}
if use python; then
diff --git a/net-wireless/soapysdr/soapysdr-9999.ebuild b/net-wireless/soapysdr/soapysdr-9999.ebuild
index 178d51ae1427..f3b498a69d52 100644
--- a/net-wireless/soapysdr/soapysdr-9999.ebuild
+++ b/net-wireless/soapysdr/soapysdr-9999.ebuild
@@ -39,10 +39,10 @@ PDEPEND="bladerf? ( net-wireless/soapybladerf )
src_configure() {
configuration() {
- mycmakeargs+=( -DENABLE_PYTHON=ON )
- if python_is_python3; then
- mycmakeargs+=( -DBUILD_PYTHON3=ON )
- fi
+ mycmakeargs+=(
+ -DENABLE_PYTHON=ON
+ -DBUILD_PYTHON3=ON
+ )
}
if use python; then