gentoo-ebuilds/dev-ml/stringext/stringext-1.6.0.ebuild
Sam James 02a6ff74ac
dev-ml/stringext: Stabilize 1.6.0 amd64, #957586
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-14 23:01:04 +01:00

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
}