Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/
Date: Fri, 14 Aug 2020 23:22:31
Message-Id: 1597447293.853ca8d8199a367d6931f01f851ad4d10316459c.asturm@gentoo
1 commit: 853ca8d8199a367d6931f01f851ad4d10316459c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 21:25:51 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 14 23:21:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=853ca8d8
7
8 net-wireless/soapysdr: Drop superfluous calls to python_is_python3
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 net-wireless/soapysdr/soapysdr-0.7.1.ebuild | 8 ++++----
13 net-wireless/soapysdr/soapysdr-9999.ebuild | 8 ++++----
14 2 files changed, 8 insertions(+), 8 deletions(-)
15
16 diff --git a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
17 index 178d51ae142..f3b498a69d5 100644
18 --- a/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
19 +++ b/net-wireless/soapysdr/soapysdr-0.7.1.ebuild
20 @@ -39,10 +39,10 @@ PDEPEND="bladerf? ( net-wireless/soapybladerf )
21
22 src_configure() {
23 configuration() {
24 - mycmakeargs+=( -DENABLE_PYTHON=ON )
25 - if python_is_python3; then
26 - mycmakeargs+=( -DBUILD_PYTHON3=ON )
27 - fi
28 + mycmakeargs+=(
29 + -DENABLE_PYTHON=ON
30 + -DBUILD_PYTHON3=ON
31 + )
32 }
33
34 if use python; then
35
36 diff --git a/net-wireless/soapysdr/soapysdr-9999.ebuild b/net-wireless/soapysdr/soapysdr-9999.ebuild
37 index 178d51ae142..f3b498a69d5 100644
38 --- a/net-wireless/soapysdr/soapysdr-9999.ebuild
39 +++ b/net-wireless/soapysdr/soapysdr-9999.ebuild
40 @@ -39,10 +39,10 @@ PDEPEND="bladerf? ( net-wireless/soapybladerf )
41
42 src_configure() {
43 configuration() {
44 - mycmakeargs+=( -DENABLE_PYTHON=ON )
45 - if python_is_python3; then
46 - mycmakeargs+=( -DBUILD_PYTHON3=ON )
47 - fi
48 + mycmakeargs+=(
49 + -DENABLE_PYTHON=ON
50 + -DBUILD_PYTHON3=ON
51 + )
52 }
53
54 if use python; then