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 CDD6D1581EC for ; Fri, 22 Nov 2024 19:37:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12B64E087D; Fri, 22 Nov 2024 19:37:12 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3E42E087D for ; Fri, 22 Nov 2024 19:37:11 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ACF2633BEE8 for ; Fri, 22 Nov 2024 19:37:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49E73AED for ; Fri, 22 Nov 2024 19:37:09 +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: <1732304213.478904b0dd0b968493c0443639bee1fa263f1287.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/jsonm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/jsonm/Manifest dev-ml/jsonm/jsonm-1.0.2.ebuild X-VCS-Directories: dev-ml/jsonm/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 478904b0dd0b968493c0443639bee1fa263f1287 X-VCS-Branch: master Date: Fri, 22 Nov 2024 19:37:09 +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: c47e474f-4dda-494f-8d6f-d79f8046a17b X-Archives-Hash: dd74d1d39b35a4dfa0d988da95294fbf commit: 478904b0dd0b968493c0443639bee1fa263f1287 Author: Alfredo Tupone gentoo org> AuthorDate: Fri Nov 22 19:36:09 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Fri Nov 22 19:36:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=478904b0 dev-ml/jsonm: add 1.0.2 Signed-off-by: Alfredo Tupone gentoo.org> dev-ml/jsonm/Manifest | 1 + dev-ml/jsonm/jsonm-1.0.2.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-ml/jsonm/Manifest b/dev-ml/jsonm/Manifest index edc987b4d3cd..ae14979b3f4f 100644 --- a/dev-ml/jsonm/Manifest +++ b/dev-ml/jsonm/Manifest @@ -1 +1,2 @@ DIST jsonm-1.0.1.tbz 21608 BLAKE2B 4d3ce2a3430176df0876aeb6276a48bf23e51ebee2a1a46e5b25a370b26ba27c9ba09ff01365396123de4851d8f263c4c86c3176b13118910fd458ad3b23d80b SHA512 e86e225073b429f71063af14ad39b87498609db6a122b39e1a739c5b77fcde487bf6b17235b2f9742b7d22aca0f6d475fdba1b0bab2a6329cf7e681fe43d31a6 +DIST jsonm-1.0.2.tbz 22368 BLAKE2B b2f500796a21abb3d540064462dba7bd63459d9f1a3b47e419a8ea075b8cef24b744a128e4eb2c4a238de36db7c0eaaf60f85e137e3767836e23b5ec3cf89b98 SHA512 0072f5c31080202ed1cb996a8530d72c882723f26b597f784441033f59338ba8c0cbabf901794d5b1ae749a54af4d7ebf7b47987db43488c7f6ac7fe191a042f diff --git a/dev-ml/jsonm/jsonm-1.0.2.ebuild b/dev-ml/jsonm/jsonm-1.0.2.ebuild new file mode 100644 index 000000000000..64e58477661e --- /dev/null +++ b/dev-ml/jsonm/jsonm-1.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit findlib + +DESCRIPTION="Non-blocking streaming JSON codec for OCaml" +HOMEPAGE="https://erratique.ch/software/jsonm" +SRC_URI="https://erratique.ch/software/jsonm/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-ml/uutf-1.0.0:= + dev-lang/ocaml:= + dev-ml/uchar:=" +DEPEND="${RDEPEND} + dev-ml/topkg + dev-ml/ocamlbuild + dev-ml/findlib" + +src_compile() { + ocaml pkg/pkg.ml build || die +} + +src_install() { + # Can't use opam-installer here as it is an opam dep... + findlib_src_preinst + + local nativelibs="$(echo _build/src/${PN}.cm{x,xa,xs,ti} _build/src/${PN}.a)" + ocamlfind install ${PN} _build/pkg/META _build/src/${PN}.mli _build/src/${PN}.cm{a,i} ${nativelibs} || die + + newbin _build/test/jsontrip.native jsontrip + dodoc CHANGES.md TODO.md README.md +}