git: e2b66f2d0529 - main - misc/{,py-}xgboost: update 2.1.0 → 2.1.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 31 Jul 2024 08:04:16 UTC
The branch main has been updated by yuri:

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

commit e2b66f2d0529e0d83f07fd32e43ed106e42f63e0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-31 07:10:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-31 08:04:07 +0000

    misc/{,py-}xgboost: update 2.1.0 → 2.1.1
    
    Reported by:    portscout
---
 misc/py-xgboost/Makefile                               |  2 +-
 misc/py-xgboost/distinfo                               |  6 +++---
 misc/py-xgboost/files/patch-src_c__api_coll__c__api.cc | 13 -------------
 misc/xgboost/Makefile                                  |  2 +-
 misc/xgboost/distinfo                                  |  6 +++---
 misc/xgboost/files/patch-src_c__api_coll__c__api.cc    | 13 -------------
 6 files changed, 8 insertions(+), 34 deletions(-)

diff --git a/misc/py-xgboost/Makefile b/misc/py-xgboost/Makefile
index 89e99b30c857..26ec066b3d12 100644
--- a/misc/py-xgboost/Makefile
+++ b/misc/py-xgboost/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xgboost
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.0
+DISTVERSION=	2.1.1
 CATEGORIES=	misc # machine-learning
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
diff --git a/misc/py-xgboost/distinfo b/misc/py-xgboost/distinfo
index c8cf33ef71a7..8b8e85443302 100644
--- a/misc/py-xgboost/distinfo
+++ b/misc/py-xgboost/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718956274
-SHA256 (dmlc-xgboost-v2.1.0_GH0.tar.gz) = 380c66ac3611a9cc867d4f51aaa95bb8946f75a84e5a3f0a3f37b89a072e6f93
-SIZE (dmlc-xgboost-v2.1.0_GH0.tar.gz) = 2124684
+TIMESTAMP = 1722405992
+SHA256 (dmlc-xgboost-v2.1.1_GH0.tar.gz) = 3204cc5cc3cf421c42d310cd5ef7711bf8fe7e11c34641e1f042625566a421b2
+SIZE (dmlc-xgboost-v2.1.1_GH0.tar.gz) = 2134830
diff --git a/misc/py-xgboost/files/patch-src_c__api_coll__c__api.cc b/misc/py-xgboost/files/patch-src_c__api_coll__c__api.cc
deleted file mode 100644
index 7a6961734687..000000000000
--- a/misc/py-xgboost/files/patch-src_c__api_coll__c__api.cc
+++ /dev/null
@@ -1,13 +0,0 @@
-- workaround for https://github.com/dmlc/xgboost/issues/10466
-
---- ../src/c_api/coll_c_api.cc.orig	2024-06-21 07:43:36 UTC
-+++ ../src/c_api/coll_c_api.cc
-@@ -75,7 +75,7 @@ void WaitImpl(TrackerHandleT *ptr, std::chrono::second
- 
- void WaitImpl(TrackerHandleT *ptr, std::chrono::seconds timeout) {
-   constexpr std::int64_t kDft{collective::DefaultTimeoutSec()};
--  std::chrono::seconds wait_for{collective::HasTimeout(timeout) ? std::min(kDft, timeout.count())
-+  std::chrono::seconds wait_for{collective::HasTimeout(timeout) ? std::min(long(kDft), long(timeout.count()))
-                                                                 : kDft};
- 
-   common::Timer timer;
diff --git a/misc/xgboost/Makefile b/misc/xgboost/Makefile
index c13726c33e68..30d63b59199f 100644
--- a/misc/xgboost/Makefile
+++ b/misc/xgboost/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xgboost
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.0
+DISTVERSION=	2.1.1
 CATEGORIES=	misc # machine-learning
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/misc/xgboost/distinfo b/misc/xgboost/distinfo
index 3006b5211de1..4ccbd22764a3 100644
--- a/misc/xgboost/distinfo
+++ b/misc/xgboost/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1718953379
-SHA256 (dmlc-xgboost-v2.1.0_GH0.tar.gz) = 380c66ac3611a9cc867d4f51aaa95bb8946f75a84e5a3f0a3f37b89a072e6f93
-SIZE (dmlc-xgboost-v2.1.0_GH0.tar.gz) = 2124684
+TIMESTAMP = 1722404645
+SHA256 (dmlc-xgboost-v2.1.1_GH0.tar.gz) = 3204cc5cc3cf421c42d310cd5ef7711bf8fe7e11c34641e1f042625566a421b2
+SIZE (dmlc-xgboost-v2.1.1_GH0.tar.gz) = 2134830
 SHA256 (NVlabs-cub-af39ee2_GH0.tar.gz) = 3444f1d0af16d3680bf5089c1a91e707769d946580b80f12463860366fb6884b
 SIZE (NVlabs-cub-af39ee2_GH0.tar.gz) = 413215
 SHA256 (rapidsai-gputreeshap-acb5be3_GH0.tar.gz) = c2b67f8f398000570cac6b9d82a0bdab251105391602a3e07fd497c5e61534c4
diff --git a/misc/xgboost/files/patch-src_c__api_coll__c__api.cc b/misc/xgboost/files/patch-src_c__api_coll__c__api.cc
deleted file mode 100644
index b81bddb3d702..000000000000
--- a/misc/xgboost/files/patch-src_c__api_coll__c__api.cc
+++ /dev/null
@@ -1,13 +0,0 @@
-- workaround for https://github.com/dmlc/xgboost/issues/10466
-
---- src/c_api/coll_c_api.cc.orig	2024-06-21 07:43:36 UTC
-+++ src/c_api/coll_c_api.cc
-@@ -75,7 +75,7 @@ void WaitImpl(TrackerHandleT *ptr, std::chrono::second
- 
- void WaitImpl(TrackerHandleT *ptr, std::chrono::seconds timeout) {
-   constexpr std::int64_t kDft{collective::DefaultTimeoutSec()};
--  std::chrono::seconds wait_for{collective::HasTimeout(timeout) ? std::min(kDft, timeout.count())
-+  std::chrono::seconds wait_for{collective::HasTimeout(timeout) ? std::min(long(kDft), long(timeout.count()))
-                                                                 : kDft};
- 
-   common::Timer timer;