python: llvmlite: 0.20.0 -> 0.21.0
This commit is contained in:
parent
403348f0fa
commit
dcf88276e4
@ -1,5 +1,5 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, llvm
|
||||
@ -10,21 +10,20 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "llvmlite";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.20.0";
|
||||
version = "0.21.0";
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
||||
sha256 = "b2f174848df16bb9195a07fec102110a06d018da736bd9b3570a54d44c797c29";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3a5dd0695fdfb9fd47464cd71791b84935bf9642e11f4811d57aa1f2da8cdaa8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ llvm ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34;
|
||||
|
||||
# Disable static linking
|
||||
# https://github.com/numba/llvmlite/issues/93
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
substituteInPlace ffi/Makefile.linux --replace "-static-libstdc++" ""
|
||||
|
||||
substituteInPlace llvmlite/tests/test_binding.py --replace "test_linux" "nope"
|
||||
|
@ -10304,7 +10304,7 @@ in {
|
||||
|
||||
locustio = callPackage ../development/python-modules/locustio { };
|
||||
|
||||
llvmlite = callPackage ../development/python-modules/llvmlite {llvm=pkgs.llvm_4;};
|
||||
llvmlite = callPackage ../development/python-modules/llvmlite {llvm=pkgs.llvm_5;};
|
||||
|
||||
lockfile = buildPythonPackage rec {
|
||||
pname = "lockfile";
|
||||
|
Loading…
Reference in New Issue
Block a user