1 |
commit: e6d4eb055ab7b9935be388f9a1461f3af87d503c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 08:35:12 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 12:27:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6d4eb05 |
7 |
|
8 |
sys-libs/llvm-libunwind: Modernize |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../llvm-libunwind/llvm-libunwind-15.0.0.9999.ebuild | 16 +++++++++++----- |
13 |
1 file changed, 11 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.9999.ebuild |
16 |
index 377022eb4033..6d871c89b6b1 100644 |
17 |
--- a/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.9999.ebuild |
18 |
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-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 |
CMAKE_ECLASS=cmake |
27 |
PYTHON_COMPAT=( python3_{8..10} ) |
28 |
@@ -16,16 +16,22 @@ KEYWORDS="" |
29 |
IUSE="debug static-libs test" |
30 |
RESTRICT="!test? ( test )" |
31 |
|
32 |
-RDEPEND="!sys-libs/libunwind" |
33 |
+RDEPEND=" |
34 |
+ !sys-libs/libunwind |
35 |
+" |
36 |
# llvm-6 for new lit options |
37 |
DEPEND=" |
38 |
- >=sys-devel/llvm-6" |
39 |
+ >=sys-devel/llvm-6 |
40 |
+" |
41 |
BDEPEND=" |
42 |
- ${PYTHON_DEPS} |
43 |
+ !test? ( |
44 |
+ ${PYTHON_DEPS} |
45 |
+ ) |
46 |
test? ( |
47 |
>=sys-devel/clang-3.9.0 |
48 |
$(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') |
49 |
- )" |
50 |
+ ) |
51 |
+" |
52 |
|
53 |
LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake ) |
54 |
LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit ) |