commit: 6b948dbeb0847244a4cda00ae89743cbc29e55ec Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Fri Apr 18 06:45:37 2025 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Fri Apr 18 06:45:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b948dbe
dev-ml/core_unix: add 0.17.1 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/core_unix/Manifest | 1 + dev-ml/core_unix/core_unix-0.17.1.ebuild | 46 ++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ml/core_unix/Manifest b/dev-ml/core_unix/Manifest index 497f35f02a29..18a4fbe672f8 100644 --- a/dev-ml/core_unix/Manifest +++ b/dev-ml/core_unix/Manifest @@ -1,3 +1,4 @@ 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 +DIST core_unix-0.17.1.tar.gz 403373 BLAKE2B 384bc85e12362e7ec02c9e2e1e38f6350d8c9db682e4e8a23184487a0261b45373460d3f22d7a87856d88bfc1176a1ea5d7d5fa0d88979b81c8250e546c9ea7a SHA512 c4e8ce9d5885ac8fa8d554a97e1857f3a1c933e0eb5dfd4fe874412b9d09e6d0a2973b644733855553f33f5c859719228f0e6aaf3a2b7eb5befb46fc513750de diff --git a/dev-ml/core_unix/core_unix-0.17.1.ebuild b/dev-ml/core_unix/core_unix-0.17.1.ebuild new file mode 100644 index 000000000000..5cf57a86ca53 --- /dev/null +++ b/dev-ml/core_unix/core_unix-0.17.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023-2025 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" +RESTRICT="test" + +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}"/${PN}-0.17.0-musl.patch +) + +src_prepare() { + sed -i \ + -e "s:gcc:$(tc-getCC):" \ + unix_pseudo_terminal/src/discover.sh \ + || die + + default +}
