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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1E62A158094 for ; Fri, 23 Sep 2022 00:09:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EC8CE0B34; Fri, 23 Sep 2022 00:09:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 246D0E0B34 for ; Fri, 23 Sep 2022 00:09:45 +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 3AA0B34100D for ; Fri, 23 Sep 2022 00:09:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A33FF5CD for ; Fri, 23 Sep 2022 00:09:42 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1663891780.b6e876fec2a0275b1f94ddc6fae0b37702116f49.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/yojson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/yojson/Manifest dev-ml/yojson/yojson-2.0.2.ebuild X-VCS-Directories: dev-ml/yojson/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: b6e876fec2a0275b1f94ddc6fae0b37702116f49 X-VCS-Branch: master Date: Fri, 23 Sep 2022 00:09:42 +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: 3ca30cce-e003-43ac-a0d0-daef3f3a5672 X-Archives-Hash: f35678a0d6497b46d1da392fb4dc2c73 commit: b6e876fec2a0275b1f94ddc6fae0b37702116f49 Author: Maciej Barć gentoo org> AuthorDate: Fri Sep 23 00:00:43 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Fri Sep 23 00:09:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e876fe dev-ml/yojson: bump to 2.0.2 Signed-off-by: Maciej Barć gentoo.org> dev-ml/yojson/Manifest | 1 + dev-ml/yojson/yojson-2.0.2.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ml/yojson/Manifest b/dev-ml/yojson/Manifest index 411b2a92266e..de9acdd856c1 100644 --- a/dev-ml/yojson/Manifest +++ b/dev-ml/yojson/Manifest @@ -1,2 +1,3 @@ DIST yojson-1.7.0.tar.gz 29704 BLAKE2B edbd7f66d69a85880fc8ee9bb25a993744a310887024f7af63665ba8f5067f1b9383ec4d6dd5f4ca3376d698665a8f605c078f7597ddd4e71857c1a20143c2e5 SHA512 25eedb64e4bf7c7e8d5a5a115812cd502540afbdeb7c947da3a14e5968aa0a7db8ab402425662571d8935b9cd6a19796ce81dd80a65dc614f156626c60e7036e DIST yojson-2.0.0.tar.gz 44446 BLAKE2B 3b221a016ba418cc6a413921f0d7f2bc239b9a84953bbe9bec2601b159442f3e8bebdf48447367660fec3b3929ea0c08453778e491ce17f9044f505e49d587a6 SHA512 9196e117bb712b970351d12a8d7eae345eef2c92e70e627b58bb95ee49cd58e8a51e6eb5746e2468c15133d53a448ccd229a0568227de0cc8d2eed8b1985609b +DIST yojson-2.0.2.tar.gz 46731 BLAKE2B adca246c055efe04b63e694b7735fc81a714ae3b3ab164152797cc1eff1e483976b80ff31d0ac90f9d4ac234304ec805abb118bb231d0479bc738ddeb56a236c SHA512 61e8084d66d62d05a7802ee82a414807a76959ce6e0b14fd01f1c9c71ea69976d8a2cf3d5718e4059da4161786136a08624cd8470693ef2893b862efa7d6ffd2 diff --git a/dev-ml/yojson/yojson-2.0.2.ebuild b/dev-ml/yojson/yojson-2.0.2.ebuild new file mode 100644 index 000000000000..23350f1a6c06 --- /dev/null +++ b/dev-ml/yojson/yojson-2.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="JSON parsing and pretty-printing library for OCaml" +HOMEPAGE="https://github.com/ocaml-community/yojson" +SRC_URI="https://github.com/ocaml-community/yojson/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="examples +ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/ocaml-4.02.3:=[ocamlopt?] + >=dev-ml/seq-0.2.2:=[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-ml/cppo-1.6.1 + test? ( dev-ml/alcotest )" + +src_prepare() { + default + # let's not build this + rm bench/dune yojson-bench.opam || die +} + +src_install() { + dune_src_install + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +}