From 2202d097dc18fcc6930fb16bb81fe5c55dac195c Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Mon, 27 May 2019 14:34:24 +0100 Subject: [PATCH 1/3] curly: requires alcotest for tests --- packages/curly/curly.0.1.0/opam | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/curly/curly.0.1.0/opam b/packages/curly/curly.0.1.0/opam index 6b466fd1cee..439c819aa4e 100644 --- a/packages/curly/curly.0.1.0/opam +++ b/packages/curly/curly.0.1.0/opam @@ -18,6 +18,7 @@ depends: [ "base-unix" "result" "cohttp-lwt-unix" {with-test} + "alcotest" {with-test} ] synopsis: "The Dumbest Http Client" description: """ From 9519a6ad07c39e0171ed08570612e86234987300 Mon Sep 17 00:00:00 2001 From: Kate Date: Fri, 31 May 2019 13:07:54 +0100 Subject: [PATCH 2/3] curly.0.1.0 requires lwt < 4.0.0 for tests --- packages/curly/curly.0.1.0/opam | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/curly/curly.0.1.0/opam b/packages/curly/curly.0.1.0/opam index 439c819aa4e..b9afc9dc2da 100644 --- a/packages/curly/curly.0.1.0/opam +++ b/packages/curly/curly.0.1.0/opam @@ -19,6 +19,7 @@ depends: [ "result" "cohttp-lwt-unix" {with-test} "alcotest" {with-test} + "lwt" {with-test & < "4.0.0"} ] synopsis: "The Dumbest Http Client" description: """ From ac89142b6df7f04e8921077671e241d6c9f97140 Mon Sep 17 00:00:00 2001 From: Kate Date: Fri, 31 May 2019 13:28:48 +0100 Subject: [PATCH 3/3] curly.0.1.0: tests require OCaml >= 4.04 --- packages/curly/curly.0.1.0/opam | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/curly/curly.0.1.0/opam b/packages/curly/curly.0.1.0/opam index b9afc9dc2da..900ea86a8cf 100644 --- a/packages/curly/curly.0.1.0/opam +++ b/packages/curly/curly.0.1.0/opam @@ -10,7 +10,9 @@ bug-reports: "https://github.com/rgrinberg/curly/issues" build: [ ["jbuilder" "subst" "-p" name "--name" name] {pinned} ["jbuilder" "build" "-p" name "-j" jobs] - ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test} +] +run-test: [ + ["jbuilder" "runtest" "-p" name "-j" jobs] {ocaml:version >= "4.04.0"} ] depends: [ "ocaml" {>= "4.02.3"}