Files
guru/dev-ml/odate/odate-0.7.ebuild
Thomas Bracht Laumann Jespersen 40d97eeda0 dev-ml/odate: add subslot, disable tests
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
2025-10-21 18:08:58 +00:00

26 lines
537 B
Bash

# 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}"