mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
46 lines
895 B
Makefile
46 lines
895 B
Makefile
COMMENT = set of python modules for machine learning and data mining
|
|
|
|
MODPY_DISTV = 1.7.2
|
|
REVISION = 2
|
|
DISTNAME = scikit_learn-${MODPY_DISTV}
|
|
PKGNAME = py-${DISTNAME:S/_/-/}
|
|
|
|
CATEGORIES = math
|
|
|
|
HOMEPAGE = https://scikit-learn.org
|
|
|
|
MAINTAINER = Daniel Dickman <daniel@openbsd.org>
|
|
|
|
# BSD-3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
# C++11
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} m
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_PYBUILD = mesonpy
|
|
|
|
MODPY_PYTEST_ARGS = -v
|
|
MODPY_TEST_DIR = ${WRKINST}${MODPY_SITEPKG}
|
|
|
|
BUILD_DEPENDS = lang/cython \
|
|
math/py-numpy \
|
|
math/py-scipy
|
|
|
|
RUN_DEPENDS = math/py-numpy>=1.22.0 \
|
|
math/py-scipy>=1.8.0 \
|
|
sysutils/py-joblib>=1.2.0 \
|
|
sysutils/py-threadpoolctl>=3.1.0
|
|
|
|
TEST_DEPENDS = ${FULLPKGNAME}:${FULLPKGPATH} \
|
|
devel/py-test-cov \
|
|
graphics/py-matplotlib \
|
|
math/py-pandas \
|
|
math/py-scikit-image
|
|
|
|
.include <bsd.port.mk>
|