Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/llvm-ocaml/
Date: Sun, 29 Nov 2020 09:31:02
Message-Id: 1606641642.9e5389102aaa0806c6adfa9f8ff7b1ac1b5d1db1.mgorny@gentoo
1 commit: 9e5389102aaa0806c6adfa9f8ff7b1ac1b5d1db1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 09:20:42 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 09:20:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e538910
7
8 dev-ml/llvm-ocaml: Resolve pkgcheck problems
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild | 9 +++++++--
13 dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild | 9 +++++++--
14 dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild | 9 +++++++--
15 dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild | 9 +++++++--
16 dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.ebuild | 9 +++++++--
17 5 files changed, 35 insertions(+), 10 deletions(-)
18
19 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild
20 index f945eb11710..17ad0324ab8 100644
21 --- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild
22 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild
23 @@ -17,7 +17,6 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
24 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
25 "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
26 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
27 -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
28
29 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
30 SLOT="0/${PV}"
31 @@ -29,8 +28,14 @@ RESTRICT="!test? ( test )"
32 RDEPEND="
33 >=dev-lang/ocaml-4.00.0:0=
34 dev-ml/ocaml-ctypes:=
35 - ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?]
36 + ~sys-devel/llvm-${PV}:=[debug?]
37 !sys-devel/llvm[ocaml(-)]"
38 +for x in "${ALL_LLVM_TARGETS[@]}"; do
39 + RDEPEND+="
40 + ~sys-devel/llvm-${PV}[${x}]"
41 +done
42 +unset x
43 +
44 DEPEND="${RDEPEND}"
45 BDEPEND="
46 dev-lang/perl
47
48 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
49 index f63a8b33834..dce57ce08f6 100644
50 --- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
51 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
52 @@ -15,7 +15,6 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
53 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
54 "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
55 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
56 -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
57
58 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
59 SLOT="0/${PV}"
60 @@ -27,8 +26,14 @@ RESTRICT="!test? ( test )"
61 RDEPEND="
62 >=dev-lang/ocaml-4.00.0:0=
63 dev-ml/ocaml-ctypes:=
64 - ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?]
65 + ~sys-devel/llvm-${PV}:=[debug?]
66 !sys-devel/llvm[ocaml(-)]"
67 +for x in "${ALL_LLVM_TARGETS[@]}"; do
68 + RDEPEND+="
69 + ~sys-devel/llvm-${PV}[${x}]"
70 +done
71 +unset x
72 +
73 DEPEND="${RDEPEND}"
74 BDEPEND="
75 dev-lang/perl
76
77 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild
78 index 317ad24d0e2..1cc3103d9d2 100644
79 --- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild
80 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild
81 @@ -17,7 +17,6 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
82 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
83 "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
84 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
85 -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
86
87 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
88 SLOT="0/${PV}"
89 @@ -29,8 +28,14 @@ RESTRICT="!test? ( test )"
90 RDEPEND="
91 >=dev-lang/ocaml-4.00.0:0=
92 dev-ml/ocaml-ctypes:=
93 - ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?]
94 + ~sys-devel/llvm-${PV}:=[debug?]
95 !sys-devel/llvm[ocaml(-)]"
96 +for x in "${ALL_LLVM_TARGETS[@]}"; do
97 + RDEPEND+="
98 + ~sys-devel/llvm-${PV}[${x}]"
99 +done
100 +unset x
101 +
102 DEPEND="${RDEPEND}"
103 BDEPEND="
104 dev-lang/perl
105
106 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild
107 index 1d3cf3b002d..53bd69a34ce 100644
108 --- a/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild
109 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild
110 @@ -15,7 +15,6 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
111 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
112 "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
113 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
114 -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
115
116 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
117 SLOT="0/${PV}"
118 @@ -27,8 +26,14 @@ RESTRICT="!test? ( test )"
119 RDEPEND="
120 >=dev-lang/ocaml-4.00.0:0=
121 dev-ml/ocaml-ctypes:=
122 - ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?]
123 + ~sys-devel/llvm-${PV}:=[debug?]
124 !sys-devel/llvm[ocaml(-)]"
125 +for x in "${ALL_LLVM_TARGETS[@]}"; do
126 + RDEPEND+="
127 + ~sys-devel/llvm-${PV}[${x}]"
128 +done
129 +unset x
130 +
131 DEPEND="${RDEPEND}"
132 BDEPEND="
133 dev-lang/perl
134
135 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.ebuild
136 index 2d7234b6038..d2b0fe4d121 100644
137 --- a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.ebuild
138 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.ebuild
139 @@ -15,7 +15,6 @@ llvm.org_set_globals
140 ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
141 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore )
142 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
143 -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
144
145 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
146 SLOT="0/${PV}"
147 @@ -27,8 +26,14 @@ RESTRICT="!test? ( test )"
148 RDEPEND="
149 >=dev-lang/ocaml-4.00.0:0=
150 dev-ml/ocaml-ctypes:=
151 - ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?]
152 + ~sys-devel/llvm-${PV}:=[debug?]
153 !sys-devel/llvm[ocaml(-)]"
154 +for x in "${ALL_LLVM_TARGETS[@]}"; do
155 + RDEPEND+="
156 + ~sys-devel/llvm-${PV}[${x}]"
157 +done
158 +unset x
159 +
160 DEPEND="${RDEPEND}"
161 BDEPEND="
162 dev-lang/perl