From: Michał Górny Date: Mon, 6 Jan 2020 20:58:04 +0000 (+0100) Subject: sys-libs/compiler-rt: Fix Python branches more X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9dbaee7488a852b823c4afa7b109b4a924787b4f;p=gentoo.git sys-libs/compiler-rt: Fix Python branches more Suggested by Arfrever. Signed-off-by: Michał Górny --- diff --git a/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild b/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild index abb81deafce9..7a7778ae76b9 100644 --- a/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild @@ -33,6 +33,7 @@ BDEPEND=" CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { + use test || return 0 has_version "dev-python/lit[${PYTHON_USEDEP}]" } @@ -45,7 +46,7 @@ pkg_pretend() { pkg_setup() { llvm_pkg_setup - use test && python-any-r1_pkg_setup + python-any-r1_pkg_setup } test_compiler() { diff --git a/sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild b/sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild index dc06a171993f..8339d3420ba3 100644 --- a/sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild @@ -37,6 +37,7 @@ S=${WORKDIR}/${P/_/}.src CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { + use test || return 0 has_version "dev-python/lit[${PYTHON_USEDEP}]" } @@ -49,7 +50,7 @@ pkg_pretend() { pkg_setup() { llvm_pkg_setup - use test && python-any-r1_pkg_setup + python-any-r1_pkg_setup } test_compiler() { diff --git a/sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild b/sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild index bad82273c129..5049bf3761b8 100644 --- a/sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild @@ -38,6 +38,7 @@ S=${WORKDIR}/${MY_P} CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { + use test || return 0 has_version "dev-python/lit[${PYTHON_USEDEP}]" } @@ -50,7 +51,7 @@ pkg_pretend() { pkg_setup() { llvm_pkg_setup - use test && python-any-r1_pkg_setup + python-any-r1_pkg_setup } test_compiler() { diff --git a/sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild b/sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild index fb6ce9998fa7..55650e04a52c 100644 --- a/sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild @@ -33,6 +33,7 @@ BDEPEND=" CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { + use test || return 0 has_version "dev-python/lit[${PYTHON_USEDEP}]" } @@ -45,7 +46,7 @@ pkg_pretend() { pkg_setup() { llvm_pkg_setup - use test && python-any-r1_pkg_setup + python-any-r1_pkg_setup } test_compiler() {