From 9351d4a10eb856a5913d1b96000a650f0e507542 Mon Sep 17 00:00:00 2001 From: Anders Fugmann Date: Thu, 27 Oct 2022 21:41:25 +0200 Subject: [PATCH] Upgrade to dune 2.7 to fix linter errors on releasing opam packages --- dune-project | 2 +- zmq-async.opam | 5 +++-- zmq-lwt.opam | 5 +++-- zmq.opam | 5 +++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/dune-project b/dune-project index 863be3b..f7d324b 100644 --- a/dune-project +++ b/dune-project @@ -1,4 +1,4 @@ -(lang dune 2.0) +(lang dune 2.7) (name zmq) (generate_opam_files true) diff --git a/zmq-async.opam b/zmq-async.opam index b9375c5..6531b53 100644 --- a/zmq-async.opam +++ b/zmq-async.opam @@ -7,16 +7,17 @@ license: "MIT" homepage: "https://github.com/issuu/ocaml-zmq" bug-reports: "https://github.com/issuu/ocaml-zmq/issues" depends: [ - "dune" {>= "2.0"} + "dune" {>= "2.7"} "ocaml" {>= "4.04.1"} "zmq" {= version} "async_unix" {>= "v0.11.0" & < "v0.16"} "async_kernel" {>= "v0.11.0" & < "v0.16"} "base" {>= "v0.11.0" & < "v0.16"} "ounit2" {with-test} + "odoc" {with-doc} ] build: [ - ["dune" "subst"] {pinned} + ["dune" "subst"] {dev} [ "dune" "build" diff --git a/zmq-lwt.opam b/zmq-lwt.opam index 8e775ed..3a53393 100644 --- a/zmq-lwt.opam +++ b/zmq-lwt.opam @@ -7,14 +7,15 @@ license: "MIT" homepage: "https://github.com/issuu/ocaml-zmq" bug-reports: "https://github.com/issuu/ocaml-zmq/issues" depends: [ - "dune" {>= "2.0"} + "dune" {>= "2.7"} "ocaml" {>= "4.03.0"} "zmq" {= version} "lwt" {>= "2.6.0"} "ounit2" {with-test} + "odoc" {with-doc} ] build: [ - ["dune" "subst"] {pinned} + ["dune" "subst"] {dev} [ "dune" "build" diff --git a/zmq.opam b/zmq.opam index 347c33d..3b2734c 100644 --- a/zmq.opam +++ b/zmq.opam @@ -11,15 +11,16 @@ license: "MIT" homepage: "https://github.com/issuu/ocaml-zmq" bug-reports: "https://github.com/issuu/ocaml-zmq/issues" depends: [ - "dune" {>= "2.0"} + "dune" {>= "2.7"} "ocaml" {>= "4.03.0"} "conf-zmq" "ounit2" {with-test} "dune-configurator" + "odoc" {with-doc} ] conflicts: ["ocaml-zmq"] build: [ - ["dune" "subst"] {pinned} + ["dune" "subst"] {dev} [ "dune" "build"