summaryrefslogtreecommitdiff
blob: 0064acfb4d31c95f62c73490e8abf0382913271b (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 2022-2023 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}"/${PN}-4.5.0-gentoo.patch )