1 |
Signed-off-by: David Seifert <soap@g.o> |
2 |
--- |
3 |
eclass/bazel.eclass | 16 +++++----------- |
4 |
1 file changed, 5 insertions(+), 11 deletions(-) |
5 |
|
6 |
diff --git a/eclass/bazel.eclass b/eclass/bazel.eclass |
7 |
index 3a8992972d4..8897ea175a8 100644 |
8 |
--- a/eclass/bazel.eclass |
9 |
+++ b/eclass/bazel.eclass |
10 |
@@ -6,25 +6,20 @@ |
11 |
# Jason Zaman <perfinion@g.o> |
12 |
# @AUTHOR: |
13 |
# Jason Zaman <perfinion@g.o> |
14 |
-# @SUPPORTED_EAPIS: 7 8 |
15 |
+# @SUPPORTED_EAPIS: 8 |
16 |
# @BLURB: Utility functions for packages using Bazel Build |
17 |
# @DESCRIPTION: |
18 |
# A utility eclass providing functions to run the Bazel Build system. |
19 |
# |
20 |
# This eclass does not export any phase functions. |
21 |
|
22 |
-case "${EAPI:-0}" in |
23 |
- 0|1|2|3|4|5|6) |
24 |
- die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" |
25 |
- ;; |
26 |
- 7|8) |
27 |
- ;; |
28 |
- *) |
29 |
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
30 |
- ;; |
31 |
+case ${EAPI} in |
32 |
+ 8) ;; |
33 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
34 |
esac |
35 |
|
36 |
if [[ ! ${_BAZEL_ECLASS} ]]; then |
37 |
+_BAZEL_ECLASS=1 |
38 |
|
39 |
inherit multiprocessing toolchain-funcs |
40 |
|
41 |
@@ -222,5 +217,4 @@ bazel_load_distfiles() { |
42 |
fi |
43 |
} |
44 |
|
45 |
-_BAZEL_ECLASS=1 |
46 |
fi |
47 |
-- |
48 |
2.39.0 |