From fae4f32786c75083a08066a2e609a0a33445fc0d Mon Sep 17 00:00:00 2001 From: lukstafi Date: Fri, 21 Apr 2023 13:29:22 +0200 Subject: [PATCH] Backport dependency fixes Note: does not build on MacOS, I don't know how to fix yet. --- dune-project | 7 ++++++- ppx_minidebug.opam | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dune-project b/dune-project index e95e3bd..9141910 100644 --- a/dune-project +++ b/dune-project @@ -21,6 +21,11 @@ (name ppx_minidebug) (synopsis "Debug logs for selected functions and let-bindings") (description "A poor man's `ppx_debug` with formatted logs of let-bound values, function arguments and results.") - (depends ocaml dune ppx_deriving ppx_sexp_conv ppxlib printbox printbox-text printbox-html ptime sexplib0) + (depends + (ocaml (>= 4.08)) + dune ppx_deriving ppx_sexp_conv + (ppxlib (>= 0.25.0)) + printbox printbox-text printbox-html ptime sexplib0 + (ppx_expect (and :with-test (>= v0.9.0)))) (tags (logger debugger "printf debugging"))) diff --git a/ppx_minidebug.opam b/ppx_minidebug.opam index e6ce8f8..32952bf 100644 --- a/ppx_minidebug.opam +++ b/ppx_minidebug.opam @@ -12,16 +12,17 @@ homepage: "https://github.com/lukstafi/ppx_minidebug" doc: "https://lukstafi.github.io/ppx_minidebug/ppx_minidebug" bug-reports: "https://github.com/lukstafi/ppx_minidebug/issues" depends: [ - "ocaml" + "ocaml" {>= "4.08"} "dune" {>= "3.7"} "ppx_deriving" "ppx_sexp_conv" - "ppxlib" + "ppxlib" {>= "0.25.0"} "printbox" "printbox-text" "printbox-html" "ptime" "sexplib0" + "ppx_expect" {with-test & >= "v0.9.0"} "odoc" {with-doc} ] build: [