commit: 9dbaee7488a852b823c4afa7b109b4a924787b4f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jan 6 20:58:04 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jan 6 21:00:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dbaee74
sys-libs/compiler-rt: Fix Python branches more Suggested by Arfrever. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild | 3 ++- sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild | 3 ++- sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild | 3 ++- sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) 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 abb81deafce..7a7778ae76b 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 dc06a171993..8339d3420ba 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 bad82273c12..5049bf3761b 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 fb6ce9998fa..55650e04a52 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() {