summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-01-24 19:03:35 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-01-24 19:16:56 +0100
commit535be6644b8eb734baf1b5a51f32b9cbb4390214 (patch)
tree956286239b1d7a50226f392af47ef9636a805012 /dev-ml
parentdev-ml/ocaml_intrinsics: bump to 0.15.2 (diff)
downloadgentoo-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')
-rw-r--r--dev-ml/lwt/Manifest1
-rw-r--r--dev-ml/lwt/lwt-5.6.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-ml/lwt/Manifest b/dev-ml/lwt/Manifest
index 9ff070f85edd..837895055927 100644
--- a/dev-ml/lwt/Manifest
+++ b/dev-ml/lwt/Manifest
@@ -1,2 +1,3 @@
DIST lwt-5.3.0.tar.gz 298152 BLAKE2B a39494bf98fcca07bf4601a742f4bfdc1ea2a67e2babbab650c41d2df58296a859520509ddc080af9c4d55be76439b401174720765fb942586d7c866f80cc538 SHA512 9922c19944595b0c07da8e1bbdecb2cc7c5a7edcdc2224215efb819d9c735da8986388a2446bd0762e28533f5d9d386970f07a4f1b0d14255c6743f3a1d16cb6
DIST lwt-5.4.2.tar.gz 304541 BLAKE2B d474b20538af382c6f64072da2caa25e285f431c9b161c9796a44d1c84475f72e50d81baccb22ae908f82594c9dcaac6a874f54fe6332de2550128774d1280fc SHA512 9f46fb2e56dc7bd57a12d5ab4dc68719947a1462f336087a95e991d087bb9b5b8dee2592d0f7d35abc507d9a641dd221c44c949c81d00e26c673a067d94ba3f4
+DIST lwt-5.6.1.tar.gz 316067 BLAKE2B a9cf6bc2b57a130a5df8aa745987f9b8516adf0fce040d50d3bfbd6d9f801917ca37d050eb7fd7a210c5b0ae5e5726dd21fc675c2e8ee8670d0475204dbcc3aa SHA512 698875bd3bfcd5baa47eb48e412f442d289f9972421321541860ebe110b9af1949c3fbc253768495726ec547fe4ba25483cd97ff39bc668496fba95b2ed9edd8
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
+}