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 D5673138359 for ; Tue, 13 Oct 2020 12:54:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFE1CE0935; Tue, 13 Oct 2020 12:54:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 7F8BAE0923 for ; Tue, 13 Oct 2020 12:54:20 +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 9F467340D01 for ; Tue, 13 Oct 2020 12:54:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28EAD3BA for ; Tue, 13 Oct 2020 12:54:15 +0000 (UTC) From: "Mark Wright" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mark Wright" Message-ID: <1602593629.4b9a416b5676589fd8a65c2a28d7bc04687f6ed0.gienah@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/metadata.xml dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1.ebuild X-VCS-Directories: dev-ml/ocaml-ctypes/ X-VCS-Committer: gienah X-VCS-Committer-Name: Mark Wright X-VCS-Revision: 4b9a416b5676589fd8a65c2a28d7bc04687f6ed0 X-VCS-Branch: master Date: Tue, 13 Oct 2020 12:54:15 +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: 9c8c5b0d-1a5f-48d8-9ce8-f14e9879af8f X-Archives-Hash: 276e2f9c9ea6088b2502efac7f2f6887 commit: 4b9a416b5676589fd8a65c2a28d7bc04687f6ed0 Author: Mark Wright gentoo org> AuthorDate: Tue Oct 13 12:16:53 2020 +0000 Commit: Mark Wright gentoo org> CommitDate: Tue Oct 13 12:53:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b9a416b dev-ml/ocaml-ctypes: Bump to 0.17.2 Co-Author: Alexis Ballier gentoo.org> Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Mark Wright gentoo.org> dev-ml/ocaml-ctypes/Manifest | 1 + dev-ml/ocaml-ctypes/metadata.xml | 11 ++++--- dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1.ebuild | 41 ++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 4 deletions(-) diff --git a/dev-ml/ocaml-ctypes/Manifest b/dev-ml/ocaml-ctypes/Manifest index dca907ace49..7538af6c255 100644 --- a/dev-ml/ocaml-ctypes/Manifest +++ b/dev-ml/ocaml-ctypes/Manifest @@ -2,3 +2,4 @@ DIST ocaml-ctypes-0.11.2.tar.gz 203564 BLAKE2B 2a8c0ee8f8dcd78c3f93b506e92f2c347 DIST ocaml-ctypes-0.11.3.tar.gz 204959 BLAKE2B f3863e29d355479f9306c39786d56839ab05a119dfd5a64de1a784d71e8d931d5fad0f306402aadb50bc5e8147ab7668ac026b5bfbbaff2b6530d7a33f9f38cc SHA512 e7698954a6b683869a1482af8fe1bbeb5ccf693c2bb8583e2c19c5da92ed2730466e373c6f53d9ff9f09c2bdedf102da3f76b75511d7f9b7d266ac0765999f94 DIST ocaml-ctypes-0.12.1.tar.gz 199686 BLAKE2B d131bb8ebe8448c6d252d32b6a6de2e555f4c7802bec0da83f33ac402d1fd1c73db9abb97fe9f7065fbeaddc782c0976bb05ef6ee6aa80e20b46074a48c343c3 SHA512 801c66395d843c9e410736a06ab5e03bbe22851a364dc9b9444f49dc133e0f5e0b7a1c31e88de56d23a21817cb35595a1b6743c430c8c1a689b7ae12adc8856f DIST ocaml-ctypes-0.13.0.tar.gz 200959 BLAKE2B 9f7274099924bd5502fc8115a1e5ed32f9b56902ce284f5530710c948d6d735a2abfd30affa5f1f7803edb33e062c288963946846be29977af87f19f47dd0fbe SHA512 ba2e4cd77d42cf032d823e26f94a8cc37d81ac12bafd40c5d61685d66c97e18996a286dd8d486c94ad4a34e4214e55104e6283158962871e7f0722b2144f7a7d +DIST ocaml-ctypes-0.17.1.tar.gz 208101 BLAKE2B b9fe6632058a670c988ba9f1ae81b75aa5373de7231cef04d5e2ede61a44cbaa0324c04197a0a202847599a9bbe7dccd18fd3279f3f351493aaec4959caf3ada SHA512 1e197009f7e6b29b43944f757e987934337ebfa11bb2ff2ca8ba3ebc607e37cf1259d07a90d7faf4b91b49ee20d5c65357ad305f34ada0a8d336a3904233150e diff --git a/dev-ml/ocaml-ctypes/metadata.xml b/dev-ml/ocaml-ctypes/metadata.xml index 036e86e13c2..e3a65adc3e7 100644 --- a/dev-ml/ocaml-ctypes/metadata.xml +++ b/dev-ml/ocaml-ctypes/metadata.xml @@ -1,8 +1,11 @@ - - - ocamllabs/ocaml-ctypes - + + gienah@gentoo.org + Mark Wright + + + ocamllabs/ocaml-ctypes + diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1.ebuild new file mode 100644 index 00000000000..5370c08eb05 --- /dev/null +++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.17.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 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 ~arm ~arm64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-lang/ocaml-4.02:=[ocamlopt] + >=dev-libs/libffi-3.3_rc0:0/7 + 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 +}