public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-cstruct/
Date: Sat, 17 Oct 2015 12:10:24 +0000 (UTC)	[thread overview]
Message-ID: <1445080273.f379f261451d9a6bef0ee96e48a32249c2fffdee.aballier@gentoo> (raw)

commit:     f379f261451d9a6bef0ee96e48a32249c2fffdee
Author:     Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Fri Oct 16 12:31:35 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <herd>ml</herd>
+    <herd>proxy-maintainers</herd>
+    <maintainer>
+        <email>tomboy64@sina.cn</email>
+    </maintainer>
+    <use>
+        <flag name="async">Support for asynchronous execution</flag>
+        <flag name="camlp4">Enable support for camlp4</flag>
+        <flag name="lwt">Enable threads via lwt</flag>
+    </use>
+</pkgmetadata>

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 )


             reply	other threads:[~2015-10-17 12:10 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-17 12:10 Alexis Ballier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-10-17 16:24 [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-cstruct/ Alexis Ballier
2015-10-17 17:21 Alexis Ballier
2015-10-18 18:07 Alexis Ballier
2015-12-19 15:01 Alexis Ballier
2016-02-05 20:59 Alexis Ballier
2016-02-05 20:59 Alexis Ballier
2016-02-10 10:13 Alexis Ballier
2016-02-10 10:32 Ian Delaney
2016-02-22 10:22 Alexis Ballier
2016-05-03  9:14 Alexis Ballier
2016-05-06 13:26 Alexis Ballier
2016-07-01 13:22 Alexis Ballier
2016-08-18 11:02 Alexis Ballier
2016-12-13  8:16 Alexis Ballier
2016-12-13  8:16 Alexis Ballier
2017-01-24 11:14 Alexis Ballier
2017-03-06  7:18 Alexis Ballier
2017-04-01 12:24 Alexis Ballier
2017-04-27 10:54 Alexis Ballier
2017-05-04  9:12 Alexis Ballier
2017-06-08 17:53 Alexis Ballier
2017-06-10 10:20 Alexis Ballier
2017-06-11 11:19 Alexis Ballier
2017-06-12  5:46 Alexis Ballier
2017-06-15 21:56 Alexis Ballier
2017-06-15 21:56 Alexis Ballier
2017-07-04  6:59 Alexis Ballier
2017-07-13 22:09 Alexis Ballier
2017-07-14 12:12 Alexis Ballier
2017-07-18 17:36 Alexis Ballier
2017-09-22  8:32 Alexis Ballier
2017-09-22  8:32 Alexis Ballier
2021-03-04 19:44 Alfredo Tupone
2021-03-04 19:51 Alfredo Tupone
2021-03-04 19:53 Alfredo Tupone
2021-04-04  6:10 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445080273.f379f261451d9a6bef0ee96e48a32249c2fffdee.aballier@gentoo \
    --to=aballier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox