Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ocaml-fmt for openSUSE:Factory checked in at 2021-10-18 21:59:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-fmt (Old) and /work/SRC/openSUSE:Factory/.ocaml-fmt.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-fmt" Mon Oct 18 21:59:12 2021 rev:2 rq:925816 version:0.8.10 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-fmt/ocaml-fmt.changes 2021-04-29 01:37:22.062490614 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-fmt.new.1890/ocaml-fmt.changes 2021-10-18 22:02:04.234088294 +0200 @@ -1,0 +2,6 @@ +Sun Oct 10 10:10:10 UTC 2021 - oher...@suse.de + +- Update to version 0.8.10 +- refresh ocaml-fmt.patch + +------------------------------------------------------------------- Old: ---- ocaml-fmt-0.8.9.tar.xz New: ---- ocaml-fmt-0.8.10.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-fmt.spec ++++++ --- /var/tmp/diff_new_pack.08dSj5/_old 2021-10-18 22:02:04.626088577 +0200 +++ /var/tmp/diff_new_pack.08dSj5/_new 2021-10-18 22:02:04.630088580 +0200 @@ -17,7 +17,7 @@ Name: ocaml-fmt -Version: 0.8.9 +Version: 0.8.10 Release: 0 %{?ocaml_preserve_bytecode} Summary: Format pretty-printer combinators @@ -27,13 +27,11 @@ Source0: %{name}-%{version}.tar.xz Patch0: ocaml-fmt.patch BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros >= 20210121 -BuildRequires: ocaml(ocaml_base_version) >= 4.05 +BuildRequires: ocaml-rpm-macros >= 20210911 +BuildRequires: ocaml(ocaml_base_version) >= 4.08 BuildRequires: ocamlfind(cmdliner) BuildRequires: ocamlfind(compiler-libs.toplevel) BuildRequires: ocamlfind(result) -BuildRequires: ocamlfind(seq) -BuildRequires: ocamlfind(stdlib-shims) BuildRequires: ocamlfind(unix) %description ++++++ _service ++++++ --- /var/tmp/diff_new_pack.08dSj5/_old 2021-10-18 22:02:04.658088600 +0200 +++ /var/tmp/diff_new_pack.08dSj5/_new 2021-10-18 22:02:04.658088600 +0200 @@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">ocaml-fmt</param> - <param name="revision">9fe092bbbeaf9cbbbeb2d681e48c66e14baa80ff</param> + <param name="revision">11221dcfd08c9b21c2dc63378fd6ffe75333fb33</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://github.com/dbuenzli/fmt.git</param> ++++++ ocaml-fmt-0.8.9.tar.xz -> ocaml-fmt-0.8.10.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/.gitignore new/ocaml-fmt-0.8.10/.gitignore --- old/ocaml-fmt-0.8.9/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/ocaml-fmt-0.8.10/.gitignore 2021-10-03 23:51:57.000000000 +0200 @@ -0,0 +1,8 @@ +BRZO +_b0 +_build +tmp +*~ +\.\#* +\#*# +*.install \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/.merlin new/ocaml-fmt-0.8.10/.merlin --- old/ocaml-fmt-0.8.9/.merlin 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/.merlin 2021-10-03 23:51:57.000000000 +0200 @@ -1,4 +1,4 @@ -PKG cmdliner result +PKG b0.kit cmdliner S src S test B _build/** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/B0.ml new/ocaml-fmt-0.8.10/B0.ml --- old/ocaml-fmt-0.8.9/B0.ml 1970-01-01 01:00:00.000000000 +0100 +++ new/ocaml-fmt-0.8.10/B0.ml 2021-10-03 23:51:57.000000000 +0200 @@ -0,0 +1,77 @@ +open B0_kit.V000 +open B00_std +open Result.Syntax + +(* OCaml library names *) + +let compiler_libs_toplevel = B0_ocaml.libname "compiler-libs.toplevel" +let cmdliner = B0_ocaml.libname "cmdliner" +let unix = B0_ocaml.libname "unix" + +let fmt = B0_ocaml.libname "fmt" +let fmt_cli = B0_ocaml.libname "fmt.cli" +let fmt_tty = B0_ocaml.libname "fmt.tty" +let fmt_top = B0_ocaml.libname "fmt.top" + +(* Libraries *) + +let fmt_lib = + let srcs = Fpath.[`File (v "src/fmt.mli"); `File (v "src/fmt.ml")] in + let requires = [] in + B0_ocaml.lib fmt ~doc:"The fmt library" ~srcs ~requires + +let fmt_cli = + let srcs = Fpath.[`File (v "src/fmt_cli.mli"); `File (v "src/fmt_cli.ml")]in + let requires = [cmdliner; fmt] in + B0_ocaml.lib fmt_cli ~doc:"The fmt.cli library" ~srcs ~requires + +let fmt_tty = + let srcs = Fpath.[`File (v "src/fmt_tty.mli"); `File (v "src/fmt_tty.ml")]in + let requires = [unix; fmt] in + B0_ocaml.lib fmt_tty ~doc:"The fmt.tty library" ~srcs ~requires + +let fmt_top = + let srcs = Fpath.[`File (v "src/fmt_top.ml")] in + let requires = [compiler_libs_toplevel] in + B0_ocaml.lib fmt_top ~doc:"The fmt.top library" ~srcs ~requires + +(* Tests *) + +let test = + let srcs = Fpath.[`File (v "test/test.ml")] in + let meta = B0_meta.(empty |> tag test) in + let requires = [ fmt ] in + B0_ocaml.exe "test" ~doc:"Test suite" ~srcs ~meta ~requires + +(* Packs *) + +let default = + let meta = + let open B0_meta in + empty + |> tag B0_opam.tag + |> add authors ["The fmt programmers"] + |> add maintainers ["Daniel B??nzli <daniel.buenzl i...@erratique.ch>"] + |> add homepage "https://erratique.ch/software/fmt" + |> add online_doc "https://erratique.ch/software/fmt/doc/" + |> add licenses ["ISC"] + |> add repo "git+https://erratique.ch/repos/fmt.git" + |> add issues "https://github.com/dbuenzli/fmt/issues" + |> add description_tags + ["string"; "format"; "pretty-print"; "org:erratique"] + |> add B0_opam.Meta.depopts ["base-unix", ""; "cmdliner", ""] + |> add B0_opam.Meta.conflicts + [ "cmdliner", {|< "0.9.8"|}] + |> add B0_opam.Meta.depends + [ "ocaml", {|>= "4.08.0"|}; + "ocamlfind", {|build|}; + "ocamlbuild", {|build|}; + "topkg", {|build & >= "1.0.3"|}; + ] + |> add B0_opam.Meta.build + {|[["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%" + "--with-base-unix" "%{base-unix:installed}%" + "--with-cmdliner" "%{cmdliner:installed}%"]]|} + in + B0_pack.v "default" ~doc:"fmt package" ~meta ~locked:true @@ + B0_unit.list () diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/CHANGES.md new/ocaml-fmt-0.8.10/CHANGES.md --- old/ocaml-fmt-0.8.9/CHANGES.md 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/CHANGES.md 2021-10-03 23:51:57.000000000 +0200 @@ -1,3 +1,11 @@ +v0.8.10 2021-10-04 Zagreb +------------------------- + +* Require OCaml >= 4.08. This drops the dependency on the + `stdlib-shims` and `seq` packages. +* Add the `[@@ocaml.deprecated]` annotation to deprecated + functions. Thanks to Antonin D??cimo for the patch. + v0.8.9 2020-09-23 Zagreb ------------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/_tags new/ocaml-fmt-0.8.10/_tags --- old/ocaml-fmt-0.8.9/_tags 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/_tags 2021-10-03 23:51:57.000000000 +0200 @@ -1,4 +1,4 @@ -true : bin_annot, safe_string, package(seq), package(stdlib-shims) +true : bin_annot, safe_string <_b0> : -traverse <src> : include <src/fmt_tty*> : package(unix) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/doc/api.odocl new/ocaml-fmt-0.8.10/doc/api.odocl --- old/ocaml-fmt-0.8.9/doc/api.odocl 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/doc/api.odocl 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -Fmt -Fmt_tty -Fmt_cli diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/opam new/ocaml-fmt-0.8.10/opam --- old/ocaml-fmt-0.8.9/opam 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/opam 2021-10-03 23:51:57.000000000 +0200 @@ -1,25 +1,34 @@ opam-version: "2.0" -maintainer: "Daniel B??nzli <daniel.buenzl i...@erratique.ch>" -authors: [ "The fmt programmers" ] +name: "fmt" +synopsis: """OCaml Format pretty-printer combinators""" +maintainer: ["Daniel B??nzli <daniel.buenzl i...@erratique.ch>"] +authors: ["The fmt programmers"] homepage: "https://erratique.ch/software/fmt" -doc: "https://erratique.ch/software/fmt" +doc: "https://erratique.ch/software/fmt/doc/" dev-repo: "git+https://erratique.ch/repos/fmt.git" bug-reports: "https://github.com/dbuenzli/fmt/issues" -tags: [ "string" "format" "pretty-print" "org:erratique" ] -license: "ISC" -depends: [ - "ocaml" {>= "4.05.0"} - "ocamlfind" {build} - "ocamlbuild" {build} - "topkg" {build & >= "0.9.0"} - # Can be removed once ocaml >= 4.07 - "seq" - "stdlib-shims" -] -depopts: [ "base-unix" "cmdliner" ] -conflicts: [ "cmdliner" {< "0.9.8"} ] -build: [[ - "ocaml" "pkg/pkg.ml" "build" - "--dev-pkg" "%{pinned}%" +license: ["ISC"] +tags: ["string" "format" "pretty-print" "org:erratique"] +depends: ["ocaml" {>= "4.08.0"} + "ocamlfind" {build} + "ocamlbuild" {build} + "topkg" {build & >= "1.0.3"}] +depopts: ["base-unix" + "cmdliner"] +conflicts: ["cmdliner" {< "0.9.8"}] +build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%" "--with-base-unix" "%{base-unix:installed}%" - "--with-cmdliner" "%{cmdliner:installed}%" ]] + "--with-cmdliner" "%{cmdliner:installed}%"]] +description: """ +Fmt exposes combinators to devise `Format` pretty-printing functions. + +Fmt depends only on the OCaml standard library. The optional `Fmt_tty` +library that allows to setup formatters for terminal color output +depends on the Unix library. The optional `Fmt_cli` library that +provides command line support for Fmt depends on [`Cmdliner`][cmdliner]. + +Fmt is distributed under the ISC license. + +[cmdliner]: http://erratique.ch/software/cmdliner + +Home page: http://erratique.ch/software/fmt""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/pkg/META new/ocaml-fmt-0.8.10/pkg/META --- old/ocaml-fmt-0.8.9/pkg/META 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/pkg/META 2021-10-03 23:51:57.000000000 +0200 @@ -1,6 +1,6 @@ description = "OCaml Format pretty-printer combinators" version = "%%VERSION_NUM%%" -requires = "seq stdlib-shims" +requires = "" archive(byte) = "fmt.cma" archive(native) = "fmt.cmxa" plugin(byte) = "fmt.cma" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/src/fmt.ml new/ocaml-fmt-0.8.10/src/fmt.ml --- old/ocaml-fmt-0.8.9/src/fmt.ml 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/src/fmt.ml 2021-10-03 23:51:57.000000000 +0200 @@ -1,7 +1,6 @@ (*--------------------------------------------------------------------------- Copyright (c) 2014 The fmt programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) let invalid_arg' = invalid_arg @@ -170,7 +169,7 @@ module Dump = struct - (* Stlib types *) + (* Stdlib types *) let sig_names = Sys.[ sigabrt, "SIGABRT"; sigalrm, "SIGALRM"; sigfpe, "SIGFPE"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/src/fmt.mli new/ocaml-fmt-0.8.10/src/fmt.mli --- old/ocaml-fmt-0.8.9/src/fmt.mli 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/src/fmt.mli 2021-10-03 23:51:57.000000000 +0200 @@ -1,7 +1,6 @@ (*--------------------------------------------------------------------------- Copyright (c) 2014 The fmt programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (** {!Format} pretty-printer combinators. @@ -36,7 +35,7 @@ val str : ('a, Format.formatter, unit, string) format4 -> 'a (** [str] is {!Format.asprintf}. - {b Note.} When using [str] {!utf_8} and {!style_renderer} are + {b Note.} When using [str] {!utf_8} and {!val-style_renderer} are always respectively set to [true] and [`None]. See also {!str_like}. *) @@ -50,12 +49,13 @@ val str_like : Format.formatter -> ('a, Format.formatter, unit, string) format4 -> 'a -(** [str_like ppf] is like {!str} except its {!utf_8} and {!style_renderer} +(** [str_like ppf] is like {!str} except its {!utf_8} and {!val-style_renderer} settings are those of [ppf]. *) val with_buffer : ?like:Format.formatter -> Buffer.t -> Format.formatter -(** [with_buffer ~like b] is a formatter whose {!utf_8} and {!style_renderer} - settings are copied from those of {!like} (if provided). *) +(** [with_buffer ~like b] is a formatter whose {!utf_8} and + {!val-style_renderer} settings are copied from those of [like] + (if provided). *) val failwith : ('a, Format.formatter, unit, 'b) format4 -> 'a (** [failwith] is [kstr failwith], raises {!Stdlib.Failure} with @@ -529,7 +529,7 @@ val one_of : ?empty:unit t -> 'a t -> 'a list t (** [one_of ~empty pp_v ppf l] formats according to the length of [l] {ul - {- [0], formats {!empty} (defaults to {!nop}).} + {- [0], formats [empty] (defaults to {!nop}).} {- [1], formats the element with [pp_v].} {- [2], formats ["either %a or %a"] with the list elements} {- [n], formats ["one of %a, ... or %a"] with the list elements}} *) @@ -624,30 +624,38 @@ (** {1:deprecated Deprecated} *) val strf : ('a, Format.formatter, unit, string) format4 -> 'a +[@@ocaml.deprecated] (** @deprecated use {!str} instead. *) val kstrf : (string -> 'a) -> ('b, Format.formatter, unit, 'a) format4 -> 'b +[@@ocaml.deprecated] (** @deprecated use {!kstr} instead. *) val strf_like : Format.formatter -> ('a, Format.formatter, unit, string) format4 -> 'a +[@@ocaml.deprecated] (** @deprecated use {!str_like} instead. *) val always : (unit, Format.formatter, unit) Stdlib.format -> 'a t +[@@ocaml.deprecated] (** @deprecated use {!any} instead. *) val unit : (unit, Format.formatter, unit) Stdlib.format -> unit t +[@@ocaml.deprecated] (** @deprecated use {!any}. *) val prefix : unit t -> 'a t -> 'a t +[@@ocaml.deprecated] (** @deprecated use {!( ++ )}. *) val suffix : unit t -> 'a t -> 'a t +[@@ocaml.deprecated] (** @deprecated use {!( ++ )}. *) val styled_unit : style -> (unit, Format.formatter, unit) Stdlib.format -> unit t -(** @deprecated, use [styled s (any fmt)] instead *) +[@@ocaml.deprecated] +(** @deprecated use [styled s (any fmt)] instead *) (** {1:nameconv Naming conventions} @@ -663,7 +671,7 @@ OCaml syntax. These pretty-printers should make it easy to inspect and understand values of the given type, they are mainly used for quick printf debugging and/or toplevel interaction. - See {{!Dump.stdlib} these examples}.}} + See {{!Fmt.Dump.stdlib}these examples}.}} If you are in a situation where making a difference between [dump_ty] and [pp_ty] doesn't make sense then use [pp_ty]. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/src/fmt_cli.ml new/ocaml-fmt-0.8.10/src/fmt_cli.ml --- old/ocaml-fmt-0.8.9/src/fmt_cli.ml 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/src/fmt_cli.ml 2021-10-03 23:51:57.000000000 +0200 @@ -1,7 +1,6 @@ (*--------------------------------------------------------------------------- Copyright (c) 2015 The fmt programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) let strf = Format.asprintf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/src/fmt_cli.mli new/ocaml-fmt-0.8.10/src/fmt_cli.mli --- old/ocaml-fmt-0.8.9/src/fmt_cli.mli 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/src/fmt_cli.mli 2021-10-03 23:51:57.000000000 +0200 @@ -1,7 +1,6 @@ (*--------------------------------------------------------------------------- Copyright (c) 2015 The fmt programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (** {!Cmdliner} support for [Fmt]. *) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/src/fmt_top.ml new/ocaml-fmt-0.8.10/src/fmt_top.ml --- old/ocaml-fmt-0.8.9/src/fmt_top.ml 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/src/fmt_top.ml 2021-10-03 23:51:57.000000000 +0200 @@ -1,7 +1,6 @@ (*--------------------------------------------------------------------------- Copyright (c) 2015 The fmt programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) let () = ignore (Toploop.use_file Format.err_formatter "fmt_tty_top_init.ml") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/src/fmt_tty.ml new/ocaml-fmt-0.8.10/src/fmt_tty.ml --- old/ocaml-fmt-0.8.9/src/fmt_tty.ml 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/src/fmt_tty.ml 2021-10-03 23:51:57.000000000 +0200 @@ -1,7 +1,6 @@ (*--------------------------------------------------------------------------- Copyright (c) 2015 The fmt programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) let is_infix ~affix s = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/src/fmt_tty.mli new/ocaml-fmt-0.8.10/src/fmt_tty.mli --- old/ocaml-fmt-0.8.9/src/fmt_tty.mli 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/src/fmt_tty.mli 2021-10-03 23:51:57.000000000 +0200 @@ -1,7 +1,6 @@ (*--------------------------------------------------------------------------- Copyright (c) 2015 The fmt programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (** [Fmt] TTY setup. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/src/fmt_tty_top_init.ml new/ocaml-fmt-0.8.10/src/fmt_tty_top_init.ml --- old/ocaml-fmt-0.8.9/src/fmt_tty_top_init.ml 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/src/fmt_tty_top_init.ml 2021-10-03 23:51:57.000000000 +0200 @@ -1,7 +1,6 @@ (*--------------------------------------------------------------------------- Copyright (c) 2015 The fmt programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) let () = Fmt_tty.setup_std_outputs () diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-fmt-0.8.9/test/test.ml new/ocaml-fmt-0.8.10/test/test.ml --- old/ocaml-fmt-0.8.9/test/test.ml 2020-09-23 00:49:13.000000000 +0200 +++ new/ocaml-fmt-0.8.10/test/test.ml 2021-10-03 23:51:57.000000000 +0200 @@ -1,7 +1,6 @@ (*--------------------------------------------------------------------------- Copyright (c) 2015 The fmt programmers. All rights reserved. Distributed under the ISC license, see terms at the end of the file. - %%NAME%% %%VERSION%% ---------------------------------------------------------------------------*) (* ++++++ ocaml-fmt.patch ++++++ --- /var/tmp/diff_new_pack.08dSj5/_old 2021-10-18 22:02:04.730088652 +0200 +++ /var/tmp/diff_new_pack.08dSj5/_new 2021-10-18 22:02:04.730088652 +0200 @@ -1,90 +1,15 @@ ---- a/CHANGES.md -+++ b/CHANGES.md -@@ -1,6 +1,3 @@ --v0.8.9 2020-09-23 Zagreb -------------------------- -- - * Fix `Dump.{iter_bindings,hashtbl}` which since 0.8.7 no longer - prints seperators. Thanks to Edwin T??r??k for the patch. - * Open the result of `Fmt.error_msg` to make it easier --- /dev/null +++ b/dune-project @@ -0,0 +1,2 @@ +(lang dune 1.0) +(name fmt) --- /dev/null -+++ b/fmt.opam -@@ -0,0 +1,35 @@ -+opam-version: "2.0" -+maintainer: "Daniel B??nzli <daniel.buenzl i...@erratique.ch>" -+authors: [ "The fmt programmers" ] -+homepage: "https://erratique.ch/software/fmt" -+doc: "https://erratique.ch/software/fmt" -+dev-repo: "git+https://github.com/dune-universe/fmt.git" -+bug-reports: "https://github.com/dbuenzli/fmt/issues" -+tags: [ "string" "format" "pretty-print" "org:erratique" ] -+license: "ISC" -+build: [ -+ [ "dune" "build" "-p" name "-j" jobs ] -+] -+run-test: [ -+ [ "dune" "runtest" "-p" name "-j" jobs ] -+] -+depends: [ -+ "dune" -+ "ocaml" {>= "4.07.0"} -+ "stdlib-shims" -+] -+depopts: [ "base-unix" "cmdliner" ] -+conflicts: [ "cmdliner" {< "0.9.8"} ] -+synopsis: "OCaml Format pretty-printer combinators" -+description: """ -+Fmt exposes combinators to devise `Format` pretty-printing functions. -+Fmt depends only on the OCaml standard library. The optional `Fmt_tty` -+library that allows to setup formatters for terminal color output -+depends on the Unix library. The optional `Fmt_cli` library that -+provides command line support for Fmt depends on [`Cmdliner`][cmdliner]. -+Fmt is distributed under the ISC license. -+[cmdliner]: http://erratique.ch/software/cmdliner -+""" -+url { -+ src: "git+https://github.com/dune-universe/fmt#duniverse-v0.8.9" -+} ---- a/opam -+++ /dev/null -@@ -1,25 +0,0 @@ --opam-version: "2.0" --maintainer: "Daniel B??nzli <daniel.buenzl i...@erratique.ch>" --authors: [ "The fmt programmers" ] --homepage: "https://erratique.ch/software/fmt" --doc: "https://erratique.ch/software/fmt" --dev-repo: "git+https://erratique.ch/repos/fmt.git" --bug-reports: "https://github.com/dbuenzli/fmt/issues" --tags: [ "string" "format" "pretty-print" "org:erratique" ] --license: "ISC" --depends: [ -- "ocaml" {>= "4.05.0"} -- "ocamlfind" {build} -- "ocamlbuild" {build} -- "topkg" {build & >= "0.9.0"} -- # Can be removed once ocaml >= 4.07 -- "seq" -- "stdlib-shims" --] --depopts: [ "base-unix" "cmdliner" ] --conflicts: [ "cmdliner" {< "0.9.8"} ] --build: [[ -- "ocaml" "pkg/pkg.ml" "build" -- "--dev-pkg" "%{pinned}%" -- "--with-base-unix" "%{base-unix:installed}%" -- "--with-cmdliner" "%{cmdliner:installed}%" ]] ---- /dev/null +++ b/src/dune @@ -0,0 +1,30 @@ +(library + (name fmt) + (public_name fmt) -+ (libraries result seq stdlib-shims) ++ (libraries result) + (modules fmt) + (flags :standard -w -3-6-27-34-50) + (wrapped false))