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: Fri, 14 Jul 2017 12:12:28 +0000 (UTC)	[thread overview]
Message-ID: <1500034116.f49fe2883f93c81bd8a022db9c027c3e6cb1d4af.aballier@gentoo> (raw)

commit:     f49fe2883f93c81bd8a022db9c027c3e6cb1d4af
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 14 11:14:19 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Jul 14 12:08:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f49fe288

dev-ml/ocaml-cstruct: bump to 3.1.1

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-ml/ocaml-cstruct/Manifest                   |  1 +
 dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild | 71 +++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/dev-ml/ocaml-cstruct/Manifest b/dev-ml/ocaml-cstruct/Manifest
index f5504580082..b05a1500691 100644
--- a/dev-ml/ocaml-cstruct/Manifest
+++ b/dev-ml/ocaml-cstruct/Manifest
@@ -1,3 +1,4 @@
 DIST ocaml-cstruct-3.0.1.tar.gz 205663 SHA256 1e1c731c8970a82f5947ab0ee73ec2d160df3cd0f5e752a25c2689448e13a7e2 SHA512 355f97f1b3a6e7812b9210e348e4544e0ae6f01bef6536808cdcfe32153f9e3b711d1e869990cbd0205d433a51c7463c10f410b59aae33c32dab7f35f5413c27 WHIRLPOOL 54daaf26d0882fd7c782102c0fb84f683497a6acfee04649e19b9c5c330d24192e710fcbf8dede9b5128474fa314109a87894d99b6f44349dbbca52a68f7a10b
 DIST ocaml-cstruct-3.0.2.tar.gz 205713 SHA256 86dc71140eae007c540cec982211ef48ec776232f2b23dd0b639e0e82099d60b SHA512 041ff15c102036f1162a870534e4bf83477f988344cbf420d21cf589100ba8f2fa2ae5c7de7c16ef36e88a10d6bfac43f3a63c929b6d6d90ae12ad0027d1c76d WHIRLPOOL a249e394c868f916ec243e702bf3eed38fdb2a7f60649b3d1be46bbc1308b4c9a3ac9e5d58ca35726f5fa3320d1773952a8105c34725345854da6837c38c2ff2
 DIST ocaml-cstruct-3.1.0.tar.gz 208552 SHA256 7392fd6e6f79229003511d004466fd4079970aa0f6963d94e9b21f2fe409f00b SHA512 90ce3b093e50e077b66ff15b8f2f756d66b278598c01dc46def5a660eeab38b54edf62e93d4dad6cfc801b264def77158c27c7a8582d68c9690956c517820cae WHIRLPOOL 0e6642a7ced461f89ade09ab83c8e097d554d92e661765ab631014bbeb16af7c49434ca1918d08223eb972922f638628be93851f7b08cd4cea96860c1e380b2a
+DIST ocaml-cstruct-3.1.1.tar.gz 208725 SHA256 0b4469b17daaf7e6423962f2ad3ea02f4d4e35a7b92acb404afa6738570be3d6 SHA512 22ec8fe027dbebee537ff950c2aa9a494d0c4c000d8c4df848eae157b1c9502b73c208bb92c21fa4c13ba0291b7750de31e4c96b3a0571397402f841c3e01c21 WHIRLPOOL 287df0058f4291e2cbeb716f9a26aa7475ddcbfce6d1373c3d7a82d9c49d6c4d167de13298525f94414a9bcff2abff5e6d909a5de25d5063711a5a70f504d2ea

diff --git a/dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild b/dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild
new file mode 100644
index 00000000000..39b192f16a3
--- /dev/null
+++ b/dev-ml/ocaml-cstruct/ocaml-cstruct-3.1.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit findlib
+
+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/${PV}"
+KEYWORDS="~amd64"
+IUSE="async +lwt +ppx test"
+
+RDEPEND="
+	async? (
+		dev-ml/async_kernel:=
+		dev-ml/async_unix:=
+		dev-ml/core_kernel:=
+	)
+	lwt? ( dev-ml/lwt:= )
+	ppx? (
+		dev-ml/ppx_tools:=
+		dev-ml/ocaml-migrate-parsetree:=
+		>=dev-ml/ppx_tools_versioned-5.0.1:=
+	)
+	>=dev-lang/ocaml-4.01:=
+	dev-ml/ocplib-endian:=
+	dev-ml/sexplib:=
+	dev-ml/type-conv:=
+"
+DEPEND="
+	dev-ml/jbuilder
+	dev-ml/opam
+	test? ( dev-ml/ounit )
+	${RDEPEND}
+"
+
+get_targets() {
+	local tgt="cstruct,cstruct-unix"
+	use lwt && tgt+=",cstruct-lwt"
+	use async && tgt+=",cstruct-async"
+	use ppx && tgt+=",ppx_cstruct"
+	echo "${tgt}"
+}
+
+src_compile() {
+	jbuilder build -p $(get_targets) || die
+}
+
+src_test() {
+	jbuilder runtest -p $(get_targets) || die
+}
+
+oinstall() {
+	opam-installer -i \
+		--prefix="${ED}/usr" \
+		--libdir="${D}/$(ocamlc -where)" \
+		--docdir="${ED}/usr/share/doc/${PF}" \
+		${1}.install || die
+}
+
+src_install() {
+	oinstall cstruct
+	oinstall cstruct-unix
+	use lwt && oinstall cstruct-lwt
+	use async && oinstall cstruct-async
+	use ppx && oinstall ppx_cstruct
+}


             reply	other threads:[~2017-07-14 12:12 UTC|newest]

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

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=1500034116.f49fe2883f93c81bd8a022db9c027c3e6cb1d4af.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