1 |
commit: 76878357cf012d531037c2df49a47f2b153d5f46 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 10 03:36:32 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 10 03:36:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76878357 |
7 |
|
8 |
net-wireless/soapysdr: conditionalise Python usage in src_install |
9 |
|
10 |
Closes: https://bugs.gentoo.org/794958 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 7 +++++-- |
14 |
net-wireless/soapysdr/soapysdr-9999.ebuild | 7 +++++-- |
15 |
2 files changed, 10 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild |
18 |
index ffd714150f9..0d446573c63 100644 |
19 |
--- a/net-wireless/soapysdr/soapysdr-0.7.2.ebuild |
20 |
+++ b/net-wireless/soapysdr/soapysdr-0.7.2.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -53,5 +53,8 @@ src_configure() { |
28 |
|
29 |
src_install() { |
30 |
cmake_src_install |
31 |
- python_foreach_impl python_optimize |
32 |
+ |
33 |
+ if use python; then |
34 |
+ python_foreach_impl python_optimize |
35 |
+ fi |
36 |
} |
37 |
|
38 |
diff --git a/net-wireless/soapysdr/soapysdr-9999.ebuild b/net-wireless/soapysdr/soapysdr-9999.ebuild |
39 |
index ffd714150f9..0d446573c63 100644 |
40 |
--- a/net-wireless/soapysdr/soapysdr-9999.ebuild |
41 |
+++ b/net-wireless/soapysdr/soapysdr-9999.ebuild |
42 |
@@ -1,4 +1,4 @@ |
43 |
-# Copyright 1999-2020 Gentoo Authors |
44 |
+# Copyright 1999-2021 Gentoo Authors |
45 |
# Distributed under the terms of the GNU General Public License v2 |
46 |
|
47 |
EAPI=7 |
48 |
@@ -53,5 +53,8 @@ src_configure() { |
49 |
|
50 |
src_install() { |
51 |
cmake_src_install |
52 |
- python_foreach_impl python_optimize |
53 |
+ |
54 |
+ if use python; then |
55 |
+ python_foreach_impl python_optimize |
56 |
+ fi |
57 |
} |