dev-ml/mustache: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-09 12:29:13 +02:00
parent 2697678492
commit a39a219638
3 changed files with 45 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST mustache-3.1.0.tar.gz 21162 BLAKE2B 6a0d54414ac0154d85023a02e9f2e6f256edb528392a89024566a8903b3d80beaa1ccf0d78af523a3c186f0ca09175848579564fcbc7c847ed7491fc527a46bf SHA512 00657c9a5a5bd07ffc2922e4e35b66e07d2da111c6a9f2d2410dda933d99c436ff93a051d1ce8b76257ae6c8d45589a223f76521ab9d3621353f696f13188503

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">rgrinberg/ocaml-mustache</remote-id>
</upstream>
</pkgmetadata>

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="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 )"