diff --git a/misc/py-xgboost/Makefile b/misc/py-xgboost/Makefile index cf4348672714..af32f22912d0 100644 --- a/misc/py-xgboost/Makefile +++ b/misc/py-xgboost/Makefile @@ -1,41 +1,40 @@ PORTNAME= xgboost DISTVERSIONPREFIX= v -DISTVERSION= 1.7.4 -PORTREVISION= 1 +DISTVERSION= 1.7.6 CATEGORIES= misc # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT, GBM) WWW= https://xgboost.ai/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/../LICENSE BUILD_DEPENDS= cmake:devel/cmake-core LIB_DEPENDS= libdmlc.so:devel/dmlc-core \ libxgboost.so:misc/xgboost RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} USES= compiler:c11 python:3.5+ localbase:ldflags USE_PYTHON= distutils pytest # Python tests are broken because py-scikit-learn is missing the py-threadpoolctl dependency which is also currently broken USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= dmlc WRKSRC_SUBDIR= python-package PYDISTUTILS_INSTALLARGS= --use-system-libxgboost # this is ignored so that setup.py has to be patched, see https://github.com/dmlc/xgboost/issues/6879 NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/../tests/python post-install: ${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} .include diff --git a/misc/py-xgboost/distinfo b/misc/py-xgboost/distinfo index 94a9d49f4c29..aa0287d7cf33 100644 --- a/misc/py-xgboost/distinfo +++ b/misc/py-xgboost/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676715264 -SHA256 (dmlc-xgboost-v1.7.4_GH0.tar.gz) = bedf9b61564c80f28a7ca8e74d71357539b6c81a0e5a548db10a48530a07424a -SIZE (dmlc-xgboost-v1.7.4_GH0.tar.gz) = 1871424 +TIMESTAMP = 1687151492 +SHA256 (dmlc-xgboost-v1.7.6_GH0.tar.gz) = 20acbdc04e5c724884788a51abbc400fc0d8497ae6cb5b404fef4e0d32fe1a0e +SIZE (dmlc-xgboost-v1.7.6_GH0.tar.gz) = 1873636 diff --git a/misc/xgboost/Makefile b/misc/xgboost/Makefile index dbae2d075093..feca96702653 100644 --- a/misc/xgboost/Makefile +++ b/misc/xgboost/Makefile @@ -1,36 +1,36 @@ PORTNAME= xgboost DISTVERSIONPREFIX= v -DISTVERSION= 1.7.4 +DISTVERSION= 1.7.6 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT, GBM) WWW= https://xgboost.ai/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= compilation fails: non-constant-expression cannot be narrowed from type 'unsigned long long' to 'size_t', see https://github.com/dmlc/xgboost/issues/8489 BROKEN_i386= compilation fails: non-constant-expression cannot be narrowed from type 'unsigned long long' to 'size_t', see https://github.com/dmlc/xgboost/issues/8489 LIB_DEPENDS= libdmlc.so:devel/dmlc-core TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++11-lang localbase:ldflags USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= dmlc GH_TUPLE= \ NVlabs:cub:af39ee2:NVlabs_cub/cub \ rapidsai:gputreeshap:acb5be3:rapidsai_gputreeshap/gputreeshap LDFLAGS+= ${LOCALBASE}/lib/libdmlc.so -lexecinfo CMAKE_TESTING_ON= GOOGLE_TEST # 1 test fails, see https://github.com/dmlc/xgboost/issues/8425 OPTIONS_DEFINE= OPENMP OPENMP_CMAKE_BOOL= USE_OPENMP .include diff --git a/misc/xgboost/distinfo b/misc/xgboost/distinfo index 24dd2d47fa8d..1cb1b2f71dfb 100644 --- a/misc/xgboost/distinfo +++ b/misc/xgboost/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1676714941 -SHA256 (dmlc-xgboost-v1.7.4_GH0.tar.gz) = bedf9b61564c80f28a7ca8e74d71357539b6c81a0e5a548db10a48530a07424a -SIZE (dmlc-xgboost-v1.7.4_GH0.tar.gz) = 1871424 +TIMESTAMP = 1687149910 +SHA256 (dmlc-xgboost-v1.7.6_GH0.tar.gz) = 20acbdc04e5c724884788a51abbc400fc0d8497ae6cb5b404fef4e0d32fe1a0e +SIZE (dmlc-xgboost-v1.7.6_GH0.tar.gz) = 1873636 SHA256 (NVlabs-cub-af39ee2_GH0.tar.gz) = 3444f1d0af16d3680bf5089c1a91e707769d946580b80f12463860366fb6884b SIZE (NVlabs-cub-af39ee2_GH0.tar.gz) = 413215 SHA256 (rapidsai-gputreeshap-acb5be3_GH0.tar.gz) = c2b67f8f398000570cac6b9d82a0bdab251105391602a3e07fd497c5e61534c4 SIZE (rapidsai-gputreeshap-acb5be3_GH0.tar.gz) = 61972