dev-ml/jingoo - 1.5.2 (gentoo)

Search

Package Information

Description:
OCaml template engine almost compatible with Jinja2
Homepage:
https://github.com/tategakibunko/jingoo/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.5.2 8 ~amd64 ~arm64 ~x86 0/1.5.2
View Raw Ebuild
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

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

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

PATCHES=(
	"${FILESDIR}"/${P}-tests.patch
)

RDEPEND="
	dev-ml/menhir:=[ocamlopt?]
	dev-ml/ppx_deriving:=[ocamlopt?]
	dev-ml/re:=[ocamlopt?]
	dev-ml/uucp:=
	dev-ml/uutf:=[ocamlopt?]
"
DEPEND="${RDEPEND}"
BDEPEND="test? ( dev-ml/ounit2 )"

src_test() {
	emake test
}

USE Flags

ocamlopt
Default: Enabled (+)

Dependencies

DEPEND

	dev-ml/menhir:=[ocamlopt?]
	dev-ml/ppx_deriving:=[ocamlopt?]
	dev-ml/re:=[ocamlopt?]
	dev-ml/uucp:=
	dev-ml/uutf:=[ocamlopt?]

RDEPEND

	dev-ml/menhir:=[ocamlopt?]
	dev-ml/ppx_deriving:=[ocamlopt?]
	dev-ml/re:=[ocamlopt?]
	dev-ml/uucp:=
	dev-ml/uutf:=[ocamlopt?]

BDEPEND

test? ( dev-ml/ounit2 )

Manifest for 1.5.2

Type File Size Source URLs
DIST jingoo-1.5.2.tar.gz 70674 bytes https://github.com/tategakibunko/jingoo/archive/refs/tags/1.5.2.tar.gz