From 9cc235f7ac56b07095dcfd2c3a75718257290804 Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Fri, 9 Feb 2024 08:20:23 +0300 Subject: [PATCH 1/3] Luv 0.5.13: binding to libuv --- packages/luv/luv.0.5.13/opam | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 packages/luv/luv.0.5.13/opam diff --git a/packages/luv/luv.0.5.13/opam b/packages/luv/luv.0.5.13/opam new file mode 100644 index 00000000000..650c2df41fa --- /dev/null +++ b/packages/luv/luv.0.5.13/opam @@ -0,0 +1,40 @@ +opam-version: "2.0" + +synopsis: "Binding to libuv: cross-platform asynchronous I/O" + +license: "MIT" +homepage: "https://github.com/aantron/luv" +doc: "https://aantron.github.io/luv" +bug-reports: "https://github.com/aantron/luv/issues" + +authors: "Anton Bachin " +maintainer: "Anton Bachin " +dev-repo: "git+https://github.com/aantron/luv.git" + +depends: [ + "base-unix" {build} + "ctypes" {>= "0.14.0"} + "dune" {>= "2.7.0"} + "ocaml" {>= "4.03.0"} + + "alcotest" {with-test & >= "0.8.1"} + "base-unix" {with-test} + "odoc" {with-doc & = "2.4.0"} +] + +build: [ + ["dune" "build" "-p" name "-j" jobs] +] + +description: "Luv is a binding to libuv, the cross-platform C library that does +asynchronous I/O in Node.js and runs its main loop. + +Besides asynchronous I/O, libuv also supports multiprocessing and +multithreading. Multiple event loops can be run in different threads. libuv also +exposes a lot of other functionality, amounting to a full OS API, and an +alternative to the standard module Unix." + +url { + src: "https://github.com/aantron/luv/releases/download/0.5.13/luv-0.5.13.tar.gz" + checksum: "md5=fa4875137341933d1308e432c652b2cd" +} From 82723968e711b0a02d3ce66a4f3d79eb4bb47d79 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Fri, 9 Feb 2024 08:55:39 +0100 Subject: [PATCH 2/3] Update packages/luv/luv.0.5.13/opam --- packages/luv/luv.0.5.13/opam | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/luv/luv.0.5.13/opam b/packages/luv/luv.0.5.13/opam index 650c2df41fa..54422b3319b 100644 --- a/packages/luv/luv.0.5.13/opam +++ b/packages/luv/luv.0.5.13/opam @@ -16,7 +16,8 @@ depends: [ "ctypes" {>= "0.14.0"} "dune" {>= "2.7.0"} "ocaml" {>= "4.03.0"} - + "integers" {>= "0.3.0"} + "alcotest" {with-test & >= "0.8.1"} "base-unix" {with-test} "odoc" {with-doc & = "2.4.0"} From 830c0339b6464af0b15a25375eb652d87a8217bc Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Fri, 9 Feb 2024 14:13:26 +0300 Subject: [PATCH 3/3] Existing releases of mel break with Luv 0.5.13 --- packages/mel/mel.0.2.0/opam | 2 +- packages/mel/mel.0.3.0/opam | 2 +- packages/mel/mel.0.3.1/opam | 2 +- packages/mel/mel.0.3.2/opam | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/mel/mel.0.2.0/opam b/packages/mel/mel.0.2.0/opam index a9e6a862e77..8763f6d19d1 100644 --- a/packages/mel/mel.0.2.0/opam +++ b/packages/mel/mel.0.2.0/opam @@ -11,7 +11,7 @@ depends: [ "ocaml" "melange" {= version} "cmdliner" {>= "1.1.0"} - "luv" {>= "0.5.11"} + "luv" {>= "0.5.11" & < "0.5.13"} "ounit" {with-test} "odoc" {with-doc} ] diff --git a/packages/mel/mel.0.3.0/opam b/packages/mel/mel.0.3.0/opam index 9825e280aae..d7f607d8343 100644 --- a/packages/mel/mel.0.3.0/opam +++ b/packages/mel/mel.0.3.0/opam @@ -11,7 +11,7 @@ depends: [ "ocaml" "melange" {= version} "cmdliner" {>= "1.1.0"} - "luv" {>= "0.5.11"} + "luv" {>= "0.5.11" & < "0.5.13"} "ocaml-migrate-parsetree" {>= "2.3.0"} "ounit" {with-test} "odoc" {with-doc} diff --git a/packages/mel/mel.0.3.1/opam b/packages/mel/mel.0.3.1/opam index 4bf4c321b7e..2509aa88ff1 100644 --- a/packages/mel/mel.0.3.1/opam +++ b/packages/mel/mel.0.3.1/opam @@ -11,7 +11,7 @@ depends: [ "ocaml" "melange" {= version} "cmdliner" {>= "1.1.0"} - "luv" {>= "0.5.11"} + "luv" {>= "0.5.11" & < "0.5.13"} "ocaml-migrate-parsetree" {>= "2.3.0"} "ounit" {with-test} "odoc" {with-doc} diff --git a/packages/mel/mel.0.3.2/opam b/packages/mel/mel.0.3.2/opam index 8a7f29971a6..dc766fdb9e0 100644 --- a/packages/mel/mel.0.3.2/opam +++ b/packages/mel/mel.0.3.2/opam @@ -11,7 +11,7 @@ depends: [ "ocaml" "melange" {= version} "cmdliner" {>= "1.1.0"} - "luv" {>= "0.5.11"} + "luv" {>= "0.5.11" & < "0.5.13"} "ocaml-migrate-parsetree" {>= "2.3.0"} "ounit" {with-test} "odoc" {with-doc}