Fri Jun 17 15:33:24 2016 UTC ()
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.


(jaapb)
diff -r1.8 -r1.9 pkgsrc/devel/ocaml-cmdliner/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/ocaml-cmdliner/PLIST
diff -r1.2 -r1.3 pkgsrc/devel/ocaml-cmdliner/distinfo

cvs diff -r1.8 -r1.9 pkgsrc/devel/ocaml-cmdliner/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ocaml-cmdliner/Makefile 2016/05/05 11:45:36 1.8
+++ pkgsrc/devel/ocaml-cmdliner/Makefile 2016/06/17 15:33:24 1.9
@@ -1,49 +1,42 @@ @@ -1,49 +1,42 @@
1# $NetBSD: Makefile,v 1.8 2016/05/05 11:45:36 jaapb Exp $ 1# $NetBSD: Makefile,v 1.9 2016/06/17 15:33:24 jaapb Exp $
2 2
3PKGNAME= ocaml-${DISTNAME} 3PKGNAME= ocaml-${DISTNAME}
4DISTNAME= cmdliner-0.9.4 4DISTNAME= cmdliner-0.9.8
5PKGREVISION= 4 
6CATEGORIES= devel 5CATEGORIES= devel
7MASTER_SITES= http://erratique.ch/software/cmdliner/releases/ 6MASTER_SITES= http://erratique.ch/software/cmdliner/releases/
8EXTRACT_SUFX= .tbz 7EXTRACT_SUFX= .tbz
9 8
10MAINTAINER= jaapb@NetBSD.org 9MAINTAINER= jaapb@NetBSD.org
11HOMEPAGE= http://erratique.ch/software/cmdliner/ 10HOMEPAGE= http://erratique.ch/software/cmdliner/
12COMMENT= Module for the declarative definition of command line interfaces 11COMMENT= Module for the declarative definition of command line interfaces
13LICENSE= modified-bsd 12LICENSE= modified-bsd
14 13
15USE_LANGUAGES= c 14USE_LANGUAGES= c
16OCAML_SITELIBDIR= ${PREFIX}/lib/ocaml/site-lib 15OCAML_USE_FINDLIB= yes
17INSTALLATION_DIRS= lib/ocaml/site-lib/cmdliner 16INSTALLATION_DIRS+= ${OCAML_SITELIBDIR}/cmdliner
18 17
19.include "../../mk/bsd.prefs.mk" 18.include "../../mk/ocaml.mk"
20 19
21PLIST_VARS= opt 20.if ${OCAML_USE_OPT_COMPILER} == "yes"
22.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ 21NATIVE= true
23 (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") 22.else
24OPTARG= true 23NATIVE= false
25PLIST.opt= yes 
26.endif 24.endif
27 25
28do-build: 26do-build:
29 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./pkg/build ${OPTARG} 27 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ocaml ./pkg/build.ml \
 28 native=${NATIVE} native-dynlink=${NATIVE}
30 29
31do-install: 30do-install:
32 for i in `cat ${WRKSRC}/cmdliner.program`; do \ 31 ${INSTALL_DATA} ${WRKSRC}/_build/pkg/META ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/cmdliner
33 ${INSTALL_PROGRAM} ${WRKSRC}/_build/$$i ${DESTDIR}${OCAML_SITELIBDIR}/cmdliner; \ 32 for i in cmdliner.mli cmdliner.cmi cmdliner.cma; do \
 33 ${INSTALL_DATA} ${WRKSRC}/_build/src/$$i ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/cmdliner; \
34 done 34 done
35 for i in `cat ${WRKSRC}/cmdliner.lib`; do \ 35.if ${OCAML_USE_OPT_COMPILER} == "yes"
36 ${INSTALL_LIB} ${WRKSRC}/_build/$$i ${DESTDIR}${OCAML_SITELIBDIR}/cmdliner; \ 36 for i in cmdliner.cmx cmdliner.a cmdliner.cmxa cmdliner.cmxs; do \
37 done 37 ${INSTALL_DATA} ${WRKSRC}/_build/src/$$i ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/cmdliner; \
38 for i in `cat ${WRKSRC}/cmdliner.data`; do \ 
39 ${INSTALL_DATA} ${WRKSRC}/_build/$$i ${DESTDIR}${OCAML_SITELIBDIR}/cmdliner; \ 
40 done 
41 
42post-install: 
43 for i in META cmdliner.a cmdliner.cma cmdliner.cmi cmdliner.cmx cmdliner.cmxa cmdliner.mli; do \ 
44 ${CHMOD} -x ${DESTDIR}${OCAML_SITELIBDIR}/cmdliner/$$i; \ 
45 done 38 done
 39.endif
46 40
47.include "../../devel/ocaml-findlib/buildlink3.mk" 41.include "../../devel/ocamlbuild/buildlink3.mk"
48.include "../../lang/ocaml/buildlink3.mk" 
49.include "../../mk/bsd.pkg.mk" 42.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/devel/ocaml-cmdliner/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/ocaml-cmdliner/PLIST 2014/10/09 20:07:36 1.1
+++ pkgsrc/devel/ocaml-cmdliner/PLIST 2016/06/17 15:33:24 1.2
@@ -1,17 +1,9 @@ @@ -1,17 +1,9 @@
1@comment $NetBSD: PLIST,v 1.1 2014/10/09 20:07:36 jaapb Exp $ 1@comment $NetBSD: PLIST,v 1.2 2016/06/17 15:33:24 jaapb Exp $
2lib/ocaml/site-lib/cmdliner/CHANGES.md 2${OCAML_SITELIB}/cmdliner/META
3lib/ocaml/site-lib/cmdliner/META 3${PLIST.ocaml-opt}${OCAML_SITELIB}/cmdliner/cmdliner.a
4lib/ocaml/site-lib/cmdliner/README.md 4${OCAML_SITELIB}/cmdliner/cmdliner.cma
5lib/ocaml/site-lib/cmdliner/chorus.ml 5${OCAML_SITELIB}/cmdliner/cmdliner.cmi
6${PLIST.opt}lib/ocaml/site-lib/cmdliner/cmdliner.a 6${PLIST.ocaml-opt}${OCAML_SITELIB}/cmdliner/cmdliner.cmx
7lib/ocaml/site-lib/cmdliner/cmdliner.cma 7${PLIST.ocaml-opt}${OCAML_SITELIB}/cmdliner/cmdliner.cmxa
8lib/ocaml/site-lib/cmdliner/cmdliner.cmi 8${PLIST.ocaml-opt}${OCAML_SITELIB}/cmdliner/cmdliner.cmxs
9${PLIST.opt}lib/ocaml/site-lib/cmdliner/cmdliner.cmx 9${OCAML_SITELIB}/cmdliner/cmdliner.mli
10${PLIST.opt}lib/ocaml/site-lib/cmdliner/cmdliner.cmxa 
11${PLIST.opt}lib/ocaml/site-lib/cmdliner/cmdliner.cmxs 
12lib/ocaml/site-lib/cmdliner/cmdliner.mli 
13lib/ocaml/site-lib/cmdliner/cp_ex.ml 
14lib/ocaml/site-lib/cmdliner/darcs_ex.ml 
15lib/ocaml/site-lib/cmdliner/revolt.ml 
16lib/ocaml/site-lib/cmdliner/rm_ex.ml 
17lib/ocaml/site-lib/cmdliner/tail_ex.ml 

cvs diff -r1.2 -r1.3 pkgsrc/devel/ocaml-cmdliner/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ocaml-cmdliner/distinfo 2015/11/03 03:27:52 1.2
+++ pkgsrc/devel/ocaml-cmdliner/distinfo 2016/06/17 15:33:24 1.3
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.2 2015/11/03 03:27:52 agc Exp $ 1$NetBSD: distinfo,v 1.3 2016/06/17 15:33:24 jaapb Exp $
2 2
3SHA1 (cmdliner-0.9.4.tbz) = afa604e527fc3e0753c643a96c354d4a6421321c 3SHA1 (cmdliner-0.9.8.tbz) = 2f8af80a8d172222daf8a35ea0861ebf88e9d6d6
4RMD160 (cmdliner-0.9.4.tbz) = 6963db6f83956106d58d3ee6288d99eb8a376812 4RMD160 (cmdliner-0.9.8.tbz) = de19b38209faac7d39dd230a3cdec325bb09f596
5SHA512 (cmdliner-0.9.4.tbz) = 309ded86222130da5a705695e19ce13e41025dbaeafc22987c1f7186fe49619bc67a486b63e4f3dd42aa62a250c4feaf0ee3e2923532e98ac7b732ebfdd18783 5SHA512 (cmdliner-0.9.8.tbz) = 6c71c360eaba7f7127e422a71a00a830a086f1d6750897bea0ebc1cc10f8fdaf9e9532d354abd84dbc6c5fcc1878f19d3f424fd9335e7226b625b63b51c89cab
6Size (cmdliner-0.9.4.tbz) = 43984 bytes 6Size (cmdliner-0.9.8.tbz) = 53249 bytes
7SHA1 (patch-pkg_pkg-builder) = 23d53d50fc6b86731c3abb3215290b4e56fe4580