diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-06 21:58:04 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-06 22:00:46 +0100 |
commit | 9dbaee7488a852b823c4afa7b109b4a924787b4f (patch) | |
tree | 2525c28a97b3770fd98e325079b592b2a6b205eb /sys-libs/compiler-rt | |
parent | app-doc/kicad-doc: Switch to cmake.eclass (diff) | |
download | gentoo-9dbaee7488a852b823c4afa7b109b4a924787b4f.tar.gz gentoo-9dbaee7488a852b823c4afa7b109b4a924787b4f.tar.bz2 gentoo-9dbaee7488a852b823c4afa7b109b4a924787b4f.zip |
sys-libs/compiler-rt: Fix Python branches more
Suggested by Arfrever.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/compiler-rt')
-rw-r--r-- | sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild | 3 | ||||
-rw-r--r-- | sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild | 3 | ||||
-rw-r--r-- | sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild | 3 | ||||
-rw-r--r-- | 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 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() { |