summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-02-02 21:40:14 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-02-05 11:22:01 -0800
commit7d26e01ece751327c6be4b66dce6b2aa576b7a2f (patch)
tree250ff56ff6705717278636f21bd9acb89efa18c8 /eclass
parentopam.eclass: unbreak on EAPI=7 (diff)
downloadgentoo-7d26e01ece751327c6be4b66dce6b2aa576b7a2f.tar.gz
gentoo-7d26e01ece751327c6be4b66dce6b2aa576b7a2f.tar.bz2
gentoo-7d26e01ece751327c6be4b66dce6b2aa576b7a2f.zip
opam.eclass: check only for known EAPI, die otherwise
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/opam.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/opam.eclass b/eclass/opam.eclass
index 03ffc0276412..c742ff7e9367 100644
--- a/eclass/opam.eclass
+++ b/eclass/opam.eclass
@@ -13,8 +13,8 @@
# src_install for opam-based packages.
case ${EAPI:-0} in
- 0|1|2|3|4) die "You need at least EAPI-5 to use opam.eclass";;
- *) ;;
+ 5|6|7) ;;
+ *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
esac
RDEPEND=">=dev-lang/ocaml-4:="