SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
46
math/py-scikit-learn/Makefile
Normal file
46
math/py-scikit-learn/Makefile
Normal file
|
@ -0,0 +1,46 @@
|
|||
COMMENT = set of python modules for machine learning and data mining
|
||||
|
||||
MODPY_EGG_VERSION = 1.2.0
|
||||
DISTNAME = scikit-learn-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
|
||||
CATEGORIES = math
|
||||
|
||||
HOMEPAGE = http://scikit-learn.org
|
||||
|
||||
MAINTAINER = Paul Irofti <paul@irofti.net>
|
||||
|
||||
# BSD-3
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
# C++11
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} m
|
||||
|
||||
MODULES = lang/python
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYTEST = Yes
|
||||
MODPY_TEST_DIR = ${WRKSRC}/lib.openbsd-${OSREV}-${ARCH}-${MODPY_VERSION}
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
|
||||
BUILD_DEPENDS = lang/cython${MODPY_FLAVOR} \
|
||||
math/py-numpy${MODPY_FLAVOR} \
|
||||
math/py-scipy${MODPY_FLAVOR}
|
||||
|
||||
RUN_DEPENDS = math/py-numpy${MODPY_FLAVOR}>=1.17.3 \
|
||||
math/py-scipy${MODPY_FLAVOR}>=1.3.2 \
|
||||
sysutils/py-joblib${MODPY_FLAVOR}>=1.1.1 \
|
||||
sysutils/py-threadpoolctl${MODPY_FLAVOR}>=2.0.0
|
||||
|
||||
TEST_DEPENDS = math/py-pandas${MODPY_FLAVOR}
|
||||
|
||||
pre-test:
|
||||
cp -r ${WRKSRC}/sklearn/datasets/{data,descr} \
|
||||
${MODPY_TEST_DIR}/sklearn/datasets
|
||||
|
||||
.include <bsd.port.mk>
|
2
math/py-scikit-learn/distinfo
Normal file
2
math/py-scikit-learn/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (scikit-learn-1.2.0.tar.gz) = aAtls8ruRpVBOF0spbA/9wQI9sYYxYOUgxLw0hJd9oA=
|
||||
SIZE (scikit-learn-1.2.0.tar.gz) = 7208996
|
2
math/py-scikit-learn/pkg/DESCR
Normal file
2
math/py-scikit-learn/pkg/DESCR
Normal file
|
@ -0,0 +1,2 @@
|
|||
scikit-learn is a BSD-licensed Python module for machine learning
|
||||
and data mining built on top of SciPy.
|
1444
math/py-scikit-learn/pkg/PLIST
Normal file
1444
math/py-scikit-learn/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue