dev-ml/duration - 0.3.1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-ml/duration-0.3.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ml/duration-0.3.1

Or alternatively:

emerge --autounmask-write -a =dev-ml/duration-0.3.1

Package Information

Description:
Duration - conversions to various time units
Homepage:
https://github.com/hannesm/duration/
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
0.3.1 8 ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 0/0.3.1
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Duration - conversions to various time units"
HOMEPAGE="https://github.com/hannesm/duration/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3

	EGIT_REPO_URI="https://github.com/hannesm/${PN}"
else
	SRC_URI="https://github.com/hannesm/${PN}/archive/refs/tags/v${PV}.tar.gz
		-> ${P}.gh.tar.gz"

	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
fi

LICENSE="ISC"
SLOT="0/${PV}"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

DEPEND="
	test? ( dev-ml/alcotest )
"

USE Flags

Manage flags for this package: euse -i <flag> -p dev-ml/duration | euse -E <flag> -p dev-ml/duration | euse -D <flag> -p dev-ml/duration

Global/Standard Flags

ocamlopt
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	test? ( dev-ml/alcotest )

Manifest for 0.3.1

Type File Size Source URLs
DIST duration-0.3.1.gh.tar.gz 7035 bytes https://github.com/hannesm/duration/archive/refs/tags/v0.3.1.tar.gz