summaryrefslogtreecommitdiff
path: root/eclass/bazel.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-27 20:10:49 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-27 20:10:49 +0000
commite44b9cf3e5b67eaf723e4a335faf39c87167abd3 (patch)
tree3e6660b30910e7eb33586a99c4e892b52380bad6 /eclass/bazel.eclass
parent4429be000a778f363162554d59d903a725283d7d (diff)
gentoo auto-resync : 27:12:2022 - 20:10:49
Diffstat (limited to 'eclass/bazel.eclass')
-rw-r--r--eclass/bazel.eclass16
1 files changed, 5 insertions, 11 deletions
diff --git a/eclass/bazel.eclass b/eclass/bazel.eclass
index 3a8992972d40..8897ea175a84 100644
--- a/eclass/bazel.eclass
+++ b/eclass/bazel.eclass
@@ -6,25 +6,20 @@
# Jason Zaman <perfinion@gentoo.org>
# @AUTHOR:
# Jason Zaman <perfinion@gentoo.org>
-# @SUPPORTED_EAPIS: 7 8
+# @SUPPORTED_EAPIS: 8
# @BLURB: Utility functions for packages using Bazel Build
# @DESCRIPTION:
# A utility eclass providing functions to run the Bazel Build system.
#
# This eclass does not export any phase functions.
-case "${EAPI:-0}" in
- 0|1|2|3|4|5|6)
- die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
- ;;
- 7|8)
- ;;
- *)
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
- ;;
+case ${EAPI} in
+ 8) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
if [[ ! ${_BAZEL_ECLASS} ]]; then
+_BAZEL_ECLASS=1
inherit multiprocessing toolchain-funcs
@@ -222,5 +217,4 @@ bazel_load_distfiles() {
fi
}
-_BAZEL_ECLASS=1
fi