blob: e9fe9abd2f8ba3a57865a18e03308e5c1cccd342 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Extra string functions for OCaml"
HOMEPAGE="https://github.com/rgrinberg/stringext"
SRC_URI="https://github.com/rgrinberg/${PN}/releases/download/${PV}/${P}.tbz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
BDEPEND="test? ( dev-ml/qcheck )"
src_prepare() {
sed -i -e 's:oUnit:ounit2:' lib_test/dune || die
default
}
|