From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2F04013888F for ; Sat, 17 Oct 2015 12:10:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F61221C006; Sat, 17 Oct 2015 12:10:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0CE521C006 for ; Sat, 17 Oct 2015 12:10:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 612A4340854 for ; Sat, 17 Oct 2015 12:10:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81CCD1171 for ; Sat, 17 Oct 2015 12:10:24 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1445080273.f379f261451d9a6bef0ee96e48a32249c2fffdee.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-cstruct/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ocaml-cstruct/Manifest dev-ml/ocaml-cstruct/metadata.xml dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.0.ebuild X-VCS-Directories: dev-ml/ocaml-cstruct/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: f379f261451d9a6bef0ee96e48a32249c2fffdee X-VCS-Branch: master Date: Sat, 17 Oct 2015 12:10:24 +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-Archives-Salt: 9f2b3061-f130-4523-9bd9-db017ca23b43 X-Archives-Hash: 68960aed55766de7853c5849daf5cfde commit: f379f261451d9a6bef0ee96e48a32249c2fffdee Author: Matthew Brewer sina cn> AuthorDate: Fri Oct 16 12:31:35 2015 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sat Oct 17 11:11:13 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f379f261 dev-ml/ocaml-cstruct: new ebuild - needed as a transitive dependency of Libre S3 1.1 (net-misc/libres3) - explicit support for MirageOS is not enabled known issue: dev-ml/ocaml-cstruct-1.7.0 fails to build with USE=doc ( https://github.com/mirage/ocaml-cstruct/issues/73 ) dev-ml/ocaml-cstruct/Manifest | 1 + dev-ml/ocaml-cstruct/metadata.xml | 14 ++++++++ dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.0.ebuild | 43 +++++++++++++++++++++++++ 3 files changed, 58 insertions(+) diff --git a/dev-ml/ocaml-cstruct/Manifest b/dev-ml/ocaml-cstruct/Manifest new file mode 100644 index 0000000..d7a9c7a --- /dev/null +++ b/dev-ml/ocaml-cstruct/Manifest @@ -0,0 +1 @@ +DIST ocaml-cstruct-1.7.0.tar.gz 245652 SHA256 db996700df500cff933eaaebfff9834ccaba466518bade575934bb133f62f322 SHA512 5a43ffa0ee867c917f171cd90186eaf44a258f1e4fb9db7947d23113fe7d8e9058acfce7030c0e31e211b5448a9e23b48ad748c61ffab6678aa79c6aeaac2f48 WHIRLPOOL 99d7650405df68d8e4d1cfc237eb9a791db5c54cfcdbbf2e9eb5c493881256eed7298588c6ad9ca91b493544df0bb24e9c87c2820c5b92c37d460a8cc6211c26 diff --git a/dev-ml/ocaml-cstruct/metadata.xml b/dev-ml/ocaml-cstruct/metadata.xml new file mode 100644 index 0000000..4913ab2 --- /dev/null +++ b/dev-ml/ocaml-cstruct/metadata.xml @@ -0,0 +1,14 @@ + + + + ml + proxy-maintainers + + tomboy64@sina.cn + + + Support for asynchronous execution + Enable support for camlp4 + Enable threads via lwt + + diff --git a/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.0.ebuild b/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.0.ebuild new file mode 100644 index 0000000..b137031 --- /dev/null +++ b/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +OASIS_BUILD_DOCS=1 +OASIS_BUILD_TESTS=1 + +inherit oasis + +DESCRIPTION="Map OCaml arrays onto C-like structs" +HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="async camlp4 lwt" + +RDEPEND=" + async? ( dev-ml/async:= ) + camlp4? ( dev-ml/camlp4:= ) + lwt? ( dev-ml/lwt:= ) + >=dev-lang/ocaml-4.01:= + dev-ml/ocplib-endian:= + dev-ml/sexplib:= + dev-ml/type-conv:= +" +DEPEND=" + test? ( dev-ml/ounit ) + ${RDEPEND} +" + +src_configure() { + oasis_configure_opts=" + $(use_enable lwt) + $(use_enable camlp4) + $(use_enable async) + --enable-unix + " oasis_src_configure +} + +DOCS=( CHANGES README.md TODO.md )