From 4e244927bc9c83e18a63ceea9f61dbf058d32def Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sat, 9 Apr 2022 16:00:03 +0200 Subject: [PATCH] dev-ml/mirage-block-unix: initial import Signed-off-by: Alessandro Barbieri --- dev-ml/mirage-block-unix/Manifest | 1 + dev-ml/mirage-block-unix/metadata.xml | 11 ++++++ .../mirage-block-unix-2.14.0.ebuild | 36 +++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-ml/mirage-block-unix/Manifest create mode 100644 dev-ml/mirage-block-unix/metadata.xml create mode 100644 dev-ml/mirage-block-unix/mirage-block-unix-2.14.0.ebuild diff --git a/dev-ml/mirage-block-unix/Manifest b/dev-ml/mirage-block-unix/Manifest new file mode 100644 index 0000000000..f766799d84 --- /dev/null +++ b/dev-ml/mirage-block-unix/Manifest @@ -0,0 +1 @@ +DIST mirage-block-unix-2.14.0.tar.gz 23692 BLAKE2B 398e6c0c1a3d48d47aa9dd8a990c537c8afb6e4979867cf3b6ab67c66f06855995a25f0ed4b5b00ac2069a891ba416ab1d776e2699623262952f0154baa8b0d8 SHA512 6c6a98670f0c5763cbff027308df97456af975b572dbc20a64f8410e48f7d5b4ad08007aa33d7020203a7f0f060c06b4b2a17461abb909d3561cccd5ef7421ab diff --git a/dev-ml/mirage-block-unix/metadata.xml b/dev-ml/mirage-block-unix/metadata.xml new file mode 100644 index 0000000000..e0c0fc9945 --- /dev/null +++ b/dev-ml/mirage-block-unix/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-block-unix + + diff --git a/dev-ml/mirage-block-unix/mirage-block-unix-2.14.0.ebuild b/dev-ml/mirage-block-unix/mirage-block-unix-2.14.0.ebuild new file mode 100644 index 0000000000..6ef1150c25 --- /dev/null +++ b/dev-ml/mirage-block-unix/mirage-block-unix-2.14.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Unix implementation of the Mirage_types.BLOCK interface" +HOMEPAGE="https://github.com/mirage/mirage-block-unix" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + dev-ml/cstruct[lwt] + dev-ml/lwt + dev-ml/mirage-block + dev-ml/rresult + dev-ml/uri + dev-ml/logs + dev-ml/io-page + +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/fmt + >=dev-ml/ounit-2 + dev-ml/diet + ) +" + +RESTRICT="!test? ( test )"