summaryrefslogtreecommitdiff
path: root/dev-ml/reason
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-21 04:04:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-21 04:04:33 +0100
commit3dc4de6331223493015f198dc61854af604da86c (patch)
tree626add8c88d96adf9429cdb19226d9de60e6dafd /dev-ml/reason
parentd895362f98ae63a6ed12cd16d3b3df95d6967f25 (diff)
gentoo auto-resync : 21:10:2024 - 04:04:33
Diffstat (limited to 'dev-ml/reason')
-rw-r--r--dev-ml/reason/Manifest3
-rw-r--r--dev-ml/reason/files/reason-3.12.0-fake-git-version.patch13
-rw-r--r--dev-ml/reason/reason-3.12.0.ebuild42
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-ml/reason/Manifest b/dev-ml/reason/Manifest
index 43d49d8ca47c..53ad191dbd16 100644
--- a/dev-ml/reason/Manifest
+++ b/dev-ml/reason/Manifest
@@ -1,4 +1,7 @@
AUX reason-3.10.0-fake-git-version.patch 432 BLAKE2B 042e55d31a7d1501575f75fa0161f13679e56561c738a5b00e6d91e29e65923344816e0c6de7369b5fab269970c0248c2601eb4ac86e32e6a20556d088474304 SHA512 f11f6f3ef634acd31e3713774c2653f20ab92c188e3eda9c67873c6861b1fd921119fd9b52e6fd51583e0ae3ee559d4ccc69c7b5ab484a7bfe0a9a8418410dd8
+AUX reason-3.12.0-fake-git-version.patch 531 BLAKE2B fe8ce1099ba339a5b5a43d281b0665e867c90d3bfa8d076b2fb7a455b7f102dd060190a21066f5459ec820866100e7fe9cec96a689264b3c67df0b61071dd897 SHA512 c46fb97ad420fce3d316ab19252638b746d4981bb6ccb8c4ed838a46237a40c6e68e8fa256b09de813e7b84a1725cf9867aef21286083c9ed0d9c91ce7b29090
DIST reason-3.11.0.tar.gz 699692 BLAKE2B c377e7ccb222ade2f0a5a9b50147a045fb10a95d7e3a8a9ce91674f76a3174ef169f5575ecde7004db2a43350ac8e7cc73315eefcda57b98c9b3d6cc83ed13bd SHA512 71b70e06afbc193c1c4b379c570347e4f971ed001d60e73cf4a745a9bc110e78d329d5ce5334b59aacb7dbe8d2f12f50b7c6786c9a35fff445da0d26f6a87f7d
+DIST reason-3.12.0.tar.gz 661530 BLAKE2B e2855359595f6240055577f4477975cbe4a836801f5db2431d9b243cc583938c401fcdb36a0e8636aa8ee1368f3565625580c10bef679f520a92fb937571b717 SHA512 4258ee4c6bdc20ff3034458e923e58db7da792d8e22a8ab0b281ea2d6bb503cad30356346e255ad9fcac6fbf4e6bf9bf8cacca08b37ece73f3311d9ef821f9f5
EBUILD reason-3.11.0.ebuild 887 BLAKE2B c109b43d4163884d4b432c12cf6bbdd5230dfa16ff30a70845c4b00315e546d8b519537b8234c80b5d90ab3453432cd56dcf3a2a0164f23b5dbe81af26ad0dc2 SHA512 ed9e18d079b62940f3e3e372ae8da80c83f0f1fd547f8b72d0108f87d2897e552e30fac65c5c63a4bc1ba28c02370a10bd84792243e6badcd17e38d6b58bc9f9
+EBUILD reason-3.12.0.ebuild 922 BLAKE2B 9cd5d9c1cf930c73715ff265ced6ac2c22f0325cc649836cc2c037de0c348a394788b119c76b503cf2cd738eca34687d72e85b47efe8bc9b489c31084ff899cb SHA512 e30a12825204eaaa5692a72a973c272256026daf3252ecd292d364a9f3099c069c00a6ec364bad2d9c30d6d43f47dd7e17884533cff8e75630610e08fd677f99
MISC metadata.xml 583 BLAKE2B f5c1da34708a350aea239b28e65a07903409ca72d4fb530dc6192a820c27fa2da8f2a0fdc2f5716d4ea98b7501e963a904b7299e6f3118e92b3418afa6ae1d6b SHA512 cfcd0f1819698d0563f0b7885d8f7173554c5af1cebcd541b82c304e06806a5b8682cc8f3daf40212cd28f994ec06b6a342bd79c0c90c6726bc7bf853e3883ce
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
+}