Up to [cvs.NetBSD.org] / pkgsrc / devel / ocaml-cmdliner
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.12 / (download) - annotate - [select for diffs], Mon May 2 18:12:13 2022 UTC (16 months, 3 weeks ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
HEAD
Changes since 1.11: +5 -5
lines
Diff to previous 1.11 (colored)
Updated devel/ocaml-cmdliner to version 1.1.1. There are several upstream changes, mostly minor, but 1.1.0 introduced a new Cmd module and deprecated the Term module.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 1 19:50:50 2021 UTC (22 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Changes since 1.10: +5 -5
lines
Diff to previous 1.10 (colored)
ocaml-cmdliner: update to 1.0.4. v1.0.4 2019-06-14 Zagreb ------------------------ - Change the way `Error (_, e)` term evaluation results are formatted. Instead of treating `e` as text, treat it as formatted lines. - Fix 4.08 `Pervasives` deprecation. - Fix 4.03 String deprecations. - Fix boostrap build in absence of dynlink. - Make the `Makefile` bootstrap build reproducible. Thanks to Thomas Leonard for the patch.
Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 26 10:15:47 2021 UTC (23 months ago) by nia
Branch: MAIN
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
archivers: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Could not be committed due to merge conflict: devel/py-traitlets/distinfo The following distfiles were unfetchable (note: some may be only fetched conditionally): ./devel/pvs/distinfo pvs-3.2-solaris.tgz ./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 7 13:40:40 2021 UTC (23 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.8: +1 -2
lines
Diff to previous 1.8 (colored)
devel: Remove SHA1 hashes for distfiles
Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 27 15:56:11 2018 UTC (4 years, 10 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4
Changes since 1.7: +6 -6
lines
Diff to previous 1.7 (colored)
Updated devel/ocaml-cmdliner to version 1.0.3. This version mostly incorporates changes to the build system (using dune, dropping support for older methods and versions of ocaml).
Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 9 08:54:36 2018 UTC (5 years, 5 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
Added Makefile patch to devel/ocaml-cmdliner This is to make the package install in the right directories.
Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 7 11:42:13 2018 UTC (5 years, 5 months ago) by jaapb
Branch: MAIN
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored)
Revbump for devel/ocaml-cmdliner. No upstream changes, but the package now uses the provided Makefile infrastructure instead of being installed from the main Makefile.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 10 14:46:42 2018 UTC (5 years, 8 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base,
pkgsrc-2018Q1
Changes since 1.4: +5 -5
lines
Diff to previous 1.4 (colored)
Updated package devel/ocaml-cmdliner to version 1.0.2. Changes are minor, and involve the upstream Makefile.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 11 10:18:38 2017 UTC (6 years, 2 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3
Changes since 1.3: +5 -5
lines
Diff to previous 1.3 (colored)
Updated package to latest version, 1.0.0. Changes include: v1.0.0 2017-03-02 La Forclaz (VS) --------------------------------- **IMPORTANT** The `Arg.converter` type is deprecated in favor of the `Arg.conv` type. For this release both types are equal but the next major release will drop the former and make the latter abstract. All users are kindly requested to migrate to use the new type and **only** via the new `Arg.[p]conv` and `Arg.conv_{parser,printer}` functions. - Allow terms to be used more than once in terms without tripping out documentation generation (#77). Thanks to François Bobot and Gabriel Radanne. - Disallow defining the same option (resp. command) name twice via two different arguments (resp. terms). Raises Invalid_argument, used to be undefined behaviour (in practice, an arbitrary one would be ignored). - Improve converter API (see important message above). - Add `Term.exit[_status]` and `Term.exit_status_of[_status]_result`. improves composition with `Pervasives.exit`. - Add `Term.term_result` and `Term.cli_parse_result` improves composition with terms evaluating to `result` types. - Add `Arg.parser_of_kind_of_string`. - Change semantics of `Arg.pos_left` (see #76 for details). - Deprecate `Term.man_format` in favor of `Arg.man_format`. - Reserve the `--cmdliner` option for library use. This is unused for now but will be in the future. - Relicense from BSD3 to ISC. - Safe-string support. - Build depend on topkg. ### End-user visible changes The following changes affect the end-user behaviour of all binaries using cmdliner. - Required positional arguments. All missing required position arguments are now reported to the end-user, in the correct order (#39). Thanks to Dmitrii Kashin for the report. - Optional arguments. All unknown and ambiguous optional argument arguments are now reported to the end-user (instead of only the first one). - Change default behaviour of `--help[=FMT]` option. `FMT` no longer defaults to `pager` if unspecified. It defaults to the new value `auto` which prints the help as `pager` or `plain` whenever the `TERM` environment variable is `dumb` or undefined (#43). At the API level this changes the signature of the type `Term.ret` and values `Term.ret`, `Term.man_format` (deprecated) and `Manpage.print` to add the new `` `Auto`` case to manual formats. These are now represented by the `Manpage.format` type rather than inlined polyvars. ### Doc specification improvements and fixes - Add `?envs` optional argument to `Term.info`. Documents environment variables that influence a term's evaluation and automatically integrate them in the manual. - Add `?exits` optional argument to `Term.info`. Documents exit statuses of the program. Use `Term.default_exits` if you are using the new `Term.exit` functions. - Add `?man_xrefs` optional argument to `Term.info`. Documents references to other manpages. Automatically formats a `SEE ALSO` section in the manual. - Add `Manpage.escape` to escape a string from the documentation markup language. - Add `Manpage.s_*` constants for standard man page section names. - Add a `` `Blocks`` case to `Manpage.blocks` to allow block splicing (#69). This avoids having to concatenate block lists at the toplevel of your program. - `Arg.env_var`, change default environment variable section to the standard `ENVIRONMENT` manual section rather than `ENVIRONMENT VARIABLES`. If you previously manually positioned that section in your man page you will have to change the name. See also next point. - Fix automatic placement of default environment variable section (#44) whenever unspecified in the man page. - Better automatic insertions of man page sections (#73). See the API docs about manual specification. As a side effect the `NAME` section can now also be overriden manually. - Fix repeated environment variable printing for flags (#64). Thanks to Thomas Gazagnaire for the report. - Fix rendering of env vars in man pages, bold is standard (#71). - Fix plain help formatting for commands with empty description. Thanks to Maciek Starzyk for the patch. - Fix (implement really) groff man page escaping (#48). - Request `an` macros directly in the man page via `.mso` this makes man pages self-describing and avoids having to call `groff` with the `-man` option. - Document required optional arguments as such (#82). Thanks to Isaac Hodes for the report. ### Doc language sanitization This release tries to bring sanity to the doc language. This may break the rendering of some of your man pages. Thanks to Gabriel Scherer, Ivan Gotovchits and Nicolás Ojeda Bär for the feedback. - It is only allowed to use the variables `$(var)` that are mentioned in the docs (`$(docv)`, `$(opt)`, etc.) and the markup directives `$({i,b},text)`. Any other unknown `$(var)` will generate errors on standard error during documentation generation. - Markup directives `$({i,b},text)` treat `text` as is, modulo escapes; see next point. - Characters `$`, `(`, `)` and `\` can respectively be escaped by `\$`, `\(`, `\)` and `\\`. Escaping `$` and `\` is mandatory everywhere. Escaping `)` is mandatory only in markup directives. Escaping `(` is only here for your symmetric pleasure. Any other sequence of character starting with a `\` is an illegal sequence. - Variables `$(mname)` and `$(tname)` are now marked up with bold when substituted. If you used to write `$(b,$(tname))` this will generate an error on standard output, since `$` is not escaped in the markup directive. Simply replace these by `$(tname)`.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 17 15:33:24 2016 UTC (7 years, 3 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2
Changes since 1.2: +5 -6
lines
Diff to previous 1.2 (colored)
Updated package to latest version, 0.9.8. v0.9.8 2015-10-11 Cambridge (UK) ------------------------------- - Bring back support for OCaml 3.12.0 - Support for pre-formatted paragraphs in man pages. This adds a `` `Pre`` case to the `Manpage.block` type which can break existing programs. Thanks to Guillaume Bury for suggesting and help. - Support for environment variables. If an argument is absent from the command line, its value can be read and parsed from an environment variable. This adds an `env` optional argument to the `Arg.info` function which can break existing programs. - Support for new variables in documentation strings. `$(opt)` can be used to refer name of the option being documented and `$(env)` for option's the environment variable. - Deprecate `Term.pure` in favor of `Term.const`. - Man page generation. Keep undefined variables untouched. Previously a `$(undef)` would be turned into `undef`. - Turn a few misterious and spurious `Not_found` exceptions into `Invalid_arg`. These can be triggered by client programming errors (e.g. an unclosed variable in a documentation string). - Positional arguments. Invoke the printer on the default (absent) value only if needed. See Optional arguments in the release notes of v0.9.6. v0.9.7 2015-02-06 La Forclaz (VS) --------------------------------- - Build system, don't depend on `ocamlfind`. The package no longer depends on ocamlfind. Thanks to Louis Gesbert for the patch. v0.9.6 2014-11-18 La Forclaz (VS) --------------------------------- - Optional arguments. Invoke the printer on the default (absent) value only if needed, i.e. if help is shown. Strictly speaking an interface breaking change ï¿80><93> for example if the absent value was lazy it would be forced on each run. This is no longer the case. - Parsed command line syntax: allow short flags to be specified together under a single dash, possibly ending with a short option. This allows to specify e.g. `tar -xvzf archive.tgz` or `tar -xvzfarchive.tgz`. Previously this resulted in an error, all the short flags had to be specified separately. Backward compatible in the sense that only more command lines are parsed. Thanks to Hugo Heuzard for the patch. - End user error message improvements using heuristics and edit distance search in the optional argument and sub command name spaces. Thanks to Hugo Heuzard for the patch. - Adds `Arg.doc_{quote,alts,alts_enum}`, documentation string helpers. - Adds the `Term.eval_peek_opts` function for advanced usage scenarios. - The function `Arg.enum` now raises `Invalid_argument` if the enumeration is empty. - Improves help paging behaviour on Windows. Thanks to Romain Bardou for the help. v0.9.5 2014-07-04 Cambridge (UK) -------------------------------- - Add variance annotation to Term.t. Thanks to Peter Zotov for suggesting. - Fix section name formatting in plain text output. Thanks to Mikhail Sobolev for reporting.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 3 03:27:52 2015 UTC (7 years, 10 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
Add SHA512 digests for distfiles for devel category Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 9 20:07:36 2014 UTC (8 years, 11 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4
New package: devel/ocaml-cmdliner. It's a module for the declarative definition of command line interfaces, and needed as a dependency for js_of_ocaml.