pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/catch2



Module Name:    pkgsrc
Committed By:   nros
Date:           Mon Jan 15 09:33:46 UTC 2024

Modified Files:
        pkgsrc/devel/catch2: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Update catch2 to version 3.5.1

Pkgsrc-changes:
Catch2 version 3 is API incompatible
with catch2 version 2, the header file names
have changed. Update BUILDLINK_API_DEPENDS
due to this. Catch2 users in pkgsrc will
be updated accordingly.
Install the pkg-config files under
lib/pkgconfig since Catch2 now installs
libraries in libs and the pkg-config
files uses them.
Catch2 is now compiled with C++17 so that
all features are available in the package.
Use cmake/build.mk instead of USE_CMAKE.

Changes from release notes:

3.5.1

Improvements
* Significantly improved performance of the CLI parsing.
  * This includes the cost of preparing the CLI parser,
    so Catch2's binaries start much faster.

Miscellaneous
* Added support for Bazel modules
* Added CMake option to disable the build reproducibility settings
* Added `log` library linking to the Meson build

3.5.0

Improvements
* Introduced `CATCH_CONFIG_PREFIX_MESSAGES` to prefix only logging
  macros
  * This means `INFO`, `UNSCOPED_INFO`, `WARN` and `CAPTURE`.
* Section hints in static analysis mode are now `const`
  * This prevents Clang-Tidy from complaining about
    `misc-const-correctness`.
* `from_range` generator supports C arrays and ranges that require ADL
* Stringification support for `std::optional` now also includes
  `std::nullopt`
* The Console reporter flushes output after writing benchmark runtime
  estimate.
  * This means that you can immediately see for how long the benchmark
    is expected to run.
* Added workaround to enable compilation with ICC 19.1
* Compiling Catch2 for XBox should work out of the box
  * Catch2 should automatically disable getenv when compiled for XBox.
* Compiling Catch2 with exceptions disabled no longer triggers
  `Wunused-function`
* `random` Generators for integral types are now reproducible across
   different platforms
  * Unlike `<random>`, Catch2's generators also support 1 byte integral
    types (`char`, `bool`, ...)
* `random` Generators for `float` and `double` are now reproducible
     across different platform
  * `long double` varies across different platforms too much to be
     reproducible
  * This guarantee applies only to platforms with IEEE 754 floats.

Fixes
* UDL declaration inside Catch2 are now strictly conforming to the
  standard
  * `operator "" _a` is UB, `operator ""_a` is fine. Seriously.
* Fixed `CAPTURE` tests failing to compile in C++23 mode
* Fixed missing include in `catch_message.hpp`
* Fixed `CHECK_ELSE` suppressing failure from uncaught exceptions

Miscellaneous
* The documentation for specifying which tests to run through commandline
  has been completely rewritten
* Fixed installation when building Catch2 with meson
* Fixed `catch_discover_tests` when using custom reporter and `PRE_TEST`
  discovery mode
* `catch_discover_tests` supports multi-config CMake generator in
  `PRE_TEST` discovery mode

3.4.0

Improvements
* `VectorEquals` supports elements that provide only `==` and not `!=`
* Catch2 supports compiling with IAR compiler
* Various small internal performance improvements
* Various small internal compilation time improvements
* XMLReporter now reports location info for INFO and WARN
  * This bumps up the xml format version to 3
* Documented that `SKIP` in generator constructor can be used to handle
  empty generator
* Added experimental static analysis support to `TEST_CASE` and `SECTION`
  macros
  * The two macros are redefined in a way that helps the SA tools reason
    about the possible paths through a test case with sections.
  * The support is controlled by the
    `CATCH_CONFIG_EXPERIMENTAL_STATIC_ANALYSIS_SUPPORT` option and
    autodetects clang-tidy and Coverity.
* `*_THROWS`, `*_THROWS_AS`, etc now suppress warning coming from
  `__attribute__((warn_unused_result))` on GCC
  * Unlike plain `[[nodiscard]]`, this warning is not silenced by
    void cast. WTF GCC?

Fixes
* Fixed `assertionStarting` events being sent after the expr is evaluated
* Errors in `TEST_CASE` tags are now reported nicely

Miscellaneous
* Bunch of improvements to `catch_discover_tests`
  * Added DISCOVERY_MODE option, so the discovery can happen either
    post build or pre-run.
  * Fixed handling of semicolons and backslashes in test names
* meson build can disable building tests
* meson build properly sets meson version 0.54.1 as the minimal supported
  version

3.3.2

Improvements
* Further reduced allocations
  * The compact, console, TAP and XML reporters perform less allocations
    in various cases
  * Removed 1 allocation per entered `SECTION`/`TEST_CASE`.
  * Removed 2 allocations per test case exit, if stdout/stderr is captured
