diff --git a/dev-ml/mustache/Manifest b/dev-ml/mustache/Manifest new file mode 100644 index 0000000000..c2b5418f03 --- /dev/null +++ b/dev-ml/mustache/Manifest @@ -0,0 +1 @@ +DIST mustache-3.1.0.tar.gz 21162 BLAKE2B 6a0d54414ac0154d85023a02e9f2e6f256edb528392a89024566a8903b3d80beaa1ccf0d78af523a3c186f0ca09175848579564fcbc7c847ed7491fc527a46bf SHA512 00657c9a5a5bd07ffc2922e4e35b66e07d2da111c6a9f2d2410dda933d99c436ff93a051d1ce8b76257ae6c8d45589a223f76521ab9d3621353f696f13188503 diff --git a/dev-ml/mustache/metadata.xml b/dev-ml/mustache/metadata.xml new file mode 100644 index 0000000000..97dc892423 --- /dev/null +++ b/dev-ml/mustache/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + rgrinberg/ocaml-mustache + + diff --git a/dev-ml/mustache/mustache-3.1.0.ebuild b/dev-ml/mustache/mustache-3.1.0.ebuild new file mode 100644 index 0000000000..afd8eea783 --- /dev/null +++ b/dev-ml/mustache/mustache-3.1.0.ebuild @@ -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="mustache.js logic-less templates in OCaml" +HOMEPAGE="https://github.com/rgrinberg/ocaml-mustache" +SRC_URI="https://github.com/rgrinberg/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MYPN}-${PV}" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +DEPEND=" + dev-ml/jsonm + dev-ml/menhir + dev-ml/cmdliner +" +RDEPEND=" + ${DEPEND} + test? ( + dev-ml/ounit + dev-ml/ezjsonm + ) +" + +RESTRICT="!test? ( test )"