summaryrefslogtreecommitdiff
path: root/dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3-r1.ebuild
blob: dc9bbbdf97fbd9d7164c00bafdc98f80bfee89d0 (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DUNE_PKG_NAME=pcre2
inherit dune

DESCRIPTION="OCaml bindings to PCRE (Perl Compatibility Regular Expressions)"
HOMEPAGE="https://github.com/camlp5/pcre2-ocaml"
SRC_URI="https://github.com/camlp5/${PN}/archive/refs/tags/${PV}.tar.gz
	-> ${P}.tar.gz"

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

RDEPEND="
	dev-libs/libpcre2:=
	dev-ml/dune-configurator:=[ocamlopt?]
"
BDEPEND="test? ( dev-ml/ounit2 )"