pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ocaml-cmdliner



Module Name:    pkgsrc
Committed By:   alnsn
Date:           Tue Oct 20 20:05:50 UTC 2026

Modified Files:
        pkgsrc/devel/ocaml-cmdliner: Makefile buildlink3.mk distinfo
        pkgsrc/devel/ocaml-cmdliner/patches: patch-Makefile

Log Message:
Update ocaml-cmdliner to version 1.3.0.

v1.3.0 2024-05-23 La Forclaz (VS)

Add let operators in Cmdliner.Term.Syntax (#173). Thanks to Benoit Montagu for suggesting, Gabriel Scherer for reminding us of language punning obscurities and Sebastien Mondet for strengthening the 
case to add them.
Pager. Support full path command lookups on Windows. (#185). Thanks to @kit-ty-kate for the report.
In manpage specifications use $(iname) in the default introduction of the ENVIRONMENT section. Follow up to #168.
Add Cmd.eval_value' a variation on Cmd.eval_value.

v1.2.0 2023-04-10 La Forclaz (VS)

In manpage specification the new variable $(iname) substitutes the command invocation (from program name to subcommand) in bold (#168). This variable is now used in the default introduction of the 
EXIT STATUS section. Thanks to Ali Caglayan for suggesting.
Fix manpage rendering when PAGER=less is set (#167).
Plain text manpage rendering: fix broken handling of `Noblank. Thanks to Michael Richards and Reynir Björnsson for the report (#176).
Fix install to directory with spaces (#172). Thanks to @ZSFactory for reporting and suggesting the fix.
Fix manpage paging on Windows (#166). Thanks to Nicolás Ojeda Bär for the report and the solution.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/ocaml-cmdliner/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/ocaml-cmdliner/buildlink3.mk
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/ocaml-cmdliner/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ocaml-cmdliner/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ocaml-cmdliner/Makefile
diff -u pkgsrc/devel/ocaml-cmdliner/Makefile:1.27 pkgsrc/devel/ocaml-cmdliner/Makefile:1.28
--- pkgsrc/devel/ocaml-cmdliner/Makefile:1.27   Sun Mar  1 12:38:22 2026
+++ pkgsrc/devel/ocaml-cmdliner/Makefile        Tue Oct 20 20:05:50 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2026/03/01 12:38:22 gdt Exp $
+# $NetBSD: Makefile,v 1.28 2026/10/20 20:05:50 alnsn Exp $
 
-DISTNAME=      cmdliner-1.1.1
+DISTNAME=      cmdliner-1.3.0
 PKGNAME=       ocaml-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  https://erratique.ch/software/cmdliner/releases/
 EXTRACT_SUFX=  .tbz

Index: pkgsrc/devel/ocaml-cmdliner/buildlink3.mk
diff -u pkgsrc/devel/ocaml-cmdliner/buildlink3.mk:1.17 pkgsrc/devel/ocaml-cmdliner/buildlink3.mk:1.18
--- pkgsrc/devel/ocaml-cmdliner/buildlink3.mk:1.17      Sun Mar  1 12:38:22 2026
+++ pkgsrc/devel/ocaml-cmdliner/buildlink3.mk   Tue Oct 20 20:05:50 2026
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2026/03/01 12:38:22 gdt Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2026/10/20 20:05:50 alnsn Exp $
 
 BUILDLINK_TREE+=       ocaml-cmdliner
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        ocaml-cmdliner
 OCAML_CMDLINER_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.ocaml-cmdliner+= ocaml-cmdliner>=0.9.8
-BUILDLINK_ABI_DEPENDS.ocaml-cmdliner?= ocaml-cmdliner>=1.1.1nb2
+BUILDLINK_ABI_DEPENDS.ocaml-cmdliner?= ocaml-cmdliner>=1.3.0
 BUILDLINK_PKGSRCDIR.ocaml-cmdliner?=   ../../devel/ocaml-cmdliner
 
 .include "../../devel/ocaml-findlib/buildlink3.mk"

Index: pkgsrc/devel/ocaml-cmdliner/distinfo
diff -u pkgsrc/devel/ocaml-cmdliner/distinfo:1.12 pkgsrc/devel/ocaml-cmdliner/distinfo:1.13
--- pkgsrc/devel/ocaml-cmdliner/distinfo:1.12   Mon May  2 18:12:13 2022
+++ pkgsrc/devel/ocaml-cmdliner/distinfo        Tue Oct 20 20:05:50 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2022/05/02 18:12:13 jaapb Exp $
+$NetBSD: distinfo,v 1.13 2026/10/20 20:05:50 alnsn Exp $
 
-BLAKE2s (cmdliner-1.1.1.tbz) = 202965dc7deff2e6263ae12ad576799ddb227a135ea9e32bb463b9a6ac499051
-SHA512 (cmdliner-1.1.1.tbz) = 5478ad833da254b5587b3746e3a8493e66e867a081ac0f653a901cc8a7d944f66e4387592215ce25d939be76f281c4785702f54d4a74b1700bc8838a62255c9e
-Size (cmdliner-1.1.1.tbz) = 58054 bytes
-SHA1 (patch-Makefile) = c2474282031fdd3edf64c69e3b317a21db095d7c
+BLAKE2s (cmdliner-1.3.0.tbz) = aae2a4a45924911400a059dbcf3534ff62c33ef962f6c676ff3db4337142e752
+SHA512 (cmdliner-1.3.0.tbz) = 4c46bc334444ff772637deae2f5ba03645d7a1b7db523470a1246acfce79b971c764d964cbb02388639b3161b279700d9ade95da550446fb32aa4849c8a8f283
+Size (cmdliner-1.3.0.tbz) = 58515 bytes
+SHA1 (patch-Makefile) = e5e1d7e582a6c6ffb2379dc8d0e77174313c3f45

Index: pkgsrc/devel/ocaml-cmdliner/patches/patch-Makefile
diff -u pkgsrc/devel/ocaml-cmdliner/patches/patch-Makefile:1.4 pkgsrc/devel/ocaml-cmdliner/patches/patch-Makefile:1.5
--- pkgsrc/devel/ocaml-cmdliner/patches/patch-Makefile:1.4      Mon May  2 18:12:13 2022
+++ pkgsrc/devel/ocaml-cmdliner/patches/patch-Makefile  Tue Oct 20 20:05:50 2026
@@ -1,9 +1,9 @@
-$NetBSD: patch-Makefile,v 1.4 2022/05/02 18:12:13 jaapb Exp $
+$NetBSD: patch-Makefile,v 1.5 2026/10/20 20:05:50 alnsn Exp $
 
 PREFIX, LIBDIR and DOCDIR set by the package Makefile
 Use BSD_INSTALL_*
 
---- Makefile.orig      2022-02-06 14:17:34.000000000 +0000
+--- Makefile.orig      2026-10-20 19:37:20.015395497 +0000
 +++ Makefile
 @@ -12,9 +12,9 @@
  
@@ -22,36 +22,36 @@ Use BSD_INSTALL_*
  install: $(INSTALL-TARGETS)
  
  install-doc:
--      $(INSTALL) -d $(DOCDIR)/odoc-pages
--      $(INSTALL) CHANGES.md LICENSE.md README.md $(DOCDIR)
+-      $(INSTALL) -d "$(DOCDIR)/odoc-pages"
+-      $(INSTALL) CHANGES.md LICENSE.md README.md "$(DOCDIR)"
 -      $(INSTALL) doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \
-+      $(BSD_INSTALL_DATA_DIR) -d $(DOCDIR)/odoc-pages
-+      $(BSD_INSTALL_DATA) CHANGES.md LICENSE.md README.md $(DOCDIR)
++      $(BSD_INSTALL_DATA_DIR) "$(DOCDIR)/odoc-pages"
++      $(BSD_INSTALL_DATA) CHANGES.md LICENSE.md README.md "$(DOCDIR)"
 +      $(BSD_INSTALL_DATA) doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \
-                  doc/tool_man.mld $(DOCDIR)/odoc-pages
+                  doc/tool_man.mld "$(DOCDIR)/odoc-pages"
  
  clean:
 @@ -61,18 +61,18 @@ create-libdir:
-       $(INSTALL) -d $(LIBDIR)
+       $(INSTALL) -d "$(LIBDIR)"
  
  install-common: create-libdir
--      $(INSTALL) pkg/META $(BASE).mli $(BASE).cmi $(BASE).cmti $(LIBDIR)
--      $(INSTALL) cmdliner.opam $(LIBDIR)/opam
-+      $(BSD_INSTALL_DATA) pkg/META $(BASE).mli $(BASE).cmi $(BASE).cmti $(LIBDIR)
-+      $(BSD_INSTALL_DATA) cmdliner.opam $(LIBDIR)/opam
+-      $(INSTALL) pkg/META $(BASE).mli $(BASE).cmi $(BASE).cmti "$(LIBDIR)"
+-      $(INSTALL) cmdliner.opam "$(LIBDIR)/opam"
++      $(BSD_INSTALL_DATA) pkg/META $(BASE).mli $(BASE).cmi $(BASE).cmti "$(LIBDIR)"
++      $(BSD_INSTALL_DATA) cmdliner.opam "$(LIBDIR)/opam"
  
  install-byte: create-libdir
--      $(INSTALL) $(BASE).cma $(LIBDIR)
-+      $(BSD_INSTALL_DATA) $(BASE).cma $(LIBDIR)
+-      $(INSTALL) $(BASE).cma "$(LIBDIR)"
++      $(BSD_INSTALL_DATA) $(BASE).cma "$(LIBDIR)"
  
  install-native: create-libdir
 -      $(INSTALL) $(BASE).cmxa $(BASE)$(EXT_LIB) $(wildcard $(B)/cmdliner*.cmx) \
 +      $(BSD_INSTALL_DATA) $(BASE).cmxa $(BASE)$(EXT_LIB) $(wildcard $(B)/cmdliner*.cmx) \
-   $(LIBDIR)
+   "$(LIBDIR)"
  
  install-native-dynlink: create-libdir
--      $(INSTALL) $(BASE).cmxs $(LIBDIR)
-+      $(BSD_INSTALL_DATA) $(BASE).cmxs $(LIBDIR)
+-      $(INSTALL) $(BASE).cmxs "$(LIBDIR)"
++      $(BSD_INSTALL_DATA) $(BASE).cmxs "$(LIBDIR)"
  
  .PHONY: all install install-doc clean build-byte build-native \
        build-native-dynlink create-libdir install-common install-byte \



Home | Main Index | Thread Index | Old Index