Diff duration-0.1.3 with a duration-0.3.1
| /usr/portage/dev-ml/duration/duration-0.3.1.ebuild 2026-09-30 20:03:04.669642644 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2022 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 | 6 |
inherit dune |
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Duration - conversions to various time units" |
| 9 |
HOMEPAGE="https://github.com/hannesm/duration" |
|
| 10 |
SRC_URI="https://github.com/hannesm/duration/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 9 |
HOMEPAGE="https://github.com/hannesm/duration/" |
|
| 10 | ||
| 11 |
if [[ "${PV}" == *9999* ]] ; then
|
|
| 12 |
inherit git-r3 |
|
| 13 | ||
| 14 |
EGIT_REPO_URI="https://github.com/hannesm/${PN}"
|
|
| 15 |
else |
|
| 16 |
SRC_URI="https://github.com/hannesm/${PN}/archive/refs/tags/v${PV}.tar.gz
|
|
| 17 |
-> ${P}.gh.tar.gz"
|
|
| 18 | ||
| 19 |
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~riscv x86" |
|
| 20 |
fi |
|
| 11 | 21 | |
| 12 | 22 |
LICENSE="ISC" |
| 13 | 23 |
SLOT="0/${PV}"
|
| 14 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" |
|
| 15 | 24 |
IUSE="+ocamlopt test" |
| 16 | 25 |
RESTRICT="!test? ( test )" |
| 17 | 26 | |
| 18 |
DEPEND="test? ( dev-ml/alcotest )" |
|
| 27 |
DEPEND=" |
|
| 28 |
test? ( dev-ml/alcotest ) |
|
| 29 |
" |
|