Install this version:
emerge -a =dev-ml/odate-0.7
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ml/odate-0.7
Or alternatively:
emerge --autounmask-write -a =dev-ml/odate-0.7
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.7 | 8 | ~amd64 | 0/0.7 |
# 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}"
Manage flags for this package:
euse -i <flag> -p dev-ml/odate |
euse -E <flag> -p dev-ml/odate |
euse -D <flag> -p dev-ml/odate
>=dev-ml/menhir-20230608:=[ocamlopt?] >=dev-lang/ocaml-4.07:=[ocamlopt?]
>=dev-ml/menhir-20230608:=[ocamlopt?] >=dev-lang/ocaml-4.07:=[ocamlopt?]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | odate-0.7.gh.tar.gz | 14024 bytes | https://github.com/hhugo/odate/archive/0.7.tar.gz |