From: Georgy Yakovlev Date: Sun, 3 Feb 2019 05:40:14 +0000 (-0800) Subject: opam.eclass: check only for known EAPI, die otherwise X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7d26e01ece751327c6be4b66dce6b2aa576b7a2f;p=gentoo.git opam.eclass: check only for known EAPI, die otherwise Signed-off-by: Georgy Yakovlev --- 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:="