diff options
author | Sam James <sam@gentoo.org> | 2021-04-04 02:39:12 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-04 06:09:40 +0000 |
commit | f0afb0c419fdc85399061efd45cd1cf1f5e458d3 (patch) | |
tree | d09fd64c9ae659b9ac0f809eeb04db1c56470fd0 /eclass/opam.eclass | |
parent | oasis.eclass: remove last-rited eclass (diff) | |
download | gentoo-f0afb0c419fdc85399061efd45cd1cf1f5e458d3.tar.gz gentoo-f0afb0c419fdc85399061efd45cd1cf1f5e458d3.tar.bz2 gentoo-f0afb0c419fdc85399061efd45cd1cf1f5e458d3.zip |
opam.eclass: change case style, remove already unsupported EAPIs
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/opam.eclass')
-rw-r--r-- | eclass/opam.eclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/opam.eclass b/eclass/opam.eclass index 2789e32d315a..262d726a8a7a 100644 --- a/eclass/opam.eclass +++ b/eclass/opam.eclass @@ -29,8 +29,13 @@ QA_FLAGS_IGNORED='.*' RDEPEND=">=dev-lang/ocaml-4:=" case ${EAPI:-0} in - 0|1|2|3|4|5|6) DEPEND="${RDEPEND} ${OPAM_INSTALLER_DEP}";; - *) BDEPEND="${OPAM_INSTALLER_DEP} dev-lang/ocaml"; DEPEND="${RDEPEND}" ;; + 5|6) + DEPEND="${RDEPEND} ${OPAM_INSTALLER_DEP}" + ;; + *) + BDEPEND="${OPAM_INSTALLER_DEP} dev-lang/ocaml" + DEPEND="${RDEPEND}" + ;; esac # @ECLASS-VARIABLE: OPAM_INSTALLER |