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-devel/lld/
Date: Tue, 17 Sep 2019 21:01:06
Message-Id: 1568754050.b3b2e75d5057887483c91077989db4f3f85c7b0a.mgorny@gentoo
1 commit: b3b2e75d5057887483c91077989db4f3f85c7b0a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 17 21:00:16 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 17 21:00:50 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b2e75d
7
8 sys-devel/lld: Use BDEPEND semi-properly
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-devel/lld/lld-10.0.0.9999.ebuild | 6 +++---
13 sys-devel/lld/lld-9.0.0.9999.ebuild | 6 +++---
14 2 files changed, 6 insertions(+), 6 deletions(-)
15
16 diff --git a/sys-devel/lld/lld-10.0.0.9999.ebuild b/sys-devel/lld/lld-10.0.0.9999.ebuild
17 index 89abb313a97..2469a9bd704 100644
18 --- a/sys-devel/lld/lld-10.0.0.9999.ebuild
19 +++ b/sys-devel/lld/lld-10.0.0.9999.ebuild
20 @@ -23,14 +23,14 @@ IUSE="test"
21 RESTRICT="!test? ( test )"
22
23 RDEPEND="~sys-devel/llvm-${PV}"
24 -DEPEND="${RDEPEND}
25 - test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )"
26 +DEPEND="${RDEPEND}"
27 +BDEPEND="test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )"
28
29 # least intrusive of all
30 CMAKE_BUILD_TYPE=RelWithDebInfo
31
32 python_check_deps() {
33 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
34 + has_version -b "dev-python/lit[${PYTHON_USEDEP}]"
35 }
36
37 pkg_setup() {
38
39 diff --git a/sys-devel/lld/lld-9.0.0.9999.ebuild b/sys-devel/lld/lld-9.0.0.9999.ebuild
40 index 216166a79af..6935200f15c 100644
41 --- a/sys-devel/lld/lld-9.0.0.9999.ebuild
42 +++ b/sys-devel/lld/lld-9.0.0.9999.ebuild
43 @@ -24,14 +24,14 @@ IUSE="test"
44 RESTRICT="!test? ( test )"
45
46 RDEPEND="~sys-devel/llvm-${PV}"
47 -DEPEND="${RDEPEND}
48 - test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )"
49 +DEPEND="${RDEPEND}"
50 +BDEPEND="test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )"
51
52 # least intrusive of all
53 CMAKE_BUILD_TYPE=RelWithDebInfo
54
55 python_check_deps() {
56 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
57 + has_version -b "dev-python/lit[${PYTHON_USEDEP}]"
58 }
59
60 pkg_setup() {