git: edf1950bc91e - main - misc/{,py-}lightgbm: update 3.3.5 → 4.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Dec 2023 08:05:44 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=edf1950bc91e9581d3e51781e21bd9db42c12abe commit edf1950bc91e9581d3e51781e21bd9db42c12abe Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-12-22 05:50:36 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-12-22 08:05:38 +0000 misc/{,py-}lightgbm: update 3.3.5 → 4.2.0 Reported by: portscout --- misc/lightgbm/Makefile | 2 +- misc/lightgbm/distinfo | 6 +++--- misc/lightgbm/pkg-plist | 4 +++- misc/py-lightgbm/Makefile | 22 +++++++--------------- misc/py-lightgbm/distinfo | 12 +++--------- misc/py-lightgbm/pkg-plist | 1 - 6 files changed, 17 insertions(+), 30 deletions(-) diff --git a/misc/lightgbm/Makefile b/misc/lightgbm/Makefile index 818097d08063..d9b1bbd9ff89 100644 --- a/misc/lightgbm/Makefile +++ b/misc/lightgbm/Makefile @@ -1,6 +1,6 @@ PORTNAME= lightgbm DISTVERSIONPREFIX= v -DISTVERSION= 4.1.0 +DISTVERSION= 4.2.0 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org diff --git a/misc/lightgbm/distinfo b/misc/lightgbm/distinfo index 2580c7fc7db2..9d185fcec385 100644 --- a/misc/lightgbm/distinfo +++ b/misc/lightgbm/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1694883300 -SHA256 (microsoft-LightGBM-v4.1.0_GH0.tar.gz) = eb896dc21c7afec95d10327777f6e77163b5bcd35f6ce5d152e6feefbe3328a5 -SIZE (microsoft-LightGBM-v4.1.0_GH0.tar.gz) = 7040254 +TIMESTAMP = 1703221748 +SHA256 (microsoft-LightGBM-v4.2.0_GH0.tar.gz) = 4b2df6e3c5fa345a2fac6cefff65dd08cbe2fa4717cd8335c2a58c1a0c7c6b02 +SIZE (microsoft-LightGBM-v4.2.0_GH0.tar.gz) = 7072043 SHA256 (boostorg-compute-36350b7_GH0.tar.gz) = b82330296614fe9222bcdee60c5f71362d6fc16f17b0fb6fb5901b6531d1df90 SIZE (boostorg-compute-36350b7_GH0.tar.gz) = 377110 SHA256 (fmtlib-fmt-f5e5435_GH0.tar.gz) = 3e404dff177edebada2af98ffc9bd3efa0aae6fc69fa2a7750afb137f565040d diff --git a/misc/lightgbm/pkg-plist b/misc/lightgbm/pkg-plist index 55d8ab7b4680..dcd016ed7423 100644 --- a/misc/lightgbm/pkg-plist +++ b/misc/lightgbm/pkg-plist @@ -1,5 +1,7 @@ bin/lightgbm include/LightGBM/application.h +include/LightGBM/arrow.h +include/LightGBM/arrow.tpp include/LightGBM/bin.h include/LightGBM/boosting.h include/LightGBM/c_api.h @@ -13,7 +15,7 @@ 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/cuda_utils.hu include/LightGBM/cuda/vector_cudahost.h include/LightGBM/dataset.h include/LightGBM/dataset_loader.h diff --git a/misc/py-lightgbm/Makefile b/misc/py-lightgbm/Makefile index 69480ad25fa4..faa452aea4f6 100644 --- a/misc/py-lightgbm/Makefile +++ b/misc/py-lightgbm/Makefile @@ -1,8 +1,7 @@ PORTNAME= lightgbm -DISTVERSIONPREFIX= v -DISTVERSION= 3.3.5 -PORTREVISION= 1 +DISTVERSION= 4.2.0 CATEGORIES= misc # machine-learning +MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org @@ -10,7 +9,7 @@ COMMENT= Gradient boosting framework that uses tree based learning algorithms WWW= https://lightgbm.readthedocs.io/en/latest/ LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/../LICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armv6 armv7 i386 # Exception: Cannot install LightGBM in 32-bit Python, please use 64-bit Python instead @@ -20,26 +19,19 @@ PY_DEPENDS= ${PYNUMPY} \ BUILD_DEPENDS= cmake:devel/cmake-core \ gmake:devel/gmake \ ${PY_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}pyproject-metadata>0:devel/py-pyproject-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PY_DEPENDS} USES= eigen:3 python -USE_PYTHON= distutils autoplist - -USE_GITHUB= yes -GH_ACCOUNT= microsoft -GH_PROJECT= LightGBM -GH_TUPLE= boostorg:compute:36350b7:boostorg_compute/../external_libs/compute \ - fmtlib:fmt:b6f4cea:fmt/../external_libs/fmt \ - lemire:fast_double_parser:ace6064:fast_double_parser/../external_libs/fast_double_parser - -WRKSRC_SUBDIR= python-package +USE_PYTHON= pep517 autoplist CXXFLAGS+= -I${LOCALBASE}/include/eigen3 BINARY_ALIAS= make=${GMAKE} post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lightgbm/lib_lightgbm.so + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lightgbm/lib/lib_lightgbm.so .include <bsd.port.mk> diff --git a/misc/py-lightgbm/distinfo b/misc/py-lightgbm/distinfo index 89a62ddd8495..4fae87fd2b9e 100644 --- a/misc/py-lightgbm/distinfo +++ b/misc/py-lightgbm/distinfo @@ -1,9 +1,3 @@ -TIMESTAMP = 1674623414 -SHA256 (microsoft-LightGBM-v3.3.5_GH0.tar.gz) = 16fb9e299ced37be5ac69dd510e7323337e623019c9c578628c43b285f764be7 -SIZE (microsoft-LightGBM-v3.3.5_GH0.tar.gz) = 6875287 -SHA256 (boostorg-compute-36350b7_GH0.tar.gz) = b82330296614fe9222bcdee60c5f71362d6fc16f17b0fb6fb5901b6531d1df90 -SIZE (boostorg-compute-36350b7_GH0.tar.gz) = 377110 -SHA256 (fmtlib-fmt-b6f4cea_GH0.tar.gz) = 121577275e29f0302dcda9c0fa4e6d33cad5f238777d8c2a7623a8cd88be8aa2 -SIZE (fmtlib-fmt-b6f4cea_GH0.tar.gz) = 826134 -SHA256 (lemire-fast_double_parser-ace6064_GH0.tar.gz) = a53e6ebeb1d37d700cfebf98b2afb98d2c92df742c6ae45c27354d950cd02988 -SIZE (lemire-fast_double_parser-ace6064_GH0.tar.gz) = 635218 +TIMESTAMP = 1703227616 +SHA256 (lightgbm-4.2.0.tar.gz) = 8a4d051df2ab2218998a16f7712e843ee9e96d8b09ffbfcc18533da127e0da02 +SIZE (lightgbm-4.2.0.tar.gz) = 1694670 diff --git a/misc/py-lightgbm/pkg-plist b/misc/py-lightgbm/pkg-plist deleted file mode 100644 index 675c71203717..000000000000 --- a/misc/py-lightgbm/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -%%PYTHON_SITELIBDIR%%/lightgbm/lib_lightgbm.so