dev-ml/diet: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-09 15:59:38 +02:00
parent de35a48b09
commit 51759dc024
3 changed files with 38 additions and 0 deletions

1
dev-ml/diet/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST diet-0.4.tar.gz 10139 BLAKE2B df7e3a06f90ced220a2fecff71c0c0c1d61a3bf6bd27cff80712a41e81bd6db4f7afc385cb0ce20d0077831975dd8c7d3d0888fcb9dd9809bdf9478c08ad2d7d SHA512 a8e122ddd343f6d9130169e1b066578f555d7eb2f0795a4603ba6ee6a31ad1ed2a1cc0a3149ac90d3995a7d8f5e770c56d9002160fa01b35bc16d10b9536ce97

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="ocaml-${PN}"
DESCRIPTION="A simple implementation of Discrete Interval Encoding Trees"
HOMEPAGE="https://github.com/mirage/ocaml-diet"
SRC_URI="https://github.com/mirage/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="dev-ml/stdlib-shims"
DEPEND="
${RDEPEND}
test? ( dev-ml/ounit )
"
RESTRICT="!test? ( test )"

11
dev-ml/diet/metadata.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">mirage/ocaml-diet</remote-id>
</upstream>
</pkgmetadata>