pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-scikit-learn



Module Name:    pkgsrc
Committed By:   minskim
Date:           Thu Mar  8 19:39:18 UTC 2018

Modified Files:
        pkgsrc/math/py-scikit-learn: Makefile

Log Message:
Remove dependencies unused if the Accelerate framework exists

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/py-scikit-learn/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-scikit-learn/Makefile
diff -u pkgsrc/math/py-scikit-learn/Makefile:1.3 pkgsrc/math/py-scikit-learn/Makefile:1.4
--- pkgsrc/math/py-scikit-learn/Makefile:1.3    Tue Nov 21 18:45:28 2017
+++ pkgsrc/math/py-scikit-learn/Makefile        Thu Mar  8 19:39:17 2018
@@ -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 @@ DEPENDS+=    ${PYPKGPREFIX}-scipy>=0.15.0:.
 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