View | Details | Raw Unified | Return to bug 260647
Collapse All | Expand All

(-)b/science/py-scikit-learn/Makefile (-4 / +8 lines)
Lines 1-8 Link Here
1
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
1
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
2
2
3
PORTNAME=	scikit-learn
3
PORTNAME=	scikit-learn
4
DISTVERSION=	0.22
4
DISTVERSION=	1.0.1
5
PORTREVISION=	1
6
CATEGORIES=	science python
5
CATEGORIES=	science python
7
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 14-21 LICENSE= BSD3CLAUSE Link Here
14
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
15
14
16
BUILD_DEPENDS=	${PYNUMPY} \
15
BUILD_DEPENDS=	${PYNUMPY} \
17
		${PYTHON_PKGNAMEPREFIX}joblib>=0.11.0:devel/py-joblib@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}scipy>=1.1.0:science/py-scipy@${PY_FLAVOR}
18
		${PYTHON_PKGNAMEPREFIX}scipy>=0.17.0:science/py-scipy@${PY_FLAVOR}
19
RUN_DEPENDS:=	${BUILD_DEPENDS}
17
RUN_DEPENDS:=	${BUILD_DEPENDS}
20
18
21
USES=		fortran python:3.5+ localbase
19
USES=		fortran python:3.5+ localbase
Lines 26-29 POST_PLIST= fix-plist Link Here
26
fix-plist: # https://github.com/scikit-learn/scikit-learn/issues/12681
24
fix-plist: # https://github.com/scikit-learn/scikit-learn/issues/12681
27
	@${REINPLACE_CMD} -e "s|lib/python.*/sklearn/datasets/tests/data/openml$$||" ${TMPPLIST}
25
	@${REINPLACE_CMD} -e "s|lib/python.*/sklearn/datasets/tests/data/openml$$||" ${TMPPLIST}
28
26
27
post-install: # strip binaries
28
	@${STRIP_CMD} \
29
		${STAGEDIR}${PYTHON_SITELIBDIR}/sklearn/*.cpython*.so \
30
		${STAGEDIR}${PYTHON_SITELIBDIR}/sklearn/*/*.cpython*.so \
31
		${STAGEDIR}${PYTHON_SITELIBDIR}/sklearn/*/*/*.cpython*.so
32
29
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)b/science/py-scikit-learn/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1576570322
1
TIMESTAMP = 1640275530
2
SHA256 (scikit-learn-0.22.tar.gz) = 314abf60c073c48a1e95feaae9f3ca47a2139bd77cebb5b877c23a45c9e03012
2
SHA256 (scikit-learn-1.0.1.tar.gz) = ac2ca9dbb754d61cfe1c83ba8483498ef951d29b93ec09d6f002847f210a99da
3
SIZE (scikit-learn-0.22.tar.gz) = 6934808
3
SIZE (scikit-learn-1.0.1.tar.gz) = 6603952

Return to bug 260647