dev-ml/inotify: add 2.4

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-06-01 00:47:36 +02:00
parent f16ca432c7
commit a90f3f016f
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="ocaml-${PN}"
DESCRIPTION="OCaml bindings for inotify"
HOMEPAGE="
https://github.com/whitequark/ocaml-inotify
https://opam.ocaml.org/packages/inotify/
"
SRC_URI="https://github.com/whitequark/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]"
DEPEND="
${RDEPEND}
test? (
>=dev-ml/ounit2-2.0
>=dev-ml/ocaml-fileutils-0.4.4
dev-ml/lwt
)
"
RESTRICT="!test? ( test )"