commit:     4bd2c13ceac71f57a5ce72b48acc2a5039c0b055
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 19:31:50 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 19:35:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd2c13c

dev-ml/reason: restrict to ocaml <4.13; bump to EAPI 8

Closes: https://bugs.gentoo.org/832338
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../{reason-3.7.0-r1.ebuild => reason-3.7.0-r2.ebuild} | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/dev-ml/reason/reason-3.7.0-r1.ebuild 
b/dev-ml/reason/reason-3.7.0-r2.ebuild
similarity index 64%
rename from dev-ml/reason/reason-3.7.0-r1.ebuild
rename to dev-ml/reason/reason-3.7.0-r2.ebuild
index c5b7bcec869d..4836114dfded 100644
--- a/dev-ml/reason/reason-3.7.0-r1.ebuild
+++ b/dev-ml/reason/reason-3.7.0-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit dune
 
@@ -16,6 +16,7 @@ KEYWORDS="~amd64"
 IUSE="+ocamlopt"
 
 RDEPEND="
+       <dev-lang/ocaml-4.13.0:=[ocamlopt?]
        dev-ml/fix:=
        dev-ml/menhir:=
        dev-ml/merlin-extend:=
@@ -25,9 +26,14 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
-src_install() {
-       dune_src_install reason
-       dune_src_install rtop
+DOCS=(
+       CODE_OF_CONDUCT.md HISTORY.md ORIGINS.md PLAN README.md
+       docs/GETTING_STARTED_CONTRIBUTING.md
+       docs/TYPE_PARAMETERS_PARSING.md
+       docs/USING_PARSER_PROGRAMMATICALLY.md
+)
 
-       dodoc *.md
+src_install() {
+       dune-install reason rtop
+       einstalldocs
 }

Reply via email to