diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-01-24 19:03:35 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-01-24 19:16:56 +0100 |
commit | 535be6644b8eb734baf1b5a51f32b9cbb4390214 (patch) | |
tree | 956286239b1d7a50226f392af47ef9636a805012 /dev-ml/lwt/lwt-5.6.1.ebuild | |
parent | dev-ml/ocaml_intrinsics: bump to 0.15.2 (diff) | |
download | gentoo-535be6644b8eb734baf1b5a51f32b9cbb4390214.tar.gz gentoo-535be6644b8eb734baf1b5a51f32b9cbb4390214.tar.bz2 gentoo-535be6644b8eb734baf1b5a51f32b9cbb4390214.zip |
dev-ml/lwt: bump to 5.6.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-ml/lwt/lwt-5.6.1.ebuild')
-rw-r--r-- | dev-ml/lwt/lwt-5.6.1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-ml/lwt/lwt-5.6.1.ebuild b/dev-ml/lwt/lwt-5.6.1.ebuild new file mode 100644 index 000000000000..7091845a19b6 --- /dev/null +++ b/dev-ml/lwt/lwt-5.6.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Cooperative light-weight thread library for OCaml" +SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="http://ocsigen.org/lwt" + +SLOT="0/${PV}" +LICENSE="LGPL-2.1-with-linking-exception" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" + +DEPEND=" + dev-libs/libev + dev-ml/luv:= + dev-ml/mmap:= + dev-ml/ocplib-endian:= + dev-ml/ppx_let:= + dev-ml/ppxlib:= + dev-ml/react:= + dev-ml/result:= +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-ml/cppo + dev-ml/findlib +" + +# "domainslib" is unpackaged. +OCAML_SUBPACKAGES=( + lwt + lwt_luv + lwt_ppx + lwt_ppx_let + lwt_react +) + +src_prepare() { + sed -i "s| seq||" "${S}"/src/core/dune || die + + default +} + +src_compile() { + dune-compile ${OCAML_SUBPACKAGES[@]} +} + +src_test() { + dune-test ${OCAML_SUBPACKAGES[@]} +} + +src_install() { + dune-install ${OCAML_SUBPACKAGES[@]} + + einstalldocs +} |