diff --git a/dev-ml/reason/Manifest b/dev-ml/reason/Manifest index 93d61125cff8..6d746ab47c99 100644 --- a/dev-ml/reason/Manifest +++ b/dev-ml/reason/Manifest @@ -1 +1,2 @@ DIST reason-3.17.0.gh.tar.gz 630462 BLAKE2B 8c28a7a4fb209b33ed25854027c428a360d9e28a863ff3f8d363256d8a4cceeeaebcf4d2e1730bc84c083eedc0de6ba06ed7a571ca92aeb11a7e8888c495b1bd SHA512 3b3bbdc9cf1b7051777d1b07b43c99b4b8cf8babe51d74abcd11491a084e38fda4163155a2e935484be169da578170c23caf95985e31a86596b14908ec0d74c6 +DIST reason-3.17.2.gh.tar.gz 632190 BLAKE2B 04967950e7d634d95e8caa8cad3f41b619b29a35a8533fd43183a6b2e604640f315169e5b4a17c27dfe0c79f3ef04c50aaf5792e9b58f5284979b8003e2f90e4 SHA512 aba64c2420a78488e158b3270eef484f5ad3357bc316effba581138a4dcaefd91e9302b607b7a622dcfb67668047d05aed4648bff888145674b6506eb16ae792 diff --git a/dev-ml/reason/reason-3.17.2.ebuild b/dev-ml/reason/reason-3.17.2.ebuild new file mode 100644 index 000000000000..4776707db7d6 --- /dev/null +++ b/dev-ml/reason/reason-3.17.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Simple, fast & type safe language that leverages JavaScript and OCaml" +HOMEPAGE="https://reasonml.github.io/ + https://github.com/reasonml/reason/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/reasonml/${PN}" +else + SRC_URI="https://github.com/reasonml/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="+ocamlopt" + +RDEPEND=" + dev-ml/cppo:=[ocamlopt?] + dev-ml/dune-build-info:=[ocamlopt?] + dev-ml/fix:=[ocamlopt?] + dev-ml/menhir:=[ocamlopt?] + dev-ml/merlin-extend:=[ocamlopt?] + dev-ml/ppx_derivers:=[ocamlopt?] + dev-ml/ppxlib:=[ocamlopt?] + dev-ml/utop:=[ocamlopt?] +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-ml/findlib +" + +src_install() { + dune-install reason rtop + dodoc ./*.md ./docs/*.md +}