dev-ml/odate - 0.7 (guru)

Search

Install

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

Package Information

Description:
Date & Duration Library
Homepage:
https://github.com/hhugo/odate
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.7 8 ~amd64 0/0.7
View Raw Ebuild
# 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}"

USE Flags

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

Global/Standard Flags

ocamlopt
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	>=dev-ml/menhir-20230608:=[ocamlopt?]
	>=dev-lang/ocaml-4.07:=[ocamlopt?]

RDEPEND

	>=dev-ml/menhir-20230608:=[ocamlopt?]
	>=dev-lang/ocaml-4.07:=[ocamlopt?]

Manifest for 0.7

Type File Size Source URLs
DIST odate-0.7.gh.tar.gz 14024 bytes https://github.com/hhugo/odate/archive/0.7.tar.gz