sys-libs/compiler-rt: Add missing python_check_deps()
authorMichał Górny <mgorny@gentoo.org>
Sun, 5 Jan 2020 20:30:11 +0000 (21:30 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 5 Jan 2020 20:32:18 +0000 (21:32 +0100)
Closes: https://bugs.gentoo.org/702494
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild
sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild
sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild
sys-libs/compiler-rt/compiler-rt-9.0.0-r1.ebuild
sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild

index 2adcb2a2721c12f072933f9229b0de15e13962c9..c709777f6bbd2fd544e1a55619d57b74b3fcf6ff 100644 (file)
@@ -32,6 +32,10 @@ BDEPEND="
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo
 
+python_check_deps() {
+       has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
 pkg_pretend() {
        if ! use clang && ! tc-is-clang; then
                ewarn "Building using a compiler other than clang may result in broken atomics"
index 1c2404f43c0fc2ad38a857b5caf32040bfdd807e..dc6beaa1fa9514a2ec996abd8ec0ee1250e2ac6f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -36,6 +36,10 @@ S=${WORKDIR}/${P/_/}.src
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo
 
+python_check_deps() {
+       has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
 pkg_pretend() {
        if ! use clang && ! tc-is-clang; then
                ewarn "Building using a compiler other than clang may result in broken atomics"
index ca77d0bb9d837d14a2e3438a2112f7a48d5943f2..aa5a64dc369d9a2ad72efde28cf978e53d6f39cc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -37,6 +37,10 @@ S=${WORKDIR}/${MY_P}
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo
 
+python_check_deps() {
+       has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
 pkg_pretend() {
        if ! use clang && ! tc-is-clang; then
                ewarn "Building using a compiler other than clang may result in broken atomics"
index d7de81b109c2ea18a815585ea8a2a9a1e9e67fc7..5625439d2c6a00ab586bf543676fc2f44c69509a 100644 (file)
@@ -38,6 +38,10 @@ PATCHES=(
        "${FILESDIR}"/9.0.0/0001-compiler-rt-crt-make-test-case-nontrivial-in-check_c.patch
 )
 
+python_check_deps() {
+       has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
 pkg_pretend() {
        if ! use clang && ! tc-is-clang; then
                ewarn "Building using a compiler other than clang may result in broken atomics"
index a06fc79c1f65050883c8dcd801acdccdd5b8ef0c..d6d21f789d1b35d051bb39535d9bf1c767e409b4 100644 (file)
@@ -32,6 +32,10 @@ BDEPEND="
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo
 
+python_check_deps() {
+       has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
 pkg_pretend() {
        if ! use clang && ! tc-is-clang; then
                ewarn "Building using a compiler other than clang may result in broken atomics"