Diff lwt-5.4.2-r1 with a lwt-5.6.1

/usr/portage/dev-ml/lwt/lwt-5.6.1.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
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit dune
7 7

  
......
11 11

  
12 12
SLOT="0/${PV}"
13 13
LICENSE="LGPL-2.1-with-linking-exception"
14
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
14
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
15 15
IUSE="+ocamlopt"
16 16

  
17 17
DEPEND="
18
	dev-ml/result:=
18
	dev-libs/libev
19
	dev-ml/luv:=
19 20
	dev-ml/mmap:=
20 21
	dev-ml/ocplib-endian:=
22
	dev-ml/ppx_let:=
21 23
	dev-ml/ppxlib:=
22 24
	dev-ml/react:=
23
	dev-ml/luv:=
24
	dev-libs/libev"
25
	dev-ml/result:=
26
"
25 27
RDEPEND="${DEPEND}"
26 28
BDEPEND="
27 29
	dev-ml/cppo
28
	dev-ml/findlib"
30
	dev-ml/findlib
31
"
32

  
33
# "domainslib" is unpackaged.
34
OCAML_SUBPACKAGES=(
35
	lwt
36
	lwt_luv
37
	lwt_ppx
38
	lwt_ppx_let
39
	lwt_react
40
)
29 41

  
30 42
src_prepare() {
31
	sed -i \
32
		-e "s: seq::" \
33
		src/core/dune \
34
		die
43
	sed -i "s| seq||" "${S}"/src/core/dune || die
44

  
35 45
	default
36 46
}
37 47

  
48
src_compile() {
49
	dune-compile ${OCAML_SUBPACKAGES[@]}
50
}
51

  
52
src_test() {
53
	dune-test ${OCAML_SUBPACKAGES[@]}
54
}
55

  
38 56
src_install() {
39
	local i
40
	for i in lwt lwt_luv lwt_ppx lwt_react ; do
41
		dune_src_install ${i}
42
	done
57
	dune-install ${OCAML_SUBPACKAGES[@]}
43 58

  
44 59
	einstalldocs
45 60
}
Thank you!