From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/reason/, dev-ml/reason/files/
Date: Sat, 19 Oct 2024 14:43:06 +0000 (UTC) [thread overview]
Message-ID: <1729348963.79b4922ba1cd281754ec72b261bea0f7c86a9ad1.tupone@gentoo> (raw)
commit: 79b4922ba1cd281754ec72b261bea0f7c86a9ad1
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 14:42:11 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 14:42:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b4922b
dev-ml/reason: add 3.12.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/reason/Manifest | 1 +
.../files/reason-3.12.0-fake-git-version.patch | 13 +++++++
dev-ml/reason/reason-3.12.0.ebuild | 42 ++++++++++++++++++++++
3 files changed, 56 insertions(+)
diff --git a/dev-ml/reason/Manifest b/dev-ml/reason/Manifest
index db2f1a18f01c..61765c2bf951 100644
--- a/dev-ml/reason/Manifest
+++ b/dev-ml/reason/Manifest
@@ -1 +1,2 @@
DIST reason-3.11.0.tar.gz 699692 BLAKE2B c377e7ccb222ade2f0a5a9b50147a045fb10a95d7e3a8a9ce91674f76a3174ef169f5575ecde7004db2a43350ac8e7cc73315eefcda57b98c9b3d6cc83ed13bd SHA512 71b70e06afbc193c1c4b379c570347e4f971ed001d60e73cf4a745a9bc110e78d329d5ce5334b59aacb7dbe8d2f12f50b7c6786c9a35fff445da0d26f6a87f7d
+DIST reason-3.12.0.tar.gz 661530 BLAKE2B e2855359595f6240055577f4477975cbe4a836801f5db2431d9b243cc583938c401fcdb36a0e8636aa8ee1368f3565625580c10bef679f520a92fb937571b717 SHA512 4258ee4c6bdc20ff3034458e923e58db7da792d8e22a8ab0b281ea2d6bb503cad30356346e255ad9fcac6fbf4e6bf9bf8cacca08b37ece73f3311d9ef821f9f5
diff --git a/dev-ml/reason/files/reason-3.12.0-fake-git-version.patch b/dev-ml/reason/files/reason-3.12.0-fake-git-version.patch
new file mode 100644
index 000000000000..a00a2e063b84
--- /dev/null
+++ b/dev-ml/reason/files/reason-3.12.0-fake-git-version.patch
@@ -0,0 +1,13 @@
+--- a/src/refmt/dune 2024-10-19 14:08:14.370857664 +0200
++++ b/src/refmt/dune 2024-10-19 14:09:03.820258355 +0200
+@@ -10,8 +10,8 @@
+ (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\\\"")))))
+
+ (rule
+ (with-stdout-to
diff --git a/dev-ml/reason/reason-3.12.0.ebuild b/dev-ml/reason/reason-3.12.0.ebuild
new file mode 100644
index 000000000000..9bf06edc77e2
--- /dev/null
+++ b/dev-ml/reason/reason-3.12.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 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:=[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}"
+
+PATCHES=( "${FILESDIR}/${P}-fake-git-version.patch" )
+
+src_install() {
+ dune-install reason rtop
+
+ dodoc *.md docs/*.md
+}
next reply other threads:[~2024-10-19 14:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-19 14:43 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-23 15:44 [gentoo-commits] repo/gentoo:master commit in: dev-ml/reason/, dev-ml/reason/files/ Maciej Barć
2023-09-15 12:25 Maciej Barć
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1729348963.79b4922ba1cd281754ec72b261bea0f7c86a9ad1.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox