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: sys-libs/libcxxabi/
Date: Wed, 27 Apr 2022 12:27:19
Message-Id: 1651062421.17ecf87314e0445c155c7863367414e07748e0d4.mgorny@gentoo
1 commit: 17ecf87314e0445c155c7863367414e07748e0d4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 08:35:13 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=17ecf873
7
8 sys-libs/libcxxabi: Modernize
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-libs/libcxxabi/libcxxabi-15.0.0.9999.ebuild | 18 ++++++++++++------
13 1 file changed, 12 insertions(+), 6 deletions(-)
14
15 diff --git a/sys-libs/libcxxabi/libcxxabi-15.0.0.9999.ebuild b/sys-libs/libcxxabi/libcxxabi-15.0.0.9999.ebuild
16 index 577953191e5d..15858fc7fc75 100644
17 --- a/sys-libs/libcxxabi/libcxxabi-15.0.0.9999.ebuild
18 +++ b/sys-libs/libcxxabi/libcxxabi-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 @@ -22,16 +22,22 @@ RDEPEND="
29 >=sys-libs/libunwind-1.0.1-r1[static-libs?,${MULTILIB_USEDEP}]
30 >=sys-libs/llvm-libunwind-3.9.0-r1[static-libs?,${MULTILIB_USEDEP}]
31 )
32 - )"
33 + )
34 +"
35 # llvm-6 for new lit options
36 -DEPEND="${RDEPEND}
37 - >=sys-devel/llvm-6"
38 +DEPEND="
39 + ${RDEPEND}
40 + >=sys-devel/llvm-6
41 +"
42 BDEPEND="
43 - ${PYTHON_DEPS}
44 + !test? (
45 + ${PYTHON_DEPS}
46 + )
47 test? (
48 >=sys-devel/clang-3.9.0
49 $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
50 - )"
51 + )
52 +"
53
54 LLVM_COMPONENTS=( runtimes libcxx{abi,} llvm/cmake cmake )
55 LLVM_TEST_COMPONENTS=( llvm/utils/llvm-lit )