1 |
commit: bd8ab40422b979ca3976e09db8fc85a83b39a594 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 08:35:04 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 12:26:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd8ab404 |
7 |
|
8 |
sys-devel/clang: Modernize |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-devel/clang/clang-15.0.0.9999.ebuild | 23 +++++++++++++++-------- |
13 |
1 file changed, 15 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/sys-devel/clang/clang-15.0.0.9999.ebuild b/sys-devel/clang/clang-15.0.0.9999.ebuild |
16 |
index 4cb70129b171..eed1670c87ea 100644 |
17 |
--- a/sys-devel/clang/clang-15.0.0.9999.ebuild |
18 |
+++ b/sys-devel/clang/clang-15.0.0.9999.ebuild |
19 |
@@ -1,7 +1,7 @@ |
20 |
# Copyright 1999-2022 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=7 |
24 |
+EAPI=8 |
25 |
|
26 |
PYTHON_COMPAT=( python3_{8..10} ) |
27 |
inherit cmake llvm llvm.org multilib multilib-minimal \ |
28 |
@@ -16,26 +16,32 @@ HOMEPAGE="https://llvm.org/" |
29 |
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" |
30 |
SLOT="$(ver_cut 1)" |
31 |
KEYWORDS="" |
32 |
-IUSE="debug default-compiler-rt default-libcxx default-lld |
33 |
- doc llvm-libunwind +pie +static-analyzer test xml" |
34 |
+IUSE=" |
35 |
+ debug default-compiler-rt default-libcxx default-lld doc |
36 |
+ llvm-libunwind +pie +static-analyzer test xml |
37 |
+" |
38 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
39 |
RESTRICT="!test? ( test )" |
40 |
|
41 |
-RDEPEND=" |
42 |
+DEPEND=" |
43 |
~sys-devel/llvm-${PV}:${SLOT}=[debug=,${MULTILIB_USEDEP}] |
44 |
static-analyzer? ( dev-lang/perl:* ) |
45 |
xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) |
46 |
- ${PYTHON_DEPS}" |
47 |
+" |
48 |
|
49 |
-DEPEND="${RDEPEND}" |
50 |
+RDEPEND=" |
51 |
+ ${PYTHON_DEPS} |
52 |
+ ${DEPEND} |
53 |
+" |
54 |
BDEPEND=" |
55 |
+ ${PYTHON_DEPS} |
56 |
>=dev-util/cmake-3.16 |
57 |
doc? ( $(python_gen_cond_dep ' |
58 |
dev-python/recommonmark[${PYTHON_USEDEP}] |
59 |
dev-python/sphinx[${PYTHON_USEDEP}] |
60 |
') ) |
61 |
xml? ( virtual/pkgconfig ) |
62 |
- ${PYTHON_DEPS}" |
63 |
+" |
64 |
PDEPEND=" |
65 |
sys-devel/clang-common |
66 |
~sys-devel/clang-runtime-${PV} |
67 |
@@ -45,7 +51,8 @@ PDEPEND=" |
68 |
!llvm-libunwind? ( sys-libs/libunwind ) |
69 |
) |
70 |
default-libcxx? ( >=sys-libs/libcxx-${PV} ) |
71 |
- default-lld? ( sys-devel/lld )" |
72 |
+ default-lld? ( sys-devel/lld ) |
73 |
+" |
74 |
|
75 |
LLVM_COMPONENTS=( |
76 |
clang clang-tools-extra cmake |