diff options
author | David Seifert <soap@gentoo.org> | 2022-12-27 17:29:46 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-12-27 17:29:46 +0100 |
commit | 02e710a85256007897d445cd86d4283c11fe47a2 (patch) | |
tree | a2626af82550014dcf44d4cd998bd1d88e3e13b7 | |
parent | aspell-dict-r1.eclass: drop EAPI 7 support (diff) | |
download | gentoo-02e710a85256007897d445cd86d4283c11fe47a2.tar.gz gentoo-02e710a85256007897d445cd86d4283c11fe47a2.tar.bz2 gentoo-02e710a85256007897d445cd86d4283c11fe47a2.zip |
bazel.eclass: drop EAPI 7 support
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r-- | eclass/bazel.eclass | 16 |
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 |