PORTNAME= lightgbm DISTVERSIONPREFIX= v DISTVERSION= 3.3.5 PORTREVISION= 1 CATEGORIES= misc # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Gradient boosting framework that uses tree based learning algorithms WWW= https://lightgbm.readthedocs.io/en/latest/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.22.0:science/py-scikit-learn@${PY_FLAVOR} BUILD_DEPENDS= cmake:devel/cmake-core \ gmake:devel/gmake \ ${PY_DEPENDS} \ ${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 CXXFLAGS+= -I${LOCALBASE}/include/eigen3 BINARY_ALIAS= make=${GMAKE} post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lightgbm/lib_lightgbm.so .include