Signed-off-by: David Seifert <
soap@gentoo.org>
---
eclass/opam.eclass | 33 +++++++++++++--------------------
1 file changed, 13 insertions(+), 20 deletions(-)
diff --git a/eclass/opam.eclass b/eclass/opam.eclass
index 3edc2aa8691..b667bf31f15 100644
--- a/eclass/opam.eclass
+++ b/eclass/opam.eclass
@@ -7,15 +7,15 @@
# ML <
ml@gentoo.org>
# @AUTHOR:
# Alexis Ballier <
aballier@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6 7
+# @SUPPORTED_EAPIS: 7
# @BLURB: Provides functions for installing opam packages.
# @DESCRIPTION:
# Provides dependencies on opam and ocaml, opam-install and a default
# src_install for opam-based packages.
-case ${EAPI:-0} in
- 5|6|7) ;;
- *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
+case ${EAPI} in
+ 7) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
# Do not complain about CFLAGS etc since ml projects do not use them.
@@ -28,15 +28,8 @@ QA_FLAGS_IGNORED='.*'
: ${OPAM_INSTALLER_DEP:="dev-ml/opam-installer"}
RDEPEND=">=dev-lang/ocaml-4:="
-case ${EAPI:-0} in
- 5|6)
- DEPEND=