Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2019 13:09:34 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520329 - head/science/py-scikit-learn
Message-ID:  <201912171309.xBHD9YVI046610@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Tue Dec 17 13:09:33 2019
New Revision: 520329
URL: https://svnweb.freebsd.org/changeset/ports/520329

Log:
  - Update to 0.22
  - Take maintainership
  
  PR:		238718
  Submitted by:	wenheping2000@hotmail.com(myself)
  Thanks to:	demon, koobs@, geraud@gcu.info

Modified:
  head/science/py-scikit-learn/Makefile
  head/science/py-scikit-learn/distinfo

Modified: head/science/py-scikit-learn/Makefile
==============================================================================
--- head/science/py-scikit-learn/Makefile	Tue Dec 17 12:50:16 2019	(r520328)
+++ head/science/py-scikit-learn/Makefile	Tue Dec 17 13:09:33 2019	(r520329)
@@ -2,27 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	scikit-learn
-DISTVERSION=	0.20.3
-PORTREVISION=	1
+DISTVERSION=	0.22
 CATEGORIES=	science python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	wen@FreeBSD.org
 COMMENT=	Machine learning algorithms for python
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${PYNUMPY} \
-		${PYTHON_SITELIBDIR}/scipy/version.py:science/py-scipy@${PY_FLAVOR}
-LIB_DEPENDS=	libcblas.so:math/cblas
+		${PYTHON_PKGNAMEPREFIX}joblib>=0.11.0:devel/py-joblib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=0.17.0:science/py-scipy@${PY_FLAVOR}
+LIB_DEPENDS=	libomp.so:devel/openmp
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USES=		fortran python
-USE_PYTHON=	distutils autoplist
-
-LDFLAGS+=	-shared
+USES=		fortran python:3.5+ localbase
+USE_PYTHON=	distutils autoplist cython
 
 POST_PLIST=	fix-plist
 

Modified: head/science/py-scikit-learn/distinfo
==============================================================================
--- head/science/py-scikit-learn/distinfo	Tue Dec 17 12:50:16 2019	(r520328)
+++ head/science/py-scikit-learn/distinfo	Tue Dec 17 13:09:33 2019	(r520329)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1557060268
-SHA256 (scikit-learn-0.20.3.tar.gz) = c503802a81de18b8b4d40d069f5e363795ee44b1605f38bc104160ca3bfe2c41
-SIZE (scikit-learn-0.20.3.tar.gz) = 11818490
+TIMESTAMP = 1576570322
+SHA256 (scikit-learn-0.22.tar.gz) = 314abf60c073c48a1e95feaae9f3ca47a2139bd77cebb5b877c23a45c9e03012
+SIZE (scikit-learn-0.22.tar.gz) = 6934808



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912171309.xBHD9YVI046610>