pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-numpy math/py-numpy: Disable openblas detection



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e04d160acf35
branches:  trunk
changeset: 378214:e04d160acf35
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Apr 03 18:30:45 2018 +0000

description:
math/py-numpy: Disable openblas detection

This package should use math/blas.

diffstat:

 math/py-numpy/distinfo                                      |   3 +-
 math/py-numpy/patches/patch-numpy_distutils_system__info.py |  30 +++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r c4a9cb78f9ad -r e04d160acf35 math/py-numpy/distinfo
--- a/math/py-numpy/distinfo    Tue Apr 03 18:26:56 2018 +0000
+++ b/math/py-numpy/distinfo    Tue Apr 03 18:30:45 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2018/03/13 11:34:08 adam Exp $
+$NetBSD: distinfo,v 1.29 2018/04/03 18:30:45 minskim Exp $
 
 SHA1 (numpy-1.14.2.zip) = 5ec276608988456aa136ec14e132b17b59faf70a
 RMD160 (numpy-1.14.2.zip) = 7aca331765830978ae90a92c9fd81a6527d5ab32
@@ -8,3 +8,4 @@
 SHA1 (patch-ab) = b421455fdbb666c8075d8bffbeb59533434d23e6
 SHA1 (patch-numpy_distutils_fcompiler_g95.py) = be73b64a3e551df998b6a904d6db762bf28a98ed
 SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = 4b0833d09560ebb954dd53ebc5cdcce339705bac
+SHA1 (patch-numpy_distutils_system__info.py) = dfd88a140b65a66c222a95ea4be6f20a33702e3b
diff -r c4a9cb78f9ad -r e04d160acf35 math/py-numpy/patches/patch-numpy_distutils_system__info.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numpy/patches/patch-numpy_distutils_system__info.py       Tue Apr 03 18:30:45 2018 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-numpy_distutils_system__info.py,v 1.1 2018/04/03 18:30:45 minskim Exp $
+
+Disable openblas detection.  In pkgsrc, py-numpy should use math/blas.
+
+--- numpy/distutils/system_info.py.orig        2018-04-02 21:18:11.535155000 +0000
++++ numpy/distutils/system_info.py
+@@ -1531,12 +1531,12 @@ class lapack_opt_info(system_info):
+             self.set_info(**lapack_mkl_info)
+             return
+ 
+-        openblas_info = get_info('openblas_lapack')
++        openblas_info = None
+         if openblas_info:
+             self.set_info(**openblas_info)
+             return
+ 
+-        openblas_info = get_info('openblas_clapack')
++        openblas_info = None
+         if openblas_info:
+             self.set_info(**openblas_info)
+             return
+@@ -1642,7 +1642,7 @@ class blas_opt_info(system_info):
+             self.set_info(**blis_info)
+             return
+ 
+-        openblas_info = get_info('openblas')
++        openblas_info = None
+         if openblas_info:
+             self.set_info(**openblas_info)
+             return



Home | Main Index | Thread Index | Old Index