summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-07-13 09:42:12 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-07-13 09:42:56 +0200
commit9e0326568b3d5b1715319d74ea7fa4e535ec1093 (patch)
tree469d3a0583f7fd1ea10b202cb278aa4278e95b38 /dev-ml
parentdev-lang/ruby: avoid broken readline test on arm (diff)
downloadgentoo-9e0326568b3d5b1715319d74ea7fa4e535ec1093.tar.gz
gentoo-9e0326568b3d5b1715319d74ea7fa4e535ec1093.tar.bz2
gentoo-9e0326568b3d5b1715319d74ea7fa4e535ec1093.zip
dev-ml/ocaml-crunch: new package, add 3.3.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-crunch/Manifest1
-rw-r--r--dev-ml/ocaml-crunch/metadata.xml11
-rw-r--r--dev-ml/ocaml-crunch/ocaml-crunch-3.3.1.ebuild24
3 files changed, 36 insertions, 0 deletions
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>ml@gentoo.org</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"