diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-06 21:59:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-06 22:00:47 +0100 |
commit | 0f269f0aa7f92bd5c8863d6d71b1d59f43fecf84 (patch) | |
tree | 5bfd7ec4678eac06029d7547bb33ef9bd19207c6 /sys-libs | |
parent | sys-libs/compiler-rt: Fix Python branches more (diff) | |
download | gentoo-0f269f0aa7f92bd5c8863d6d71b1d59f43fecf84.tar.gz gentoo-0f269f0aa7f92bd5c8863d6d71b1d59f43fecf84.tar.bz2 gentoo-0f269f0aa7f92bd5c8863d6d71b1d59f43fecf84.zip |
sys-libs/compiler-rt-sanitizers: Fix Python branches more
Suggested by Arfrever.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
4 files changed, 8 insertions, 4 deletions
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.0.9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.0.9999.ebuild index a12bc71b611f..72ee582f5c26 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.0.9999.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.0.9999.ebuild @@ -39,6 +39,7 @@ BDEPEND=" CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { + use test || return 0 has_version "dev-python/lit[${PYTHON_USEDEP}]" } @@ -56,7 +57,7 @@ pkg_pretend() { pkg_setup() { check_space llvm_pkg_setup - use test && python-any-r1_pkg_setup + python-any-r1_pkg_setup } src_prepare() { diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.1.0.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.1.0.ebuild index a82a1960430b..ca11e3a590b6 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.1.0.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-7.1.0.ebuild @@ -46,6 +46,7 @@ S=${WORKDIR}/${MY_P} CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { + use test || return 0 has_version "dev-python/lit[${PYTHON_USEDEP}]" } @@ -63,7 +64,7 @@ pkg_pretend() { pkg_setup() { check_space llvm_pkg_setup - use test && python-any-r1_pkg_setup + python-any-r1_pkg_setup } src_unpack() { diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-8.0.1.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-8.0.1.ebuild index 5e186ea0405b..a02fbc489eb8 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-8.0.1.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-8.0.1.ebuild @@ -46,6 +46,7 @@ S=${WORKDIR}/${MY_P} CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { + use test || return 0 has_version "dev-python/lit[${PYTHON_USEDEP}]" } @@ -63,7 +64,7 @@ pkg_pretend() { pkg_setup() { check_space llvm_pkg_setup - use test && python-any-r1_pkg_setup + python-any-r1_pkg_setup } src_unpack() { diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9.0.1.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9.0.1.ebuild index 6d3618d9efd1..224903af109c 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9.0.1.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9.0.1.ebuild @@ -39,6 +39,7 @@ BDEPEND=" CMAKE_BUILD_TYPE=RelWithDebInfo python_check_deps() { + use test || return 0 has_version "dev-python/lit[${PYTHON_USEDEP}]" } @@ -56,7 +57,7 @@ pkg_pretend() { pkg_setup() { check_space llvm_pkg_setup - use test && python-any-r1_pkg_setup + python-any-r1_pkg_setup } src_prepare() { |