dev-ml/reason: bump to 3.10.0

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2023-09-15 08:55:35 +02:00
parent 6ef0105410
commit 76880cca2e
3 changed files with 54 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST reason-3.10.0.tar.gz 668962 BLAKE2B 11ab06cf12d2bd2381a6e12bd0dd7627ce454356db21ad189acaea7d24dac7e3647c10bb4478ded41f946d2d982b20988e448eb63ba4b68574bdbafa2984d0b7 SHA512 9be379b3953f57096139d766ef7c55d89bf70be4a8153177b9812bfa69c4260ee91dfeb87df2b71d63840f612e53e46cd2867085bdcfc7040e53817a8ff92225
DIST reason-3.9.0.tar.gz 668271 BLAKE2B 46c5937a16462807e653837c7359c661eeb378dcc9ca619b80d8c308e153227c9cfba9c6c1878f87e08c6ca4a026f0acf5ff8e8902765084bddfd4fbacdfd617 SHA512 0b22d21674ed9d0efcde8512476cb6274b3ef43a619c02ae448fb3bb55318af0509c7fc8fb14784411383375e020729eba4b3855569ecefb177deadf462a0de4

View File

@@ -0,0 +1,10 @@
--- a/src/refmt/dune
+++ b/src/refmt/dune
@@ -10,5 +10,5 @@
(with-stdout-to
%{targets}
(progn
- (bash "echo let version = \\\"$(git rev-parse --verify HEAD)\\\"")
- (bash "echo let short_version = \\\"$(git rev-parse --short HEAD)\\\"")))))
+ (bash "echo let version = \\\"0000000000000000000000000000000000000000\\\"")
+ (bash "echo let short_version = \\\"0000000000000000000000000000000000000000\\\"")))))

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2023 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}.git"
else
SRC_URI="https://github.com/reasonml/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0/${PV}"
IUSE="+ocamlopt"
RDEPEND="
dev-ml/dune-build-info:=
dev-ml/fix:=
dev-ml/menhir:=
dev-ml/merlin-extend:=
dev-ml/ocaml-migrate-parsetree:=
dev-ml/ppx_derivers:=
dev-ml/ppxlib:=
dev-ml/utop:=
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-3.10.0-fake-git-version.patch" )
src_install() {
dune-install reason rtop
dodoc *.md docs/*.md
}