Skip to content

Commit

Permalink
Revert "Python: don't propagate blas"
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Apr 25, 2016
1 parent 7e92ae9 commit 48177a1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/numpy.nix
Expand Up @@ -9,8 +9,8 @@ in buildPythonPackage (args // rec {
name = "numpy-${version}";

disabled = isPyPy;
buildInputs = args.buildInputs or [ gfortran nose passthru.blas ];
propagatedBuildInputs = args.propagatedBuildInputs or [ ];
buildInputs = args.buildInputs or [ gfortran nose ];
propagatedBuildInputs = args.propagatedBuildInputs or [ passthru.blas ];

preConfigure = ''
sed -i 's/-faltivec//' numpy/distutils/system_info.py
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/scipy.nix
Expand Up @@ -9,8 +9,8 @@ in buildPythonPackage (args // rec {

name = "scipy-${version}";

buildInputs = (args.buildInputs or [ gfortran nose passthru.blas ]);
propagatedBuildInputs = (args.propagatedBuildInputs or [ numpy]);
buildInputs = (args.buildInputs or [ gfortran nose ]);
propagatedBuildInputs = (args.propagatedBuildInputs or [ passthru.blas numpy]);

preConfigure = ''
sed -i '0,/from numpy.distutils.core/s//import setuptools;from numpy.distutils.core/' setup.py
Expand Down
8 changes: 4 additions & 4 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -18718,7 +18718,7 @@ in modules // {
propagatedBuildInputs = with self; [ numpy scipy matplotlib pyqt4
cython ];

buildInputs = [ pkgs.gcc pkgs.qt4 self.numpy.blas self.nose ];
buildInputs = [ pkgs.gcc pkgs.qt4 pkgs.blas self.nose ];

meta = {
description = "QuTiP - Quantum Toolbox in Python";
Expand Down Expand Up @@ -19587,7 +19587,7 @@ in modules // {
url = "https://pypi.python.org/packages/source/s/scipy/scipy-${version}.tar.gz";
sha256 = "ecd1efbb1c038accb0516151d1e6679809c6010288765eb5da6051550bf52260";
};
numpy = self.numpy;
numpy = self.numpy_1_10;
};

scipy_0_17 = self.buildScipyPackage rec {
Expand Down Expand Up @@ -19630,8 +19630,8 @@ in modules // {
sha256 = "9f4cf58e57d81783289fc503caaed1f210bab49b7a6f680bf3c04b1e0a96e5f0";
};

buildInputs = with self; [ numpy.blas nose pillow pkgs.gfortran pkgs.glibcLocales ];
propagatedBuildInputs = with self; [ numpy scipy ];
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
propagatedBuildInputs = with self; [ numpy scipy numpy.blas ];

LC_ALL="en_US.UTF-8";

Expand Down

0 comments on commit 48177a1

Please sign in to comment.