mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 07:29:19 +02:00
22 lines
509 B
Bash
22 lines
509 B
Bash
# 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
|
|
}
|