git: b1d5fa209e7e - main - devel/glaze: update 2.6.8 → 2.8.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 13 Jun 2024 05:23:06 UTC
The branch main has been updated by yuri:

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

commit b1d5fa209e7eb5ef5271583ffdb6412b48eec773
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-13 05:04:47 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-13 05:23:02 +0000

    devel/glaze: update 2.6.8 → 2.8.2
    
    Reported by:    portscout
---
 devel/glaze/Makefile                         |  9 ++++++---
 devel/glaze/distinfo                         |  6 +++---
 devel/glaze/files/patch-tests_CMakeLists.txt | 13 -------------
 devel/glaze/pkg-plist                        |  2 ++
 4 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/devel/glaze/Makefile b/devel/glaze/Makefile
index 95031382d9c6..124cd204295b 100644
--- a/devel/glaze/Makefile
+++ b/devel/glaze/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	glaze
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.6.8
+DISTVERSION=	2.8.2
 CATEGORIES=	devel textproc
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -13,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BROKEN_FreeBSD_15=	clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276265
 
 BUILD_DEPENDS=	${LOCALBASE}/include/asio.hpp:net/asio
-TEST_DEPENDS=	ut>0:devel/ut
+#TEST_DEPENDS=	ut>0:devel/ut # the old version 0.3.0 is used
 
 USES=		cmake:testing compiler:c++11-lang eigen:3 localbase
 
@@ -24,10 +24,13 @@ CMAKE_OFF=	BUILD_TESTING \
 		glaze_DEVELOPER_MODE
 CMAKE_ARGS=	-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
 CMAKE_TESTING_ON=	BUILD_TESTING glaze_DEVELOPER_MODE
-CMAKE_TESTING_ARGS=	-DFREEBSD_STAGEDIR_PREFIX=${STAGEDIR}${DATADIR}
+CMAKE_TESTING_ARGS=	-DFREEBSD_STAGEDIR_PREFIX=${STAGEDIR}${DATADIR} \
+			-DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=OFF
 
 LDFLAGS+=	-pthread
 
 NO_ARCH=	yes
 
+# tests expect the package to be installed, because the test find_package_test tests cmake finding this package
+
 .include <bsd.port.mk>
diff --git a/devel/glaze/distinfo b/devel/glaze/distinfo
index e047a132cfef..c79658120397 100644
--- a/devel/glaze/distinfo
+++ b/devel/glaze/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1716956216
-SHA256 (stephenberry-glaze-v2.6.8_GH0.tar.gz) = c4bb0ba10faeb1750485bba0b32c519c030cbb426881caa5932fd51c7825ef04
-SIZE (stephenberry-glaze-v2.6.8_GH0.tar.gz) = 390314
+TIMESTAMP = 1718253247
+SHA256 (stephenberry-glaze-v2.8.2_GH0.tar.gz) = 1df9a39355de78a86300f102291fd7ee7cb475915da8569e2997803a755d4a15
+SIZE (stephenberry-glaze-v2.8.2_GH0.tar.gz) = 403037
diff --git a/devel/glaze/files/patch-tests_CMakeLists.txt b/devel/glaze/files/patch-tests_CMakeLists.txt
deleted file mode 100644
index 4d062052bada..000000000000
--- a/devel/glaze/files/patch-tests_CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-- correct the directory where to find glaze for testing
-
---- tests/CMakeLists.txt.orig	2024-01-02 19:10:49 UTC
-+++ tests/CMakeLists.txt
-@@ -114,7 +114,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
-     "${CMAKE_CURRENT_SOURCE_DIR}/find_package"
-     "${CMAKE_CURRENT_BINARY_DIR}/find_package"
-     --build-options
--    "-Dglaze_ROOT:PATH=${CMAKE_CURRENT_BINARY_DIR}/install"
-+    "-Dglaze_ROOT:PATH=${FREEBSD_STAGEDIR_PREFIX}"
-     "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
-     "-DBUILD_TESTING=ON"
-     --test-command "${CMAKE_CTEST_COMMAND}" --verbose --output-on-failure # inner ctest command
diff --git a/devel/glaze/pkg-plist b/devel/glaze/pkg-plist
index f0df24aff1d4..d6580ac1d86b 100644
--- a/devel/glaze/pkg-plist
+++ b/devel/glaze/pkg-plist
@@ -49,8 +49,10 @@ include/glaze/csv.hpp
 include/glaze/csv/read.hpp
 include/glaze/csv/write.hpp
 include/glaze/exceptions/binary_exceptions.hpp
+include/glaze/exceptions/core_exceptions.hpp
 include/glaze/exceptions/csv_exceptions.hpp
 include/glaze/exceptions/json_exceptions.hpp
+include/glaze/exceptions/json_schema_exceptions.hpp
 include/glaze/ext/README.md
 include/glaze/ext/cli_menu.hpp
 include/glaze/ext/eigen.hpp