git: 802f48f0f5e4 - main - devel/snitch: update 1.2.5 → 1.3.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 06 Dec 2024 10:02:32 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=802f48f0f5e491abdcd5650a05a40a14b64222b5

commit 802f48f0f5e491abdcd5650a05a40a14b64222b5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-12-06 09:58:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-06 10:02:25 +0000

    devel/snitch: update 1.2.5 → 1.3.1
    
    Reported by:    portscout
---
 devel/snitch/Makefile  | 8 ++++++--
 devel/snitch/distinfo  | 6 +++---
 devel/snitch/pkg-plist | 4 ++++
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/devel/snitch/Makefile b/devel/snitch/Makefile
index b89c2a0969a0..527c726a03a9 100644
--- a/devel/snitch/Makefile
+++ b/devel/snitch/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	snitch
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.2.5
+DISTVERSION=	1.3.1
 CATEGORIES=	devel
 PKGNAMESUFFIX=	-testing
 
@@ -11,7 +11,9 @@ WWW=		https://github.com/cschreib/snitch
 LICENSE=	BSL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++20-lang
+TEST_DEPENDS=	doctest>0:devel/doctest
+
+USES=		cmake:testing compiler:c++20-lang
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
@@ -32,4 +34,6 @@ NO_ARCH=	yes
 CONFLICTS_INSTALL=	snitch-testing # see https://github.com/cschreib/snitch/issues/125
 .endif
 
+CMAKE_TESTING_ON=	SNITCH_DO_TEST # tests fail to find doctest because cmake attempts to fetch it, see https://github.com/snitch-org/snitch/issues/201
+
 .include <bsd.port.mk>
diff --git a/devel/snitch/distinfo b/devel/snitch/distinfo
index e95e6fc90f85..3c7f333c23d4 100644
--- a/devel/snitch/distinfo
+++ b/devel/snitch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715321369
-SHA256 (cschreib-snitch-v1.2.5_GH0.tar.gz) = 87be73638ebf14667ef7dd9e6372faa7ad4fa9b2c6367c844f733469680469a2
-SIZE (cschreib-snitch-v1.2.5_GH0.tar.gz) = 300051
+TIMESTAMP = 1733478564
+SHA256 (cschreib-snitch-v1.3.1_GH0.tar.gz) = f9ae374014515a6077df025f8958b7e80ccecd9cf7ee3abd9f17150398eee8db
+SIZE (cschreib-snitch-v1.3.1_GH0.tar.gz) = 308542
diff --git a/devel/snitch/pkg-plist b/devel/snitch/pkg-plist
index 63fe04014953..38ccded337b6 100644
--- a/devel/snitch/pkg-plist
+++ b/devel/snitch/pkg-plist
@@ -1,4 +1,5 @@
 include/snitch/snitch.hpp
+include/snitch/snitch_any.hpp
 include/snitch/snitch_append.hpp
 include/snitch/snitch_capture.hpp
 include/snitch/snitch_cli.hpp
@@ -20,6 +21,7 @@ include/snitch/snitch_macros_reporter.hpp
 include/snitch/snitch_macros_test_case.hpp
 include/snitch/snitch_macros_utility.hpp
 include/snitch/snitch_macros_warnings.hpp
+include/snitch/snitch_main.hpp
 include/snitch/snitch_matcher.hpp
 include/snitch/snitch_registry.hpp
 include/snitch/snitch_reporter_catch2_xml.hpp
@@ -29,6 +31,8 @@ include/snitch/snitch_section.hpp
 include/snitch/snitch_string.hpp
 include/snitch/snitch_string_utility.hpp
 include/snitch/snitch_test_data.hpp
+include/snitch/snitch_time.hpp
+include/snitch/snitch_type_id.hpp
 include/snitch/snitch_type_name.hpp
 include/snitch/snitch_vector.hpp
 lib/cmake/snitch/snitch-config.cmake