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: Sat, 21 Sep 2019 09:16:00
Message-Id: 1569057326.7f6b5a234aa3c3d80fcc029f76918851094b3355.mgorny@gentoo
1 commit: 7f6b5a234aa3c3d80fcc029f76918851094b3355
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 21 08:32:43 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 21 09:15:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6b5a23
7
8 dev-ml/llvm-ocaml: Reorder ebuild vars in 9+
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild | 3 +--
13 dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild | 3 +--
14 dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild | 6 ++----
15 3 files changed, 4 insertions(+), 8 deletions(-)
16
17 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild
18 index 3fd5dbb40b8..5fb5269eb05 100644
19 --- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild
20 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild
21 @@ -28,6 +28,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
22 SLOT="0/${PV}"
23 KEYWORDS=""
24 IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
25 +REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
26 RESTRICT="!test? ( test )"
27
28 RDEPEND="
29 @@ -44,8 +45,6 @@ BDEPEND="
30 !!<dev-python/configparser-3.3.0.2
31 ${PYTHON_DEPS}"
32
33 -REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
34 -
35 # least intrusive of all
36 CMAKE_BUILD_TYPE=RelWithDebInfo
37
38
39 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild
40 index fad71890f1a..ea47038cb44 100644
41 --- a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild
42 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild
43 @@ -27,6 +27,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
44 SLOT="0/${PV}"
45 KEYWORDS=""
46 IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
47 +REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
48 RESTRICT="!test? ( test )"
49
50 RDEPEND="
51 @@ -43,8 +44,6 @@ BDEPEND="
52 !!<dev-python/configparser-3.3.0.2
53 ${PYTHON_DEPS}"
54
55 -REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
56 -
57 # least intrusive of all
58 CMAKE_BUILD_TYPE=RelWithDebInfo
59
60
61 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild
62 index 9c9c5f6b244..44c293f604c 100644
63 --- a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild
64 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild
65 @@ -14,6 +14,7 @@ MY_P=llvm-${PV/_/}.src
66 DESCRIPTION="OCaml bindings for LLVM"
67 HOMEPAGE="https://llvm.org/"
68 SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz"
69 +S=${WORKDIR}/${MY_P}
70
71 # Keep in sync with sys-devel/llvm
72 ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
73 @@ -25,6 +26,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
74 SLOT="0/${PV}"
75 KEYWORDS="~amd64 ~arm ~x86"
76 IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
77 +REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
78 RESTRICT="!test? ( test )"
79
80 RDEPEND="
81 @@ -41,10 +43,6 @@ BDEPEND="
82 !!<dev-python/configparser-3.3.0.2
83 ${PYTHON_DEPS}"
84
85 -REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
86 -
87 -S=${WORKDIR}/${MY_P}
88 -
89 # least intrusive of all
90 CMAKE_BUILD_TYPE=RelWithDebInfo