From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1485717-garchives=archives.gentoo.org@lists.gentoo.org> 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C210D15800F for <garchives@archives.gentoo.org>; Sat, 11 Feb 2023 09:43:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05C8DE0827; Sat, 11 Feb 2023 09:43:53 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD060E0827 for <gentoo-commits@lists.gentoo.org>; Sat, 11 Feb 2023 09:43:52 +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 AC372340D45 for <gentoo-commits@lists.gentoo.org>; Sat, 11 Feb 2023 09:43:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D006588E for <gentoo-commits@lists.gentoo.org>; Sat, 11 Feb 2023 09:43:49 +0000 (UTC) From: "Alfredo Tupone" <tupone@gentoo.org> 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" <tupone@gentoo.org> Message-ID: <1676108614.e5c51e8d76fcba9e76903da984c97b01c8c52294.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-expat/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ocaml-expat/Manifest dev-ml/ocaml-expat/ocaml-expat-1.3.0.ebuild X-VCS-Directories: dev-ml/ocaml-expat/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: e5c51e8d76fcba9e76903da984c97b01c8c52294 X-VCS-Branch: master Date: Sat, 11 Feb 2023 09:43:49 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 49830c7f-0686-4505-b505-c22d73f34a31 X-Archives-Hash: 1525051010372020bca63e5942c57ae0 commit: e5c51e8d76fcba9e76903da984c97b01c8c52294 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Feb 11 09:43:19 2023 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Feb 11 09:43:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5c51e8d dev-ml/ocaml-expat: add 1.3.0 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/ocaml-expat/Manifest | 1 + dev-ml/ocaml-expat/ocaml-expat-1.3.0.ebuild | 55 +++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-ml/ocaml-expat/Manifest b/dev-ml/ocaml-expat/Manifest index 26d8c2c4c49e..77ffcd4e2dec 100644 --- a/dev-ml/ocaml-expat/Manifest +++ b/dev-ml/ocaml-expat/Manifest @@ -1 +1,2 @@ DIST ocaml-expat-1.1.0.tar.gz 58318 BLAKE2B 137bc65c5c867180ba547de17041bd0f588da395928e92eabef45cdbb76a1d139d7cd0d80d33337e1fbff92c9fa3cab2339c0f340f50f467b8fe7d64cba10b1e SHA512 9407f91f5007d6835643719294d4e4907bfc40464d054911591ce80c31d173ddcc7b06157a19c0d3ddd78775806242dc68aea7847e588ca9fd1909def1df4d23 +DIST ocaml-expat-1.3.0.tar.gz 58331 BLAKE2B 4d56dd1354a31095afada7e4b0ccc9d1eb7fae4ed45f579d6b2eeb9366df7c0f5ae58680d4e917185bbce2e5e7c957f266cb4e89b7eb1e943f0fb9f68c28f94d SHA512 72a59c982179ebc2cbd4c0659ec81c1c7422de78f9fff4bd9feebda8739d3a50d2840bb5f058e075dd63a2d1af35727e04315361febca3af6c8605ee52e27498 diff --git a/dev-ml/ocaml-expat/ocaml-expat-1.3.0.ebuild b/dev-ml/ocaml-expat/ocaml-expat-1.3.0.ebuild new file mode 100644 index 000000000000..46144aef7f3f --- /dev/null +++ b/dev-ml/ocaml-expat/ocaml-expat-1.3.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit findlib + +IUSE="doc +ocamlopt test" +RESTRICT="!test? ( test )" + +DESCRIPTION="OCaml bindings for expat" +SRC_URI="https://github.com/whitequark/ocaml-expat/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/whitequark/ocaml-expat" + +RDEPEND="dev-libs/expat + >=dev-lang/ocaml-4.14.1:=[ocamlopt?]" + +DEPEND="${RDEPEND} + test? ( dev-ml/ounit2 )" + +SLOT="0/${PV}" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +PATCHES=( + "${FILESDIR}/ounit2.patch" + "${FILESDIR}/${PN}-1.1.0-cc.patch" +) + +src_compile() { + emake depend + emake all + if use ocamlopt; then + emake allopt + fi + if use doc; then + emake doc + fi +} + +src_test() { + emake test + if use ocamlopt; then + emake testopt + fi +} +src_install() { + findlib_src_preinst + emake install + + if use doc ; then + docinto html + dodoc -r doc/* + fi + dodoc README +}