commit: 7d26e01ece751327c6be4b66dce6b2aa576b7a2f
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 3 05:40:14 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Feb 5 19:22:01 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d26e01e
opam.eclass: check only for known EAPI, die otherwise
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
eclass/opam.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/opam.eclass b/eclass/opam.eclass
index 03ffc027641..c742ff7e936 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:="