summaryrefslogtreecommitdiff
path: root/dev-ml/lambdasoup/lambdasoup-1.1.1.ebuild
blob: 958eecdff2a693be787a15e29a47e43c62bef7c3 (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 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Functional HTML scraping and manipulation library"
HOMEPAGE="https://aantron.github.io/lambdasoup"
SRC_URI="https://github.com/aantron/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"

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

RDEPEND="
	dev-ml/markup:=[ocamlopt?]
	dev-ml/camlp-streams:=[ocamlopt?]
	>=dev-ml/dune-2.7.0
	>=dev-lang/ocaml-4.03.0:=[ocamlopt?]
"
DEPEND="
	${RDEPEND}
	test? (
		dev-ml/ounit2:=[ocamlopt?]
	)
"