commit:     9e0326568b3d5b1715319d74ea7fa4e535ec1093
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 07:42:12 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 07:42:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e032656

dev-ml/ocaml-crunch: new package, add 3.3.1

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/ocaml-crunch/Manifest                  |  1 +
 dev-ml/ocaml-crunch/metadata.xml              | 11 +++++++++++
 dev-ml/ocaml-crunch/ocaml-crunch-3.3.1.ebuild | 24 ++++++++++++++++++++++++
 3 files changed, 36 insertions(+)

diff --git a/dev-ml/ocaml-crunch/Manifest b/dev-ml/ocaml-crunch/Manifest
new file mode 100644
index 000000000000..ea3e1a164ca6
--- /dev/null
+++ b/dev-ml/ocaml-crunch/Manifest
@@ -0,0 +1 @@
+DIST ocaml-crunch-3.3.1.tar.gz 60602 BLAKE2B 
8218c8ca3e0791c5e2857fae4f11b9f9bd1d6687f3b21812762de8fb11c523eceb2bb3470c637509466963bd3c7df5edc6075e79ed900449c03b7fce2b771991
 SHA512 
9e3fb95d9b592c6463a8c4743419bd100b06727404310089f308705b38a0d3eaa06f58eeaf8b9feef2ec506e4d7035481b3c39b38374d6c1f24903e93aec660b

diff --git a/dev-ml/ocaml-crunch/metadata.xml b/dev-ml/ocaml-crunch/metadata.xml
new file mode 100644
index 000000000000..52be4be3f2fa
--- /dev/null
+++ b/dev-ml/ocaml-crunch/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>ML</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">mirage/ocaml-crunch</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-ml/ocaml-crunch/ocaml-crunch-3.3.1.ebuild 
b/dev-ml/ocaml-crunch/ocaml-crunch-3.3.1.ebuild
new file mode 100644
index 000000000000..02a2c8bbce48
--- /dev/null
+++ b/dev-ml/ocaml-crunch/ocaml-crunch-3.3.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DUNE_PKG_NAME=crunch
+inherit dune
+
+DESCRIPTION="Convert a filesystem into a static OCaml module"
+HOMEPAGE="https://github.com/mirage/ocaml-crunch";
+SRC_URI="https://github.com/mirage/${PN}/archive/refs/tags/v${PV}.tar.gz
+       -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+RESTRICT="test"
+
+DEPEND="
+       dev-ml/cmdliner:=[ocamlopt?]
+       dev-ml/ptime:=[ocamlopt?]
+"
+RDEPEND="${DEPEND}"
+BDEPEND=">=dev-ml/dune-2.5"

Reply via email to