Subject: CVS commit: pkgsrc/devel/catch2
From: Adam Ciarcinski
Date: 2025-01-17 20:13:45
Message id: 20250117191345.80DE7FC20@cvs.NetBSD.org

Log Message:
catch2: updated to 3.8.0

3.8.0

Improvements
* Added `std::initializer_list` overloads for `(Unordered)RangeEquals` matcher
* Added explicit casts to silence GCC's `Wconversion`
* Made the use of `builtin_constant_p` tricks in assertion macros configurable
  * It is used to prod GCC-like compilers into providing warnings for the \ 
asserted expressions, but the compilers miscompile it annoyingly often.
* Cleaned out Clang-Tidy's `performance-enum-size` warnings
* Added support for using `from_range` generator with iterators with `value_type \ 
= const T`
  * This is not correct `value_type` typedef, but it is used in the wild and the \ 
change does not make the code meaningfully worse.

Fixes
* Fixed crash when stringifying pre-1970 (epoch) dates on Windows

Miscellaneous
* Fixes and improvements for `catch_discover_tests` CMake helper
  * Removed redundant `CTEST_FILE` param when creating the indirection file for \ 
`PRE_TEST` discovery mode
  * Rewrote the test discovery logic to use output from the JSON reporter
    * This means that `catch_discover_tests` now requires CMake 3.19 or newer
  * Added `ADD_TAGS_AS_LABELS` option. If specified, each CTest test will be \ 
labeled with corrensponding Catch2's test tag
* Bumped up the minimum required CMake version to build Catch2 to 3.16
* Meson build now provides option to avoid installing Catch2
* Bazel build is moved to Bzlmod.

Files:
RevisionActionfile
1.21modifypkgsrc/devel/catch2/Makefile
1.22modifypkgsrc/devel/catch2/distinfo