mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
bazel.eclass: Add EAPI8 support
Also don't BDEP on bazel from the bazel package itself Signed-off-by: Jason Zaman <perfinion@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: bazel.eclass
|
||||
@@ -17,7 +17,7 @@ case "${EAPI:-0}" in
|
||||
0|1|2|3|4|5|6)
|
||||
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
|
||||
;;
|
||||
7)
|
||||
7|8)
|
||||
;;
|
||||
*)
|
||||
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
|
||||
@@ -28,7 +28,9 @@ if [[ ! ${_BAZEL_ECLASS} ]]; then
|
||||
|
||||
inherit multiprocessing toolchain-funcs
|
||||
|
||||
BDEPEND=">=dev-util/bazel-0.20"
|
||||
if [[ ${CATEGORY}/${PN} != "dev-util/bazel" ]]; then
|
||||
BDEPEND=">=dev-util/bazel-0.20"
|
||||
fi
|
||||
|
||||
# @FUNCTION: bazel_get_flags
|
||||
# @DESCRIPTION:
|
||||
|
||||
Reference in New Issue
Block a user