summaryrefslogtreecommitdiff
path: root/dev-ml/spelll/spelll-0.4.ebuild
blob: 4cb9117708c0e064bb648779c5b9c95cfe64a73a (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
25
26
27
28
29
30
31
32
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Fuzzy string searching, using Levenshtein automaton"
HOMEPAGE="https://github.com/c-cube/spelll"
SRC_URI="https://github.com/c-cube/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"

RESTRICT="!test? ( test )"

DOCS=( README.md )

RDEPEND="
	dev-ml/seq:=[ocamlopt?]
	dev-ml/stdlib-shims:=[ocamlopt?]
	>=dev-lang/ocaml-4.03.0:=[ocamlopt?]
"
DEPEND="
	${RDEPEND}
	test? (
		dev-ml/qcheck:=[ocamlopt?]
		dev-ml/mdx:=[ocamlopt?]
	)
"