pythonPackages.numba: 0.22.1 -> 0.23.1

Update numba.
Even when executing the correct file, the tests still fail; cannot
import an extension module.
This commit is contained in:
Frederik Rietdijk 2016-01-22 13:55:46 +01:00
parent bfb414d5c6
commit 494e6be6bb

View File

@ -12070,12 +12070,12 @@ in modules // {
}; };
numba = buildPythonPackage rec { numba = buildPythonPackage rec {
version = "0.22.1"; version = "0.23.1";
name = "numba-${version}"; name = "numba-${version}";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/n/numba/${name}.tar.gz"; url = "https://pypi.python.org/packages/source/n/numba/${name}.tar.gz";
sha256 = "8194c41cdf96c16e3b3d246c0381daf4e587d1ada761f410efecb8315c2cdda3"; sha256 = "80ce9968591db7c93e36258cc5e6734eb1e42826332799746dc6c073a6d5d317";
}; };
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${pkgs.libcxx}/include/c++/v1"; NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${pkgs.libcxx}/include/c++/v1";
@ -12089,6 +12089,14 @@ in modules // {
# export NUMBAPRO_LIBDEVICE= # export NUMBAPRO_LIBDEVICE=
#''; #'';
# Copy test script into $out and run the test suite.
checkPhase = ''
cp runtests.py $out/${python.sitePackages}/numba/runtests.py
${python.interpreter} $out/${python.sitePackages}/numba/runtests.py
'';
# ImportError: cannot import name '_typeconv'
doCheck = false;
meta = { meta = {
homepage = http://numba.pydata.org/; homepage = http://numba.pydata.org/;
license = licenses.bsd2; license = licenses.bsd2;