From: Michał Górny Date: Tue, 17 Sep 2019 21:00:16 +0000 (+0200) Subject: sys-devel/lld: Use BDEPEND semi-properly X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b3b2e75d5057887483c91077989db4f3f85c7b0a;p=gentoo.git sys-devel/lld: Use BDEPEND semi-properly Signed-off-by: Michał Górny --- diff --git a/sys-devel/lld/lld-10.0.0.9999.ebuild b/sys-devel/lld/lld-10.0.0.9999.ebuild index 89abb313a970..2469a9bd7046 100644 --- a/sys-devel/lld/lld-10.0.0.9999.ebuild +++ b/sys-devel/lld/lld-10.0.0.9999.ebuild @@ -23,14 +23,14 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND="~sys-devel/llvm-${PV}" -DEPEND="${RDEPEND} - test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )" +DEPEND="${RDEPEND}" +BDEPEND="test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )" # least intrusive of all CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { - has_version "dev-python/lit[${PYTHON_USEDEP}]" + has_version -b "dev-python/lit[${PYTHON_USEDEP}]" } pkg_setup() { diff --git a/sys-devel/lld/lld-9.0.0.9999.ebuild b/sys-devel/lld/lld-9.0.0.9999.ebuild index 216166a79aff..6935200f15c6 100644 --- a/sys-devel/lld/lld-9.0.0.9999.ebuild +++ b/sys-devel/lld/lld-9.0.0.9999.ebuild @@ -24,14 +24,14 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND="~sys-devel/llvm-${PV}" -DEPEND="${RDEPEND} - test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )" +DEPEND="${RDEPEND}" +BDEPEND="test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )" # least intrusive of all CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { - has_version "dev-python/lit[${PYTHON_USEDEP}]" + has_version -b "dev-python/lit[${PYTHON_USEDEP}]" } pkg_setup() {