From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C3D5D158042 for ; Sat, 19 Oct 2024 14:43:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E69CFE0884; Sat, 19 Oct 2024 14:43:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D105BE0884 for ; Sat, 19 Oct 2024 14:43:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 190933430B5 for ; Sat, 19 Oct 2024 14:43:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79ED7EA0 for ; Sat, 19 Oct 2024 14:43:06 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1729348963.79b4922ba1cd281754ec72b261bea0f7c86a9ad1.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/reason/, dev-ml/reason/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/reason/Manifest dev-ml/reason/files/reason-3.12.0-fake-git-version.patch dev-ml/reason/reason-3.12.0.ebuild X-VCS-Directories: dev-ml/reason/files/ dev-ml/reason/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 79b4922ba1cd281754ec72b261bea0f7c86a9ad1 X-VCS-Branch: master Date: Sat, 19 Oct 2024 14:43:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e9e0d84a-ea38-4ae2-973f-2a111321a62a X-Archives-Hash: e9f838c920cd0d92e868e51f0aa20074 commit: 79b4922ba1cd281754ec72b261bea0f7c86a9ad1 Author: Alfredo Tupone gentoo org> AuthorDate: Sat Oct 19 14:42:11 2024 +0000 Commit: Alfredo Tupone gentoo 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 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 +}