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

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2024-07-13 09:42:12 +02:00
parent dcb9310e22
commit 9e0326568b
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ocaml-crunch-3.3.1.tar.gz 60602 BLAKE2B 8218c8ca3e0791c5e2857fae4f11b9f9bd1d6687f3b21812762de8fb11c523eceb2bb3470c637509466963bd3c7df5edc6075e79ed900449c03b7fce2b771991 SHA512 9e3fb95d9b592c6463a8c4743419bd100b06727404310089f308705b38a0d3eaa06f58eeaf8b9feef2ec506e4d7035481b3c39b38374d6c1f24903e93aec660b

View File

@@ -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>

View File

@@ -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"