misc/{,py-}lightgbm: update 3.3.5 → 4.2.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2023-12-21 21:50:36 -08:00
parent 61cc799ef1
commit edf1950bc9
6 changed files with 17 additions and 30 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= lightgbm
DISTVERSIONPREFIX= v
DISTVERSION= 4.1.0
DISTVERSION= 4.2.0
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org

View file

@ -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

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -1 +0,0 @@
%%PYTHON_SITELIBDIR%%/lightgbm/lib_lightgbm.so