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-util/lldb/
Date: Wed, 27 Apr 2022 12:27:20
Message-Id: 1651062418.bfd29dc0de8b39b6c949c3e1dd0d9aeaf9e0ac71.mgorny@gentoo
1 commit: bfd29dc0de8b39b6c949c3e1dd0d9aeaf9e0ac71
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 08:35:09 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 12:26:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfd29dc0
7
8 dev-util/lldb: Modernize
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-util/lldb/lldb-15.0.0.9999.ebuild | 27 ++++++++++++++++++---------
13 1 file changed, 18 insertions(+), 9 deletions(-)
14
15 diff --git a/dev-util/lldb/lldb-15.0.0.9999.ebuild b/dev-util/lldb/lldb-15.0.0.9999.ebuild
16 index 8e5622759466..ce00d4f65588 100644
17 --- a/dev-util/lldb/lldb-15.0.0.9999.ebuild
18 +++ b/dev-util/lldb/lldb-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 python-single-r1
28 @@ -13,26 +13,35 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
29 SLOT="0"
30 KEYWORDS=""
31 IUSE="debug +libedit lzma ncurses +python test +xml"
32 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
33 RESTRICT="test"
34 +REQUIRED_USE=${PYTHON_REQUIRED_USE}
35
36 -RDEPEND="
37 +DEPEND="
38 libedit? ( dev-libs/libedit:0= )
39 lzma? ( app-arch/xz-utils:= )
40 ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
41 + xml? ( dev-libs/libxml2:= )
42 + ~sys-devel/clang-${PV}
43 + ~sys-devel/llvm-${PV}
44 +"
45 +RDEPEND="
46 + ${DEPEND}
47 python? (
48 $(python_gen_cond_dep '
49 dev-python/six[${PYTHON_USEDEP}]
50 ')
51 ${PYTHON_DEPS}
52 )
53 - xml? ( dev-libs/libxml2:= )
54 - ~sys-devel/clang-${PV}
55 - ~sys-devel/llvm-${PV}"
56 -DEPEND="${RDEPEND}"
57 +"
58 BDEPEND="
59 + ${PYTHON_DEPS}
60 >=dev-util/cmake-3.16
61 - python? ( >=dev-lang/swig-3.0.11 )
62 + python? (
63 + >=dev-lang/swig-3.0.11
64 + $(python_gen_cond_dep '
65 + dev-python/six[${PYTHON_USEDEP}]
66 + ')
67 + )
68 test? (
69 $(python_gen_cond_dep "
70 ~dev-python/lit-${PV}[\${PYTHON_USEDEP}]
71 @@ -40,7 +49,7 @@ BDEPEND="
72 ")
73 sys-devel/lld
74 )
75 - ${PYTHON_DEPS}"
76 +"
77
78 LLVM_COMPONENTS=( lldb )
79 LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support llvm/utils/unittest )