git: 2d0e0db088e2 - main - misc/lightgbm: Update 3.3.5 → 4.0.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 14 Jul 2023 17:55:44 UTC
The branch main has been updated by yuri:

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

commit 2d0e0db088e24cb825af6672f0305f98de294a74
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-14 15:01:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-14 17:55:42 +0000

    misc/lightgbm: Update 3.3.5 → 4.0.0
    
    Reported by:    portscout
---
 misc/lightgbm/Makefile  |  7 ++++---
 misc/lightgbm/distinfo  |  6 +++---
 misc/lightgbm/pkg-plist | 13 ++++++++++++-
 3 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/misc/lightgbm/Makefile b/misc/lightgbm/Makefile
index 68047c2fe5ce..abddad107c15 100644
--- a/misc/lightgbm/Makefile
+++ b/misc/lightgbm/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	lightgbm
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.3.5
-PORTREVISION=	1
+DISTVERSION=	4.0.0
 CATEGORIES=	misc # machine-learning
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -28,6 +27,8 @@ CMAKE_TESTING_TARGET=
 CXXFLAGS+=	-I${LOCALBASE}/include/eigen3
 
 post-test:
-	${WRKSRC}/testlightgbm
+	@${WRKSRC}/testlightgbm
+
+# tests fail to compile, see https://github.com/microsoft/LightGBM/issues/5976
 
 .include <bsd.port.mk>
diff --git a/misc/lightgbm/distinfo b/misc/lightgbm/distinfo
index 8407cb4dc97b..452ccf572148 100644
--- a/misc/lightgbm/distinfo
+++ b/misc/lightgbm/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1674617883
-SHA256 (microsoft-LightGBM-v3.3.5_GH0.tar.gz) = 16fb9e299ced37be5ac69dd510e7323337e623019c9c578628c43b285f764be7
-SIZE (microsoft-LightGBM-v3.3.5_GH0.tar.gz) = 6875287
+TIMESTAMP = 1689350132
+SHA256 (microsoft-LightGBM-v4.0.0_GH0.tar.gz) = affb82a5a9d88949ffea634c0c33485ba966d42b1f5f838caa7c068447c99c1e
+SIZE (microsoft-LightGBM-v4.0.0_GH0.tar.gz) = 7034175
 SHA256 (boostorg-compute-36350b7_GH0.tar.gz) = b82330296614fe9222bcdee60c5f71362d6fc16f17b0fb6fb5901b6531d1df90
 SIZE (boostorg-compute-36350b7_GH0.tar.gz) = 377110
 SHA256 (fmtlib-fmt-b6f4cea_GH0.tar.gz) = 121577275e29f0302dcda9c0fa4e6d33cad5f238777d8c2a7623a8cd88be8aa2
diff --git a/misc/lightgbm/pkg-plist b/misc/lightgbm/pkg-plist
index 61da587e1ce4..55d8ab7b4680 100644
--- a/misc/lightgbm/pkg-plist
+++ b/misc/lightgbm/pkg-plist
@@ -4,6 +4,15 @@ include/LightGBM/bin.h
 include/LightGBM/boosting.h
 include/LightGBM/c_api.h
 include/LightGBM/config.h
+include/LightGBM/cuda/cuda_algorithms.hpp
+include/LightGBM/cuda/cuda_column_data.hpp
+include/LightGBM/cuda/cuda_metadata.hpp
+include/LightGBM/cuda/cuda_metric.hpp
+include/LightGBM/cuda/cuda_objective_function.hpp
+include/LightGBM/cuda/cuda_random.hpp
+include/LightGBM/cuda/cuda_row_data.hpp
+include/LightGBM/cuda/cuda_split_info.hpp
+include/LightGBM/cuda/cuda_tree.hpp
 include/LightGBM/cuda/cuda_utils.h
 include/LightGBM/cuda/vector_cudahost.h
 include/LightGBM/dataset.h
@@ -15,13 +24,15 @@ include/LightGBM/metric.h
 include/LightGBM/network.h
 include/LightGBM/objective_function.h
 include/LightGBM/prediction_early_stop.h
+include/LightGBM/sample_strategy.h
 include/LightGBM/train_share_states.h
 include/LightGBM/tree.h
 include/LightGBM/tree_learner.h
 include/LightGBM/utils/array_args.h
+include/LightGBM/utils/binary_writer.h
+include/LightGBM/utils/byte_buffer.h
 include/LightGBM/utils/chunked_array.hpp
 include/LightGBM/utils/common.h
-include/LightGBM/utils/common_legacy_solaris.h
 include/LightGBM/utils/file_io.h
 include/LightGBM/utils/json11.h
 include/LightGBM/utils/log.h