Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 05 Feb 2019 19:22:14
Message-Id: 1549394521.7d26e01ece751327c6be4b66dce6b2aa576b7a2f.gyakovlev@gentoo
1 commit: 7d26e01ece751327c6be4b66dce6b2aa576b7a2f
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 3 05:40:14 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 5 19:22:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d26e01e
7
8 opam.eclass: check only for known EAPI, die otherwise
9
10 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
11
12 eclass/opam.eclass | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/eclass/opam.eclass b/eclass/opam.eclass
16 index 03ffc027641..c742ff7e936 100644
17 --- a/eclass/opam.eclass
18 +++ b/eclass/opam.eclass
19 @@ -13,8 +13,8 @@
20 # src_install for opam-based packages.
21
22 case ${EAPI:-0} in
23 - 0|1|2|3|4) die "You need at least EAPI-5 to use opam.eclass";;
24 - *) ;;
25 + 5|6|7) ;;
26 + *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
27 esac
28
29 RDEPEND=">=dev-lang/ocaml-4:="