blob: bb5fe92b8b4f7a0acb77d46f19ec2ad8446c8866 (
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
29
30
31
32
33
34
|
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune
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="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="dev-ml/ppx_deriving:=
dev-ml/ppxlib:=
dev-ml/uucp:=
dev-ml/uutf:=
dev-ml/re:=
dev-ml/ocaml-migrate-parsetree:=
dev-ml/menhir:="
DEPEND="${RDEPEND}
test? ( dev-ml/ounit2 )"
src_prepare() {
default
# Port to dev-ml/ounit2
sed -i -e 's/oUnit/ounit2/' tests/dune.in || die
}
|