1 |
commit: 9dbaee7488a852b823c4afa7b109b4a924787b4f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 6 20:58:04 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 6 21:00:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dbaee74 |
7 |
|
8 |
sys-libs/compiler-rt: Fix Python branches more |
9 |
|
10 |
Suggested by Arfrever. |
11 |
|
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild | 3 ++- |
15 |
sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild | 3 ++- |
16 |
sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild | 3 ++- |
17 |
sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild | 3 ++- |
18 |
4 files changed, 8 insertions(+), 4 deletions(-) |
19 |
|
20 |
diff --git a/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild b/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild |
21 |
index abb81deafce..7a7778ae76b 100644 |
22 |
--- a/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild |
23 |
+++ b/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild |
24 |
@@ -33,6 +33,7 @@ BDEPEND=" |
25 |
CMAKE_BUILD_TYPE=RelWithDebInfo |
26 |
|
27 |
python_check_deps() { |
28 |
+ use test || return 0 |
29 |
has_version "dev-python/lit[${PYTHON_USEDEP}]" |
30 |
} |
31 |
|
32 |
@@ -45,7 +46,7 @@ pkg_pretend() { |
33 |
|
34 |
pkg_setup() { |
35 |
llvm_pkg_setup |
36 |
- use test && python-any-r1_pkg_setup |
37 |
+ python-any-r1_pkg_setup |
38 |
} |
39 |
|
40 |
test_compiler() { |
41 |
|
42 |
diff --git a/sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild b/sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild |
43 |
index dc06a171993..8339d3420ba 100644 |
44 |
--- a/sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild |
45 |
+++ b/sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild |
46 |
@@ -37,6 +37,7 @@ S=${WORKDIR}/${P/_/}.src |
47 |
CMAKE_BUILD_TYPE=RelWithDebInfo |
48 |
|
49 |
python_check_deps() { |
50 |
+ use test || return 0 |
51 |
has_version "dev-python/lit[${PYTHON_USEDEP}]" |
52 |
} |
53 |
|
54 |
@@ -49,7 +50,7 @@ pkg_pretend() { |
55 |
|
56 |
pkg_setup() { |
57 |
llvm_pkg_setup |
58 |
- use test && python-any-r1_pkg_setup |
59 |
+ python-any-r1_pkg_setup |
60 |
} |
61 |
|
62 |
test_compiler() { |
63 |
|
64 |
diff --git a/sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild b/sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild |
65 |
index bad82273c12..5049bf3761b 100644 |
66 |
--- a/sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild |
67 |
+++ b/sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild |
68 |
@@ -38,6 +38,7 @@ S=${WORKDIR}/${MY_P} |
69 |
CMAKE_BUILD_TYPE=RelWithDebInfo |
70 |
|
71 |
python_check_deps() { |
72 |
+ use test || return 0 |
73 |
has_version "dev-python/lit[${PYTHON_USEDEP}]" |
74 |
} |
75 |
|
76 |
@@ -50,7 +51,7 @@ pkg_pretend() { |
77 |
|
78 |
pkg_setup() { |
79 |
llvm_pkg_setup |
80 |
- use test && python-any-r1_pkg_setup |
81 |
+ python-any-r1_pkg_setup |
82 |
} |
83 |
|
84 |
test_compiler() { |
85 |
|
86 |
diff --git a/sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild b/sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild |
87 |
index fb6ce9998fa..55650e04a52 100644 |
88 |
--- a/sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild |
89 |
+++ b/sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild |
90 |
@@ -33,6 +33,7 @@ BDEPEND=" |
91 |
CMAKE_BUILD_TYPE=RelWithDebInfo |
92 |
|
93 |
python_check_deps() { |
94 |
+ use test || return 0 |
95 |
has_version "dev-python/lit[${PYTHON_USEDEP}]" |
96 |
} |
97 |
|
98 |
@@ -45,7 +46,7 @@ pkg_pretend() { |
99 |
|
100 |
pkg_setup() { |
101 |
llvm_pkg_setup |
102 |
- use test && python-any-r1_pkg_setup |
103 |
+ python-any-r1_pkg_setup |
104 |
} |
105 |
|
106 |
test_compiler() { |