python: numpy: 1.14.5 -> 1.15.0

This commit is contained in:
Frederik Rietdijk 2018-08-13 09:28:04 +02:00
parent b4eb92777c
commit f695fec875
1 changed files with 4 additions and 8 deletions

View File

@ -1,17 +1,17 @@
{lib, fetchPypi, python, buildPythonPackage, isPyPy, gfortran, nose, blas, hostPlatform }: {lib, fetchPypi, python, buildPythonPackage, isPyPy, gfortran, pytest, blas, hostPlatform }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "numpy"; pname = "numpy";
version = "1.14.5"; version = "1.15.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
extension = "zip"; extension = "zip";
sha256 = "a4a433b3a264dbc9aa9c7c241e87c0358a503ea6394f8737df1683c7c9a102ac"; sha256 = "f28e73cf18d37a413f7d5de35d024e6b98f14566a10d82100f9dc491a7d449f9";
}; };
disabled = isPyPy; disabled = isPyPy;
buildInputs = [ gfortran nose blas ]; buildInputs = [ gfortran pytest blas ];
patches = lib.optionals (python.hasDistutilsCxxPatch or false) [ patches = lib.optionals (python.hasDistutilsCxxPatch or false) [
# We patch cpython/distutils to fix https://bugs.python.org/issue1222585 # We patch cpython/distutils to fix https://bugs.python.org/issue1222585
@ -56,10 +56,6 @@ buildPythonPackage rec {
runHook postCheck runHook postCheck
''; '';
postInstall = ''
ln -s $out/bin/f2py* $out/bin/f2py
'';
passthru = { passthru = {
blas = blas; blas = blas;
}; };