public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-ml/core_unix/
@ 2024-06-15 15:56 Alfredo Tupone
  0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2024-06-15 15:56 UTC (permalink / raw
  To: gentoo-commits

commit:     14cac18433555a42f764d87f0b7e084f90edea8c
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 14:40:27 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 15:55:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14cac184

dev-ml/core_unix: add 0.17.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/core_unix/Manifest                |  1 +
 dev-ml/core_unix/core_unix-0.17.0.ebuild | 43 ++++++++++++++++++++++++++++++++
 profiles/package.mask                    |  1 +
 3 files changed, 45 insertions(+)

diff --git a/dev-ml/core_unix/Manifest b/dev-ml/core_unix/Manifest
index a6a26540f675..ee43feb7a1d8 100644
--- a/dev-ml/core_unix/Manifest
+++ b/dev-ml/core_unix/Manifest
@@ -1,3 +1,4 @@
 DIST core_unix-0.15.0.tar.gz 377928 BLAKE2B 49b58471a28c356bdf39f15e22bd21ec4363182cf744c0455847ffc15015fdad2928a428986c2a9edff647ebef9f2ad2059b184b393e979119c8f007f67ec140 SHA512 eeb53bd0c06a7d1facfb133f0a45a232d57941eff644d4ed6c2d5002acd4e6b323376ec9c05838f760ebd9da3fbc39332989ed50b3921191c175811c947fcbfe
 DIST core_unix-0.15.2.tar.gz 377836 BLAKE2B 56551ab1509bfecc59ae4b45aaaa4d336415cffe9339932239c884bc86207bdb4066aace35144618509b78b461164bdfaaaa04030ecb1b3619de6f8fe5c3a7b9 SHA512 6d59c52111235f952f3052fb86af1d7380ff3d8d89b5c8d59a66d530a14d462fa4b06cdf29f2ee2b4356a574dbefef33b82f60f9fba512942bc0e6aad07f2b6f
 DIST core_unix-0.16.0.tar.gz 391719 BLAKE2B 29105ee1b8342241dbea136207d221af04d9412a74412fb4fd532f08b22b842125a72e69a47d36129a99c04cd3a83e605bc42b970d79a52420b3e273bd9915d5 SHA512 e38a126af832360f0e0079919b930f3fa99b02935c35372b1ed8c7e174af335de2f4dcb8da90be8f9f524542752dd5c62ec6192eb327d7cc6313b7402b0f7f65
+DIST core_unix-0.17.0.tar.gz 403348 BLAKE2B 9afc07343427e84dc71df23b2d3a4e02780dcb75b4969d06a7d06d47b7dfe17e464223258733673265491cecfbea07f92f429167b81ead226319c452e4b895db SHA512 15472af90b0dda207eec57701f7e4f796b3aa35ae81491ffaff5611e3e5ff0532c80464c92528d970b5d651774d4a89fd3ab619b53f4871cf1ffd7741625f6e3

diff --git a/dev-ml/core_unix/core_unix-0.17.0.ebuild b/dev-ml/core_unix/core_unix-0.17.0.ebuild
new file mode 100644
index 000000000000..cec4ce0037dc
--- /dev/null
+++ b/dev-ml/core_unix/core_unix-0.17.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit dune toolchain-funcs
+
+DESCRIPTION="Unix-specific portions of Core"
+HOMEPAGE="https://github.com/janestreet/core_unix"
+SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
+IUSE="+ocamlopt"
+
+RDEPEND="
+	>=dev-lang/ocaml-5
+	dev-ml/core:${SLOT}[ocamlopt?]
+	dev-ml/core_kernel:${SLOT}[ocamlopt?]
+	dev-ml/expect_test_helpers_core:${SLOT}[ocamlopt?]
+	dev-ml/jane-street-headers:${SLOT}[ocamlopt?]
+	dev-ml/jst-config:${SLOT}[ocamlopt?]
+	dev-ml/ppx_jane:${SLOT}[ocamlopt?]
+	dev-ml/ppx_optcomp:${SLOT}[ocamlopt?]
+	dev-ml/sexplib:${SLOT}[ocamlopt?]
+	>=dev-ml/spawn-0.15:=[ocamlopt?]
+	dev-ml/timezone:${SLOT}[ocamlopt?]
+	dev-ml/uopt:${SLOT}[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-ml/dune-3.11"
+
+PATCHES=( "${FILESDIR}"/${P}-musl.patch )
+
+src_prepare() {
+	sed -i \
+		-e "s:gcc:$(tc-getCC):" \
+		unix_pseudo_terminal/src/discover.sh \
+		|| die
+
+	default
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index e3507530b7bf..94bb23e6a762 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -294,6 +294,7 @@ dev-ml/core_kernel:0/0.17
 dev-ml/timezone:0/0.17
 dev-ml/sexp_pretty:0/0.17
 dev-ml/expect_test_helpers_core:0/0.17
+dev-ml/core_unix:0/0.17
 
 # Arthur Zamarin <arthurzam@gentoo.org> (2024-06-08)
 # EAPI=6, waiting for a version bump, not maintained for many years.


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-15 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-15 15:56 [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-ml/core_unix/ Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox