| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.4.0-r2 | 8 | ~amd64 ~arm64 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DUNE_PKG_NAME="uri uri-bench uri-sexp uri-re"
inherit dune edo
DESCRIPTION="An RFC3986 URI/URL parsing library"
HOMEPAGE="https://github.com/mirage/ocaml-uri"
SRC_URI="https://github.com/mirage/ocaml-uri/releases/download/v${PV}/${P}.tbz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="dev-ml/angstrom:0=[ocamlopt?]
dev-ml/re:0=[ocamlopt?]
dev-ml/sexplib0:0=[ocamlopt?]
dev-ml/stringext:0=[ocamlopt?]
dev-ml/textutils:0=[ocamlopt?]"
BDEPEND="test? ( dev-ml/core_bench
dev-ml/core_unix
dev-ml/crowbar
dev-ml/ounit2
dev-ml/ppx_sexp_conv )"
src_prepare() {
default
# remove fuzzers
edo rm -rf fuzz
}
dev-ml/angstrom:0=[ocamlopt?] dev-ml/re:0=[ocamlopt?] dev-ml/sexplib0:0=[ocamlopt?] dev-ml/stringext:0=[ocamlopt?] dev-ml/textutils:0=[ocamlopt?]
test? ( dev-ml/core_bench dev-ml/core_unix dev-ml/crowbar dev-ml/ounit2 dev-ml/ppx_sexp_conv )