Diff mtime-1.2.0 with a mtime-1.4.0
| /usr/portage/dev-ml/mtime/mtime-1.4.0.ebuild 2023-10-09 14:52:29.792368358 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2022 Gentoo Authors |
|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=7 |
| 5 | 5 | |
| 6 |
inherit opam |
|
| 6 |
inherit edo opam |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="OCaml module to access monotonic wall-clock time" |
| 9 | 9 |
HOMEPAGE="https://erratique.ch/software/mtime https://github.com/dbuenzli/mtime" |
| ... | ... | |
| 11 | 11 | |
| 12 | 12 |
LICENSE="ISC" |
| 13 | 13 |
SLOT="0/${PV}"
|
| 14 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86" |
|
| 14 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" |
|
| 15 | 15 |
IUSE="test" |
| 16 | 16 |
RESTRICT="!test? ( test )" |
| 17 | 17 | |
| ... | ... | |
| 22 | 22 |
dev-ml/findlib" |
| 23 | 23 | |
| 24 | 24 |
src_compile() {
|
| 25 |
ocaml pkg/pkg.ml build \ |
|
| 26 |
--with-js_of_ocaml false \ |
|
| 27 |
--tests $(usex test true false) \ |
|
| 28 |
|| die |
|
| 25 |
edo ocaml pkg/pkg.ml build \ |
|
| 26 |
--tests $(usex test true false) |
|
| 29 | 27 |
} |
| 30 | 28 | |
| 31 | 29 |
src_test() {
|
| 32 |
ocaml pkg/pkg.ml test || die |
|
| 30 |
edo ocaml pkg/pkg.ml test |
|
| 33 | 31 |
} |