summaryrefslogtreecommitdiff
blob: 8243636f76aeaa9825525d73cde128fa4e82fe3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="OCaml template engine almost compatible with Jinja2."
HOMEPAGE="https://github.com/tategakibunko/jingoo"
SRC_URI="https://github.com/tategakibunko/${PN}/archive/v${PV}.tar.gz
	-> ${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="dev-ml/ppx_deriving
	dev-ml/uucp
	dev-ml/uutf
	dev-ml/menhir"
DEPEND="${RDEPEND}
	test? ( dev-ml/ounit )"
BDEPEND="dev-ml/dune"

src_install() {
	default
	rm -r "${D}"/usr/doc || die
}