Diff logs-0.7.0-r1 with a logs-0.10.0

/usr/portage/dev-ml/logs/logs-0.10.0.ebuild 2026-10-13 20:03:06.498590222 +0300
1
# Copyright 1999-2025 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 findlib
7 7

  
......
11 11

  
12 12
LICENSE="ISC"
13 13
SLOT="0/${PV}"
14
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
15
IUSE="+fmt cli +lwt test"
16
RESTRICT="!test? ( test )"
14
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86"
15
IUSE="+fmt cli +lwt"
16
# Tests require (unpackaged) b0 build system
17
RESTRICT="test"
17 18

  
18 19
RDEPEND="
20
	>=dev-lang/ocaml-4.14
19 21
	dev-ml/result:=[ocamlopt]
20
	dev-lang/ocaml:=[ocamlopt]
21 22
	fmt? ( dev-ml/fmt:= )
22 23
	cli? ( dev-ml/cmdliner:=[ocamlopt] )
23 24
	lwt? ( dev-ml/lwt:= )
......
28 29
	dev-ml/ocamlbuild
29 30
	dev-ml/opam-installer
30 31
	dev-ml/topkg
31
	test? ( <=dev-ml/mtime-1.4.0 )
32 32
"
33 33

  
34
src_prepare() {
35
	default
36
	sed -i \
37
		-e "/test\/test_fmt/d" \
38
		-e "/test\/test_formatter/d" \
39
		-e "/test\/tool/d" \
40
		-e "/test\/test_lwt/d" \
41
		pkg/pkg.ml \
42
		|| die
43
}
44

  
45 34
src_compile() {
46 35
	ocaml pkg/pkg.ml build \
47
		--with-js_of_ocaml false \
36
		--with-js_of_ocaml-compiler false \
48 37
		--with-fmt $(usex fmt true false) \
49 38
		--with-cmdliner $(usex cli true false) \
50 39
		--with-lwt $(usex lwt true false) \
51
		--tests $(usex test true false) \
52 40
		--with-base-threads true \
53 41
		|| die
54 42
}
55 43

  
56
src_test() {
57
	ocaml pkg/pkg.ml test || die
58
}
59

  
60 44
src_install() {
61 45
	opam-installer -i \
62 46
		--prefix="${ED}/usr" \
Thank you!