* Improved performance
  * Section tracking is 10%-25% faster than in v3.3.0
  * Assertion handling is 5%-10% faster than in v3.3.0
  * Test case registration is 1%-2% faster than in v3.3.0
  * Tiny speedup for registering listeners
  * Tiny speedup for `CAPTURE`, `TEST_CASE_METHOD`, `METHOD_AS_TEST_CASE`,
    and `TEMPLATE_LIST_TEST_*` macros.
* `Contains`, `RangeEquals` and `UnorderedRangeEquals` matchers now support
   ranges with iterator + sentinel pair
* Added `IsNaN` matcher
  * Unlike `REQUIRE(isnan(x))`, `REQUIRE_THAT(x, IsNaN())`
    shows you the value of `x`.
* Suppressed `declared_but_not_referenced` warning for NVHPC (#2637)

Fixes
* Fixed performance regression in section tracking introduced in v3.3.1
  * Extreme cases would cause the tracking to run about 4x slower
    than in 3.3.0

3.3.1

Improvements
* Reduced allocations and improved performance
  * The exact improvements are dependent on your usage of Catch2.
  * For example running Catch2's SelfTest binary performs 8k less
    allocations.
  * The main improvement comes from smarter handling of `SECTION`s,
    especially sibling `SECTION`s

3.3.0

Improvements

* Added `MessageMatches` exception matcher
* Added `RangeEquals` and `UnorderedRangeEquals` generic range matchers
* Added `SKIP` macro for skipping tests from within the test body
  * All built-in reporters have been extended to handle it properly,
    whether your custom reporter needs changes depends on how it was
    written
  * `skipTest` reporter event **is unrelated** to this, and has been
    deprecated since it has practically no uses
* Restored support for PPC Macs in the break-into-debugger functionality
* Made our warning suppression compatible with CUDA toolkit pre 11.5
* Cleaned out some static analysis complaints

Fixes

* Fixed macro redefinition warning when NVCC was reporting as MSVC
* Fixed throws in generator constructor causing the whole binary to abort
  * Now it just fails the test
* Fixed missing transitive include with libstdc++13

3.2.1

Improvements
* Fix the reworked decomposer to work with older (pre 9) GCC versions
  * **This required more significant changes to properly support C++20,
      there might be bugs.**

3.2.0

Improvements
* Catch2 now compiles on PlayStation
* Added `CATCH_CONFIG_GETENV` compile-time toggle
  * This toggle guards whether Catch2 calls `std::getenv`
    when reading env variables
* Added support for more Bazel test environment variables
  * `TESTBRIDGE_TEST_ONLY` is now supported (#2490)
  * Sharding variables, `TEST_SHARD_INDEX`, `TEST_TOTAL_SHARDS`,
    `TEST_SHARD_STATUS_FILE`, are now all supported
* Bunch of small tweaks and improvements in reporters
  * The TAP and SonarQube reporters output the used test filters
  * The XML reporter now also reports the version of its output format
  * The compact reporter now uses the same summary output as the
    console reporter
* Added support for asserting on types that can only be compared with
  literal 0
  * A canonical example is C++20's `std::*_ordering` types, which cannot
    be compared with an `int` variable, only `0`
  * The support extends to any type with this property, not just the
    ones in stdlib
  * This change imposes 2-3% slowdown on compiling files that are heavy
    on `REQUIRE` and friends
  * **This required significant rewrite of decomposition,
      there might be bugs**
* Simplified internals of matcher related macros
  * This provides about ~2% speed up compiling files that are heavy on
    `REQUIRE_THAT` and friends

Fixes
* Cleaned out some warnings and static analysis issues
  * Suppressed `-Wcomma` warning rarely occurring in templated test cases
  * Constified implementation details in `INFO`
  * Made `MatcherGenericBase` copy constructor const
* Fixed serialization of test filters so the output roundtrips
  * This means that e.g. `./tests/SelfTest "aaa bbb", [approx]` outputs
    `Filters: "aaa bbb",[approx]`

Miscellaneous
* Catch2's build no longer leaks `-ffile-prefix-map` setting  to dependees

3.1.1

Improvements
* Added `Catch::getSeed` function that user code can call to retrieve
  current rng-seed
* Better detection of compiler support for `-ffile-prefix-map`
* Catch2's shared libraries now have `SOVERSION` set

Fixes
* Fixed compilation on Universal Windows Platform
* Fixed compilation on VxWorks
* Fixed compilation on Cygwin
* Remove unused variable in reporter registration
* Fixed some symbol visibility issues with dynamic library on Windows
* Suppressed `-Wuseless-cast` warnings in `REQUIRE_THROWS*` macros
  * This was triggered when the potentially throwing expression
    evaluates to `void`
* Fixed "warning: storage class is not first" with `nvc++`
* Fixed handling of `DL_PATHS` argument to `catch_discover_tests` on MacOS
* Suppressed `*-avoid-c-arrays` clang-tidy warning in `TEMPLATE_TEST_CASE`

Miscellaneous
* Fixed CMake install step for Catch2 build as dynamic library
* Raised minimum CMake version to 3.10
  * Expect the minimum CMake version to increase once more in
    next few releases.
* Added support for building Catch2 with Meson

3.1.0

Improvements
* Improved suppression of `-Wparentheses` for older GCCs
  * Turns out that even GCC 9 does not properly handle
    `_Pragma`s in the C++ frontend.
* Added type constraints onto `random` generator
  * These constraints copy what the standard says for
    the underlying `std::uniform_int_distribution`
* Suppressed -Wunused-variable from nvcc
* Suppressed -Wunused-variable from MinGW
* Added All/Any/NoneTrue range matchers
  * These check that all/any/none of boolean values in a range are true.
* The JUnit reporter now normalizes classnames from C++ namespaces to
  Java-like namespaces
  * This provides better support for other JUnit based tools.
* The Bazel support now understands `BAZEL_TEST` environment variable
  * The `CATCH_CONFIG_BAZEL_SUPPORT` configuration option is also
    still supported.
* Returned support for compiling Catch2 with GCC 5
  * This required removing inherited constructors from Catch2's internals.
  * I recommend updating to a newer GCC anyway.
* `catch_discover_tests` now has a new options for setting library
  load path(s) when running the Catch2 binary

Fixes
* Fixed crash when listing listeners without any registered listeners
* Fixed nvcc compilation error in constructor benchmarking helper
* Catch2's CMakeList supports pre-3.12 CMake again
  * The gain from requiring CMake 3.12 was very minor,
    but y'all should really update to newer CMake

Miscellaneous
* Fixed SelfTest build on MinGW
* The in-repo conan recipe exports the CMake helper
* Added experimental CMake script to showcase using test case
  sharding together with CTest
  * Compared to `catch_discover_tests`, it supports very limited number
    of options and customization
* Added documentation page on best practices when running Catch2 tests
* Catch2 can be built as a dynamic library
  * Note that Catch2 does not have visibility annotations,
    and you are responsible for ensuring correct visibility built
    into the resulting library.

3.0.1

Catch2 now uses statically compiled library as its distribution model.
This also means that to get all of Catch2's functionality in a test file,
you have to include multiple headers.

(Potentially) Breaking changes
* Catch2 now uses statically compiled library as its distribution model
  * Including `catch.hpp` no longer works
* Catch2 now uses C++14 as the minimum support language version
* `ANON_TEST_CASE` has been removed, use `TEST_CASE` with no arguments
  instead
* `--list*` commands no longer have non-zero return code
* `--list-test-names-only` has been removed
  * You should use verbosity-modifiers for `--list-tests` instead
* `--list*` commands are now piped through the reporters
  * The top-level reporter interface provides default implementation
    that works just as the old one
  * XmlReporter outputs a machine-parseable XML
* `TEST_CASE` description support has been removed
  * If the second argument has text outside tags, the text will be ignored.
* Hidden test cases are no longer included just because they don't match an
  exclusion tag
  * Previously, a `TEST_CASE("A", "[.foo]")` would be included by asking for
    `~[bar]`.
* `PredicateMatcher` is no longer type erased.
  * This means that the type of the provided predicate is part of the
    `PredicateMatcher`'s type
* `SectionInfo` no longer contains section description as a member
  * You can still write `SECTION("ShortName", "Long and wordy description")`,
    but the description is thrown away
  * The description type now must be a `const char*` or be implicitly
    convertible to it
* The `[!hide]` tag has been removed.
  * Use `[.]` or `[.foo]` instead.
* Lvalues of composed matchers cannot be composed further
* Uses of `REGISTER_TEST_CASE` macro need to be followed by a
  semicolon
  * This does not change `TEST_CASE` and friends in any way
* `IStreamingReporter::IsMulti` member function was removed
  * This is _very_ unlikely to actually affect anyone, as it was
    default-implemented in the interface, and only used internally
* Various classes not designed for user-extension have been made
  final
  * `ListeningReporter` is now `final`
  * Concrete Matchers (e.g. `UnorderedEquals` vector matcher) are
    now `final`
  * All Generators are now `final`
* Matcher namespacing has been redone
  * Matcher types are no longer in deeply nested namespaces
  * Matcher factory functions are no longer brought into `Catch`
    namespace
  * This means that all public-facing matcher-related functionality
    is now in `Catch::Matchers` namespace
* Defining `CATCH_CONFIG_MAIN` will no longer create main in that TU.
  * Link with `libCatch2Main.a`, or the proper CMake/pkg-config target
  * If you want to write custom main, include `catch2/catch_session.hpp`
* `CATCH_CONFIG_EXTERNAL_INTERFACES` has been removed.
  * You should instead include the appropriate headers as needed.
* `CATCH_CONFIG_IMPL` has been removed.
  * The implementation is now compiled into a static library.
* Event Listener interface has changed
  * `TestEventListenerBase` was renamed to `EventListenerBase`
  * `EventListenerBase` now directly derives from `IStreamingReporter`,
    instead of deriving from `StreamingReporterBase`
* `GENERATE` decays its arguments
  * This means that `str` in `auto str = GENERATE("aa", "bb", "cc");`
    is inferred to `char const*` rather than `const char[2]`.
* `--list-*` flags write their output to file specified by the `-o` flag
* Many changes to reporter interfaces
  * With the exception of the XmlReporter, the outputs of first party
    reporters should remain the same
  * New pair of events were added
  * One obsolete event was removed
  * The base class has been renamed
  * The built-in reporter class hierarchy has been redone
* Catch2 generates a random seed if one hasn't been specified by the user
* The short flag for `--list-tests`, `-l`, has been removed.
  * This is not a commonly used flag and does not need to use up valuable
    single-letter space.
* The short flag for `--list-tags`, `-t`, has been removed.
  * This is not a commonly used flag and does not need to use up valuable
    single-letter space.
* The `--colour` option has been replaced with `--colour-mode` option

Fixes
* The `INFO` macro no longer contains superfluous semicolon
* The `--list*` family of command line flags now return 0 on success
* Various ways of failing a benchmark are now counted and reporter
  properly
* The ULP matcher now handles comparing numbers with different signs
  properly
* Universal ADL-found operators should no longer break decomposition
* Reporter selection is properly case-insensitive
  * Previously it forced lower cased name, which would fail for reporters
    with upper case characters in name
* The cumulative reporter base stores benchmark results alongside
  assertion results
* Catch2's SE handling should no longer interferes with ASan on Windows
* Fixed Windows console colour handling for tests that redirect stdout
* Fixed issue with the `random` generators returning the same value
  over and over again

Other changes
* `CATCH_CONFIG_DISABLE_MATCHERS` no longer exists.
  * If you do not want to use Matchers in a TU, do not include their header.
* `CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER` no longer exists.
  * `StringMaker` specializations for `<chrono>` are always provided
* Catch2's CMake now provides 2 targets, `Catch2` and `Catch2WithMain`.
  * `Catch2` is the statically compiled implementation by itself
  * `Catch2WithMain` also links in the default main
* Catch2's pkg-config integration also provides 2 packages
  * `catch2` is the statically compiled implementation by itself
  * `catch2-with-main` also links in the default main
* Passing invalid test specifications passed to Catch2 are now
  reported before tests are run, and are a hard error.
* Running 0 tests (e.g. due to empty binary,
  or test spec not matching anything) returns non-0 exit code
  * Flag `--allow-running-no-tests` overrides this behaviour.
  * `NoTests` warning has been removed because it is fully subsumed
     by this change.
* Catch2's compile-time configuration options (`CATCH_CONFIG_FOO`)
  can be set through
  CMake options of the same name
  * They use the same semantics as C++ defines, including the
    `CATCH_CONFIG_NO_FOO` overrides,
    * `-DCATCH_CONFIG_DEFAULT_REPORTER=compact` changes default
      reporter to "compact"
    * `-DCATCH_CONFIG_NO_ANDROID_LOGWRITE=ON` forces android
      logwrite to off
    * `-DCATCH_CONFIG_ANDROID_LOGWRITE=OFF` does nothing
      (the define will not exist)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/catch2/DESCR pkgsrc/devel/catch2/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/catch2/Makefile \
    pkgsrc/devel/catch2/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/catch2/buildlink3.mk

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

Modified files:

Index: pkgsrc/devel/catch2/DESCR
diff -u pkgsrc/devel/catch2/DESCR:1.1 pkgsrc/devel/catch2/DESCR:1.2
--- pkgsrc/devel/catch2/DESCR:1.1       Mon Feb  3 12:35:13 2020
+++ pkgsrc/devel/catch2/DESCR   Mon Jan 15 09:33:46 2024
@@ -1,3 +1,2 @@
 Catch2 is a multi-paradigm test framework for C++. It also supports
-Objective-C (and maybe C). It is primarily distributed as a single header file,
-although certain extensions may require additional headers.
+Objective-C (and maybe C).
Index: pkgsrc/devel/catch2/PLIST
diff -u pkgsrc/devel/catch2/PLIST:1.1 pkgsrc/devel/catch2/PLIST:1.2
--- pkgsrc/devel/catch2/PLIST:1.1       Mon Feb  3 12:35:13 2020
+++ pkgsrc/devel/catch2/PLIST   Mon Jan 15 09:33:46 2024
@@ -1,15 +1,194 @@
-@comment $NetBSD: PLIST,v 1.1 2020/02/03 12:35:13 bsiegert Exp $
-include/catch2/catch.hpp
-include/catch2/catch_reporter_automake.hpp
-include/catch2/catch_reporter_sonarqube.hpp
-include/catch2/catch_reporter_tap.hpp
-include/catch2/catch_reporter_teamcity.hpp
+@comment $NetBSD: PLIST,v 1.2 2024/01/15 09:33:46 nros Exp $
+include/catch2/benchmark/catch_benchmark.hpp
+include/catch2/benchmark/catch_benchmark_all.hpp
+include/catch2/benchmark/catch_chronometer.hpp
+include/catch2/benchmark/catch_clock.hpp
+include/catch2/benchmark/catch_constructor.hpp
+include/catch2/benchmark/catch_environment.hpp
+include/catch2/benchmark/catch_estimate.hpp
+include/catch2/benchmark/catch_execution_plan.hpp
+include/catch2/benchmark/catch_optimizer.hpp
+include/catch2/benchmark/catch_outlier_classification.hpp
+include/catch2/benchmark/catch_sample_analysis.hpp
+include/catch2/benchmark/detail/catch_analyse.hpp
+include/catch2/benchmark/detail/catch_benchmark_function.hpp
+include/catch2/benchmark/detail/catch_benchmark_stats.hpp
+include/catch2/benchmark/detail/catch_benchmark_stats_fwd.hpp
+include/catch2/benchmark/detail/catch_complete_invoke.hpp
+include/catch2/benchmark/detail/catch_estimate_clock.hpp
+include/catch2/benchmark/detail/catch_measure.hpp
+include/catch2/benchmark/detail/catch_repeat.hpp
+include/catch2/benchmark/detail/catch_run_for_at_least.hpp
+include/catch2/benchmark/detail/catch_stats.hpp
+include/catch2/benchmark/detail/catch_timing.hpp
+include/catch2/catch_all.hpp
+include/catch2/catch_approx.hpp
+include/catch2/catch_assertion_info.hpp
+include/catch2/catch_assertion_result.hpp
+include/catch2/catch_config.hpp
+include/catch2/catch_get_random_seed.hpp
+include/catch2/catch_message.hpp
+include/catch2/catch_section_info.hpp
+include/catch2/catch_session.hpp
+include/catch2/catch_tag_alias.hpp
+include/catch2/catch_tag_alias_autoregistrar.hpp
+include/catch2/catch_template_test_macros.hpp
+include/catch2/catch_test_case_info.hpp
+include/catch2/catch_test_macros.hpp
+include/catch2/catch_test_spec.hpp
+include/catch2/catch_timer.hpp
+include/catch2/catch_tostring.hpp
+include/catch2/catch_totals.hpp
+include/catch2/catch_translate_exception.hpp
+include/catch2/catch_user_config.hpp
+include/catch2/catch_version.hpp
+include/catch2/catch_version_macros.hpp
+include/catch2/generators/catch_generator_exception.hpp
+include/catch2/generators/catch_generators.hpp
+include/catch2/generators/catch_generators_adapters.hpp
+include/catch2/generators/catch_generators_all.hpp
+include/catch2/generators/catch_generators_random.hpp
+include/catch2/generators/catch_generators_range.hpp
+include/catch2/interfaces/catch_interfaces_all.hpp
+include/catch2/interfaces/catch_interfaces_capture.hpp
+include/catch2/interfaces/catch_interfaces_config.hpp
+include/catch2/interfaces/catch_interfaces_enum_values_registry.hpp
+include/catch2/interfaces/catch_interfaces_exception.hpp
+include/catch2/interfaces/catch_interfaces_generatortracker.hpp
+include/catch2/interfaces/catch_interfaces_registry_hub.hpp
+include/catch2/interfaces/catch_interfaces_reporter.hpp
+include/catch2/interfaces/catch_interfaces_reporter_factory.hpp
+include/catch2/interfaces/catch_interfaces_tag_alias_registry.hpp
+include/catch2/interfaces/catch_interfaces_test_invoker.hpp
+include/catch2/interfaces/catch_interfaces_testcase.hpp
+include/catch2/internal/catch_assertion_handler.hpp
+include/catch2/internal/catch_case_insensitive_comparisons.hpp
+include/catch2/internal/catch_case_sensitive.hpp
+include/catch2/internal/catch_clara.hpp
+include/catch2/internal/catch_commandline.hpp
+include/catch2/internal/catch_compare_traits.hpp
+include/catch2/internal/catch_compiler_capabilities.hpp
+include/catch2/internal/catch_config_android_logwrite.hpp
+include/catch2/internal/catch_config_counter.hpp
+include/catch2/internal/catch_config_prefix_messages.hpp
+include/catch2/internal/catch_config_static_analysis_support.hpp
+include/catch2/internal/catch_config_uncaught_exceptions.hpp
+include/catch2/internal/catch_config_wchar.hpp
+include/catch2/internal/catch_console_colour.hpp
+include/catch2/internal/catch_console_width.hpp
+include/catch2/internal/catch_container_nonmembers.hpp
+include/catch2/internal/catch_context.hpp
+include/catch2/internal/catch_debug_console.hpp
+include/catch2/internal/catch_debugger.hpp
+include/catch2/internal/catch_decomposer.hpp
+include/catch2/internal/catch_enforce.hpp
+include/catch2/internal/catch_enum_values_registry.hpp
+include/catch2/internal/catch_errno_guard.hpp
+include/catch2/internal/catch_exception_translator_registry.hpp
+include/catch2/internal/catch_fatal_condition_handler.hpp
+include/catch2/internal/catch_floating_point_helpers.hpp
+include/catch2/internal/catch_getenv.hpp
+include/catch2/internal/catch_is_permutation.hpp
+include/catch2/internal/catch_istream.hpp
+include/catch2/internal/catch_jsonwriter.hpp
+include/catch2/internal/catch_lazy_expr.hpp
+include/catch2/internal/catch_leak_detector.hpp
+include/catch2/internal/catch_list.hpp
+include/catch2/internal/catch_logical_traits.hpp
+include/catch2/internal/catch_message_info.hpp
+include/catch2/internal/catch_meta.hpp
+include/catch2/internal/catch_move_and_forward.hpp
+include/catch2/internal/catch_noncopyable.hpp
+include/catch2/internal/catch_optional.hpp
+include/catch2/internal/catch_output_redirect.hpp
+include/catch2/internal/catch_parse_numbers.hpp
+include/catch2/internal/catch_platform.hpp
+include/catch2/internal/catch_polyfills.hpp
+include/catch2/internal/catch_preprocessor.hpp
+include/catch2/internal/catch_preprocessor_internal_stringify.hpp
+include/catch2/internal/catch_preprocessor_remove_parens.hpp
+include/catch2/internal/catch_random_floating_point_helpers.hpp
+include/catch2/internal/catch_random_integer_helpers.hpp
+include/catch2/internal/catch_random_number_generator.hpp
+include/catch2/internal/catch_random_seed_generation.hpp
+include/catch2/internal/catch_reporter_registry.hpp
+include/catch2/internal/catch_reporter_spec_parser.hpp
+include/catch2/internal/catch_result_type.hpp
+include/catch2/internal/catch_reusable_string_stream.hpp
+include/catch2/internal/catch_run_context.hpp
+include/catch2/internal/catch_section.hpp
+include/catch2/internal/catch_sharding.hpp
+include/catch2/internal/catch_singletons.hpp
+include/catch2/internal/catch_source_line_info.hpp
+include/catch2/internal/catch_startup_exception_registry.hpp
+include/catch2/internal/catch_stdstreams.hpp
+include/catch2/internal/catch_stream_end_stop.hpp
+include/catch2/internal/catch_string_manip.hpp
+include/catch2/internal/catch_stringref.hpp
+include/catch2/internal/catch_tag_alias_registry.hpp
+include/catch2/internal/catch_template_test_registry.hpp
+include/catch2/internal/catch_test_case_info_hasher.hpp
+include/catch2/internal/catch_test_case_registry_impl.hpp
+include/catch2/internal/catch_test_case_tracker.hpp
+include/catch2/internal/catch_test_failure_exception.hpp
+include/catch2/internal/catch_test_macro_impl.hpp
+include/catch2/internal/catch_test_registry.hpp
+include/catch2/internal/catch_test_run_info.hpp
+include/catch2/internal/catch_test_spec_parser.hpp
+include/catch2/internal/catch_textflow.hpp
+include/catch2/internal/catch_to_string.hpp
+include/catch2/internal/catch_uncaught_exceptions.hpp
+include/catch2/internal/catch_uniform_floating_point_distribution.hpp
+include/catch2/internal/catch_uniform_integer_distribution.hpp
+include/catch2/internal/catch_unique_name.hpp
+include/catch2/internal/catch_unique_ptr.hpp
+include/catch2/internal/catch_void_type.hpp
+include/catch2/internal/catch_wildcard_pattern.hpp
+include/catch2/internal/catch_windows_h_proxy.hpp
+include/catch2/internal/catch_xmlwriter.hpp
+include/catch2/matchers/catch_matchers.hpp
+include/catch2/matchers/catch_matchers_all.hpp
+include/catch2/matchers/catch_matchers_container_properties.hpp
+include/catch2/matchers/catch_matchers_contains.hpp
+include/catch2/matchers/catch_matchers_exception.hpp
+include/catch2/matchers/catch_matchers_floating_point.hpp
+include/catch2/matchers/catch_matchers_predicate.hpp
+include/catch2/matchers/catch_matchers_quantifiers.hpp
+include/catch2/matchers/catch_matchers_range_equals.hpp
+include/catch2/matchers/catch_matchers_string.hpp
+include/catch2/matchers/catch_matchers_templated.hpp
+include/catch2/matchers/catch_matchers_vector.hpp
+include/catch2/matchers/internal/catch_matchers_impl.hpp
+include/catch2/reporters/catch_reporter_automake.hpp
+include/catch2/reporters/catch_reporter_common_base.hpp
+include/catch2/reporters/catch_reporter_compact.hpp
+include/catch2/reporters/catch_reporter_console.hpp
+include/catch2/reporters/catch_reporter_cumulative_base.hpp
+include/catch2/reporters/catch_reporter_event_listener.hpp
+include/catch2/reporters/catch_reporter_helpers.hpp
+include/catch2/reporters/catch_reporter_json.hpp
+include/catch2/reporters/catch_reporter_junit.hpp
+include/catch2/reporters/catch_reporter_multi.hpp
+include/catch2/reporters/catch_reporter_registrars.hpp
+include/catch2/reporters/catch_reporter_sonarqube.hpp
+include/catch2/reporters/catch_reporter_streaming_base.hpp
+include/catch2/reporters/catch_reporter_tap.hpp
+include/catch2/reporters/catch_reporter_teamcity.hpp
+include/catch2/reporters/catch_reporter_xml.hpp
+include/catch2/reporters/catch_reporters_all.hpp
 lib/cmake/Catch2/Catch.cmake
 lib/cmake/Catch2/Catch2Config.cmake
 lib/cmake/Catch2/Catch2ConfigVersion.cmake
+lib/cmake/Catch2/Catch2Targets-noconfig.cmake
 lib/cmake/Catch2/Catch2Targets.cmake
 lib/cmake/Catch2/CatchAddTests.cmake
+lib/cmake/Catch2/CatchShardTests.cmake
+lib/cmake/Catch2/CatchShardTestsImpl.cmake
 lib/cmake/Catch2/ParseAndAddCatchTests.cmake
+lib/libCatch2.a
+lib/libCatch2Main.a
+lib/pkgconfig/catch2-with-main.pc
+lib/pkgconfig/catch2.pc
 share/Catch2/gdbinit
 share/Catch2/lldbinit
 share/doc/Catch2/Readme.md
@@ -19,25 +198,29 @@ share/doc/Catch2/ci-and-misc.md
 share/doc/Catch2/cmake-integration.md
 share/doc/Catch2/command-line.md
 share/doc/Catch2/commercial-users.md
+share/doc/Catch2/comparing-floating-point-numbers.md
 share/doc/Catch2/configuration.md
 share/doc/Catch2/contributing.md
 share/doc/Catch2/deprecations.md
 share/doc/Catch2/event-listeners.md
+share/doc/Catch2/faq.md
 share/doc/Catch2/generators.md
 share/doc/Catch2/limitations.md
 share/doc/Catch2/list-of-examples.md
 share/doc/Catch2/logging.md
 share/doc/Catch2/matchers.md
+share/doc/Catch2/migrate-v2-to-v3.md
 share/doc/Catch2/opensource-users.md
 share/doc/Catch2/other-macros.md
 share/doc/Catch2/own-main.md
 share/doc/Catch2/release-notes.md
 share/doc/Catch2/release-process.md
+share/doc/Catch2/reporter-events.md
 share/doc/Catch2/reporters.md
-share/doc/Catch2/slow-compiles.md
+share/doc/Catch2/skipping-passing-failing.md
 share/doc/Catch2/test-cases-and-sections.md
 share/doc/Catch2/test-fixtures.md
 share/doc/Catch2/tostring.md
 share/doc/Catch2/tutorial.md
+share/doc/Catch2/usage-tips.md
 share/doc/Catch2/why-catch.md
-share/pkgconfig/catch2.pc

Index: pkgsrc/devel/catch2/Makefile
diff -u pkgsrc/devel/catch2/Makefile:1.13 pkgsrc/devel/catch2/Makefile:1.14
--- pkgsrc/devel/catch2/Makefile:1.13   Thu Jul 20 21:47:47 2023
+++ pkgsrc/devel/catch2/Makefile        Mon Jan 15 09:33:46 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2023/07/20 21:47:47 nia Exp $
+# $NetBSD: Makefile,v 1.14 2024/01/15 09:33:46 nros Exp $
 
-DISTNAME=      Catch2-2.13.10
+DISTNAME=      Catch2-3.5.1
 PKGNAME=       ${DISTNAME:tl}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=catchorg/}
@@ -8,19 +8,17 @@ GITHUB_TAG=   v${PKGVERSION_NOREV}
 
 MAINTAINER=    bsiegert%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/catchorg/Catch2
-COMMENT=       C++ header-only test framework for unit tests
+COMMENT=       C++ test framework for unit tests
 LICENSE=       boost-license
 
 WRKSRC=                ${WRKDIR}/${DISTNAME}
-USE_CMAKE=     yes
 USE_LANGUAGES= c c++
-CONFIGURE_DIRS=        build
-CMAKE_ARG_PATH=        ..
-CMAKE_ARGS+=   -DBUILD_TESTING=OFF
 
-USE_CXX_FEATURES+=     c++11
+CMAKE_CONFIGURE_ARGS+= -DBUILD_TESTING=OFF
+CMAKE_CONFIGURE_ARGS+= -DPKGCONFIG_INSTALL_DIR:PATH=${PREFIX}/lib/pkgconfig
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_CXX_STANDARD=17
 
-pre-configure:
-       ${MKDIR} ${WRKSRC}/build
+USE_CXX_FEATURES+=     c++17
 
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/catch2/distinfo
diff -u pkgsrc/devel/catch2/distinfo:1.13 pkgsrc/devel/catch2/distinfo:1.14
--- pkgsrc/devel/catch2/distinfo:1.13   Mon Oct 17 12:10:39 2022
+++ pkgsrc/devel/catch2/distinfo        Mon Jan 15 09:33:46 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2022/10/17 12:10:39 adam Exp $
+$NetBSD: distinfo,v 1.14 2024/01/15 09:33:46 nros Exp $
 
-BLAKE2s (Catch2-2.13.10.tar.gz) = 6e3878812fdec2e6f19d0b847d82c95258a52e30a6b01f8d60b329edf4bb17cc
-SHA512 (Catch2-2.13.10.tar.gz) = 33c2292d5d315128a73f8cff27e92f86f3af30c45ce199297110b3cd2bf7d67a972fbcf7415aed1c467c384e0e3c63900c90faedff1d74c9d94b9e3e43df5ee2
-Size (Catch2-2.13.10.tar.gz) = 662225 bytes
+BLAKE2s (Catch2-3.5.1.tar.gz) = 255f6fb8ea96da8b172df000dfd8ae651667f25c23203adfa9f44a6adea142eb
+SHA512 (Catch2-3.5.1.tar.gz) = 90c5fcf2d4b9771f5b30e027099da0d15e294b85d28702020435606efda2a4edc96b3d2007b60e5a32178248ad129b4aba0fb96582156244d62e1edacda6ce7d
+Size (Catch2-3.5.1.tar.gz) = 1159629 bytes

Index: pkgsrc/devel/catch2/buildlink3.mk
diff -u pkgsrc/devel/catch2/buildlink3.mk:1.2 pkgsrc/devel/catch2/buildlink3.mk:1.3
--- pkgsrc/devel/catch2/buildlink3.mk:1.2       Thu Jul 20 21:47:47 2023
+++ pkgsrc/devel/catch2/buildlink3.mk   Mon Jan 15 09:33:46 2024
@@ -1,14 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.2 2023/07/20 21:47:47 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2024/01/15 09:33:46 nros Exp $
 
 BUILDLINK_TREE+=       catch2
 
 .if !defined(CATCH2_BUILDLINK3_MK)
 CATCH2_BUILDLINK3_MK:=
 
-USE_CXX_FEATURES+=     c++11
+USE_CXX_FEATURES+=     c++14
 
 BUILDLINK_DEPMETHOD.catch2?=   build
-BUILDLINK_API_DEPENDS.catch2+= catch2>=2.11.1
+BUILDLINK_API_DEPENDS.catch2+= catch2>=3.5.1
 BUILDLINK_PKGSRCDIR.catch2?=   ../../devel/catch2
 .endif # CATCH2_BUILDLINK3_MK
 



Home | Main Index | Thread Index | Old Index