Diff lwt-3.0.0 with a lwt-3.1.0

/usr/portage/dev-ml/lwt/lwt-3.1.0.ebuild 2019-10-11 18:40:00.000000000 +0300
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2017 Gentoo Foundation
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=5
5 5

  
6
OASIS_BUILD_TESTS=1
7
OASIS_BUILD_DOCS=1
8

  
9
inherit oasis
10

  
11 6
DESCRIPTION="Cooperative light-weight thread library for OCaml"
12 7
SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz"
13 8
HOMEPAGE="http://ocsigen.org/lwt"
14 9

  
15
IUSE="+camlp4 +ppx"
10
IUSE="+camlp4 +libev"
16 11

  
17 12
DEPEND="
18
	dev-libs/libev
19 13
	>=dev-lang/ocaml-4.02:=
20 14
	dev-ml/result:=
21
	ppx? ( dev-ml/ppx_tools:= )
15
	dev-ml/ocaml-migrate-parsetree:=
16
	dev-ml/ppx_tools_versioned:=
17
	libev? ( dev-libs/libev )
22 18
	camlp4? ( dev-ml/camlp4:= )"
23 19

  
24 20
RDEPEND="${DEPEND}
25 21
	!<www-servers/ocsigen-1.1"
26 22
DEPEND="${DEPEND}
27
	dev-ml/cppo"
23
	dev-ml/cppo
24
	dev-ml/findlib
25
	dev-ml/jbuilder
26
	dev-ml/opam"
28 27

  
29 28
SLOT="0/${PV}"
30 29
LICENSE="LGPL-2.1-with-linking-exception"
31 30
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
32 31

  
33
DOCS=( "CHANGES" "README.md" )
34

  
35 32
src_configure() {
36
	oasis_configure_opts="
37
		--disable-glib
38
		--disable-react
39
		--disable-ssl
40
		$(use_enable camlp4)
41
		$(use_enable ppx)" \
42
		oasis_src_configure
33
	ocaml src/util/configure.ml \
34
		-use-libev $(usex libev true false) \
35
		-use-camlp4 $(usex camlp4 true false) \
36
		|| die
37
}
38

  
39
src_compile() {
40
	jbuilder  build -p lwt || die
41
	ocaml src/util/install_filter.ml || die
42
}
43

  
44
src_test() {
45
	jbuilder runtest -p lwt || die
46
}
47

  
48
src_install() {
49
	opam-installer -i \
50
		--prefix="${ED}/usr" \
51
		--libdir="${D}/$(ocamlc -where)" \
52
		--docdir="${ED}/usr/share/doc/${PF}" \
53
		--mandir="${ED}/usr/share/man" \
54
		${PN}.install || die
43 55
}
Thank you!