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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6450139337 for ; Tue, 27 Jul 2021 17:30:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C7A8E0877; Tue, 27 Jul 2021 17:30:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13E2BE0875 for ; Tue, 27 Jul 2021 17:30:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12FCB342C60 for ; Tue, 27 Jul 2021 17:30:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E8407AF for ; Tue, 27 Jul 2021 17:30:56 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1627407048.9e37e39ce399cb099f23aeb64e8fc626b263bb47.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-ctypes/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ocaml-ctypes/Manifest dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild X-VCS-Directories: dev-ml/ocaml-ctypes/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9e37e39ce399cb099f23aeb64e8fc626b263bb47 X-VCS-Branch: master Date: Tue, 27 Jul 2021 17:30:56 +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: 82c31f53-2f5d-44fb-a19e-ee170e7f3995 X-Archives-Hash: 7c22a47f55f09c949307b993c6753ead commit: 9e37e39ce399cb099f23aeb64e8fc626b263bb47 Author: Sam James gentoo org> AuthorDate: Tue Jul 27 17:30:06 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jul 27 17:30:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e37e39c dev-ml/ocaml-ctypes: add 0.19.1 Signed-off-by: Sam James gentoo.org> dev-ml/ocaml-ctypes/Manifest | 1 + dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild | 43 ++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ml/ocaml-ctypes/Manifest b/dev-ml/ocaml-ctypes/Manifest index 73f0a2b679d..d36f7d612cd 100644 --- a/dev-ml/ocaml-ctypes/Manifest +++ b/dev-ml/ocaml-ctypes/Manifest @@ -1 +1,2 @@ DIST ocaml-ctypes-0.17.1.tar.gz 208101 BLAKE2B b9fe6632058a670c988ba9f1ae81b75aa5373de7231cef04d5e2ede61a44cbaa0324c04197a0a202847599a9bbe7dccd18fd3279f3f351493aaec4959caf3ada SHA512 1e197009f7e6b29b43944f757e987934337ebfa11bb2ff2ca8ba3ebc607e37cf1259d07a90d7faf4b91b49ee20d5c65357ad305f34ada0a8d336a3904233150e +DIST ocaml-ctypes-0.19.1.tar.gz 206762 BLAKE2B 29b4636e711b9b3ecf3de5d66b796d4d8ddf1109fd7b065666577ce9412e0ef3712f704729dac3b9467ac7ace8f501b90bfc1dc82b86dbe1668e5d13be46741f SHA512 cbf422a2c457b215815a04122d0522ed0f274c5927cecd25951472de6cc6fcd1151b67f95d6bbfeeb3b5f15a9fe9bdedb8861e77bd0de9902418962065e4dfc0 diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild new file mode 100644 index 00000000000..40a1bee9e11 --- /dev/null +++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib + +DESCRIPTION="Library for binding to C libraries using pure OCaml" +HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes" +SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/ocaml-4.02:=[ocamlopt] + >=dev-libs/libffi-3.3_rc0:= + dev-ml/bigarray-compat:= + dev-ml/integers:= +" +DEPEND="${RDEPEND} + test? ( dev-ml/ounit2 dev-ml/lwt )" + +src_prepare() { + sed -e 's/oUnit/ounit2/g' -i Makefile.tests || die + default +} + +src_compile() { + emake -j1 +} + +src_test() { + emake -j1 test +} + +src_install() { + findlib_src_install + dodoc CHANGES.md README.md +}