summaryrefslogtreecommitdiff
path: root/dev-ml/tyxml/tyxml-4.5.0.ebuild
blob: 192acf0b7965f620674250fffbce1067e989139b (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
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="A library for building correct HTML and SVG documents"
HOMEPAGE="https://github.com/ocsigen/tyxml"
SRC_URI="https://github.com/ocsigen/${PN}/releases/download/${PV}/${P}.tbz"

LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-ml/markup:=
	dev-ml/ppxlib:=
	dev-ml/uutf:=
	dev-ml/re:="
DEPEND="${RDEPEND}"
BDEPEND="test? (
	dev-ml/alcotest
	dev-ml/reason
)"

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