My working unpac repository

Handle cmdliner 1.1.0 deprecations.

+12 -8
+1 -1
B0.ml
··· 47 ["unicode"; "text"; "utf-8"; "utf-16"; "codec"; "org:erratique"] 48 |> add B0_opam.Meta.depopts ["cmdliner", ""] 49 |> add B0_opam.Meta.conflicts 50 - [ "cmdliner", {|< "0.9.8"|}] 51 |> add B0_opam.Meta.depends 52 [ "ocaml", {|>= "4.03.0"|}; 53 "ocamlfind", {|build|};
··· 47 ["unicode"; "text"; "utf-8"; "utf-16"; "codec"; "org:erratique"] 48 |> add B0_opam.Meta.depopts ["cmdliner", ""] 49 |> add B0_opam.Meta.conflicts 50 + [ "cmdliner", {|< "1.1.0"|}] 51 |> add B0_opam.Meta.depends 52 [ "ocaml", {|>= "4.03.0"|}; 53 "ocamlfind", {|build|};
+4
CHANGES.md
··· 1 v1.0.3 2022-02-03 2 ----------------- 3
··· 1 + 2 + 3 + - Handle cmdliner 1.1.0 deprecations. 4 + 5 v1.0.3 2022-02-03 6 ----------------- 7
+2 -2
opam
··· 14 "ocamlbuild" {build} 15 "topkg" {build & >= "1.0.3"}] 16 depopts: ["cmdliner"] 17 - conflicts: ["cmdliner" {< "0.9.8"}] 18 build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%" 19 "--with-cmdliner" "%{cmdliner:installed}%"]] 20 description: """ ··· 26 Functions are also provided to fold over the characters of UTF encoded 27 OCaml string values and to directly encode characters in OCaml 28 Buffer.t values. **Note** that since OCaml 4.14, that functionality 29 - can be found in the Stdlib and you are encouraged to migrate to. 30 31 Uutf has no dependency and is distributed under the ISC license. 32
··· 14 "ocamlbuild" {build} 15 "topkg" {build & >= "1.0.3"}] 16 depopts: ["cmdliner"] 17 + conflicts: ["cmdliner" {< "1.1.0"}] 18 build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%" 19 "--with-cmdliner" "%{cmdliner:installed}%"]] 20 description: """ ··· 26 Functions are also provided to fold over the characters of UTF encoded 27 OCaml string values and to directly encode characters in OCaml 28 Buffer.t values. **Note** that since OCaml 4.14, that functionality 29 + can be found in the Stdlib and you are encouraged to migrate to it. 30 31 Uutf has no dependency and is distributed under the ISC license. 32
+5 -5
test/utftrip.ml
··· 382 See http://erratique.ch/software/uutf for contact 383 information."; ] 384 in 385 - Term.(pure do_cmd $ cmd $ file $ sin $ sout $ use_unix $ usize $ 386 - ienc $ oenc $ nln $ rseed $ rcount), 387 - Term.info "utftrip" ~version:"%%VERSION%%" ~doc ~man 388 389 - let () = match Term.eval cmd with 390 - | `Error _ -> exit 1 391 | _ -> if !input_malformed then exit 2 else exit 0 392 393 (*---------------------------------------------------------------------------
··· 382 See http://erratique.ch/software/uutf for contact 383 information."; ] 384 in 385 + Cmd.v (Cmd.info "utftrip" ~version:"%%VERSION%%" ~doc ~man) 386 + Term.(const do_cmd $ cmd $ file $ sin $ sout $ use_unix $ usize $ 387 + ienc $ oenc $ nln $ rseed $ rcount) 388 389 + let () = match Cmd.eval_value cmd with 390 + | Error _ -> exit 1 391 | _ -> if !input_malformed then exit 2 else exit 0 392 393 (*---------------------------------------------------------------------------