Wed Sep 6 17:57:00 2023 UTC ()
cxxopts: update to 3.1.1

3.1.1

Fix version number in header.

3.1.0

- Support for multiple long names for the same option (= multiple long aliases)
- Add a program() function to retrieve the program name.
- Added a .clang-format file.
- Added iterator and printing for a ParseResult.
- Cleanup exception code, add cxxopts::exceptions namespace.
- Fix arguments() having no key for options that only have a short name.


(bsiegert)
diff -r1.1 -r1.2 pkgsrc/devel/cxxopts/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/cxxopts/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/devel/cxxopts/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/cxxopts/Makefile 2021/12/31 17:23:19 1.1
+++ pkgsrc/devel/cxxopts/Makefile 2023/09/06 17:57:00 1.2
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.1 2021/12/31 17:23:19 plunky Exp $ 1# $NetBSD: Makefile,v 1.2 2023/09/06 17:57:00 bsiegert Exp $
2# 2#
3 3
4DISTNAME= cxxopts-3.0.0 4DISTNAME= cxxopts-3.1.1
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_GITHUB:=jarro2783/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=jarro2783/}
7GITHUB_TAG= v${PKGVERSION_NOREV} 7GITHUB_TAG= v${PKGVERSION_NOREV}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/jarro2783/cxxopts 10HOMEPAGE= https://github.com/jarro2783/cxxopts
11COMMENT= Lightweight C++ option parser library 11COMMENT= Lightweight C++ option parser library
12LICENSE= mit 12LICENSE= mit
13 13
14USE_CMAKE= yes 14USE_CMAKE= yes
15USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
16 16
17CMAKE_ARGS+= -DCXXOPTS_BUILD_EXAMPLES=OFF 17CMAKE_ARGS+= -DCXXOPTS_BUILD_EXAMPLES=OFF

cvs diff -r1.1 -r1.2 pkgsrc/devel/cxxopts/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/cxxopts/distinfo 2021/12/31 17:23:19 1.1
+++ pkgsrc/devel/cxxopts/distinfo 2023/09/06 17:57:00 1.2
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.1 2021/12/31 17:23:19 plunky Exp $ 1$NetBSD: distinfo,v 1.2 2023/09/06 17:57:00 bsiegert Exp $
2 2
3BLAKE2s (cxxopts-3.0.0.tar.gz) = ba40d90e78624b8e781c5cbd0a35dc3cdc0530b87113a6fb009aa1e5687b6d7d 3BLAKE2s (cxxopts-3.1.1.tar.gz) = 0af8fde528ab248db1dd07935067705b4f5f43d2dada72ce504510904ebcc9b9
4SHA512 (cxxopts-3.0.0.tar.gz) = 239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c 4SHA512 (cxxopts-3.1.1.tar.gz) = 248e54e23564660467c7ecf50676b86d3cd10ade89e0ac1d23deb71334cb89cc5eb50f624b385d5119a43ca68ff8b1c74af82dc699b5ccfae54d6dcad4fd9447
5Size (cxxopts-3.0.0.tar.gz) = 97020 bytes 5Size (cxxopts-3.1.1.tar.gz) = 101548 bytes