pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-scikit-learn Remove dependencies unused if the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05a7d1c38ee3
branches:  trunk
changeset: 376814:05a7d1c38ee3
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Mar 08 19:39:17 2018 +0000

description:
Remove dependencies unused if the Accelerate framework exists

Bump PKGREVISION.

diffstat:

 math/py-scikit-learn/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r aa62109f1f71 -r 05a7d1c38ee3 math/py-scikit-learn/Makefile
--- a/math/py-scikit-learn/Makefile     Thu Mar 08 19:36:24 2018 +0000
+++ b/math/py-scikit-learn/Makefile     Thu Mar 08 19:39:17 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2017/11/21 18:45:28 minskim Exp $
+# $NetBSD: Makefile,v 1.4 2018/03/08 19:39:17 minskim Exp $
 
 DISTNAME=      scikit-learn-0.19.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/scikit-learn/}
 
@@ -16,8 +17,10 @@
 USE_LANGUAGES= c c++ fortran
 
 .include "../../lang/python/egg.mk"
+.if !exists(/System/Library/Frameworks/Accelerate.framework)
 .include "../../math/blas/buildlink3.mk"
 .include "../../math/lapack/buildlink3.mk"
+.endif
 BUILDLINK_API_DEPENDS.py-numpy+=       ${PYPKGPREFIX}-numpy>=1.8.2
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index