summaryrefslogtreecommitdiff
path: root/dev-ml/odate/odate-0.7.ebuild
blob: bd31fe5ec2ec6403646ad6effe08b9aecf07d39f (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
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Date & Duration Library"
HOMEPAGE="https://github.com/hhugo/odate"
SRC_URI="https://github.com/hhugo/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"

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

# Tests are broken
# see https://github.com/hhugo/odate/issues/7
RESTRICT="test"

RDEPEND="
	>=dev-ml/menhir-20230608:=[ocamlopt?]
	>=dev-lang/ocaml-4.07:=[ocamlopt?]
"
DEPEND="${RDEPEND}"