python: llvmlite: 0.20.0 -> 0.21.0

This commit is contained in:
Frederik Rietdijk 2017-12-30 12:24:23 +01:00
parent 403348f0fa
commit dcf88276e4
2 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{ stdenv { stdenv
, fetchurl , fetchPypi
, buildPythonPackage , buildPythonPackage
, python , python
, llvm , llvm
@ -10,21 +10,20 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "llvmlite"; pname = "llvmlite";
name = "${pname}-${version}"; version = "0.21.0";
version = "0.20.0";
disabled = isPyPy; disabled = isPyPy;
src = fetchurl { src = fetchPypi {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; inherit pname version;
sha256 = "b2f174848df16bb9195a07fec102110a06d018da736bd9b3570a54d44c797c29"; sha256 = "3a5dd0695fdfb9fd47464cd71791b84935bf9642e11f4811d57aa1f2da8cdaa8";
}; };
propagatedBuildInputs = [ llvm ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34; propagatedBuildInputs = [ llvm ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34;
# Disable static linking # Disable static linking
# https://github.com/numba/llvmlite/issues/93 # https://github.com/numba/llvmlite/issues/93
patchPhase = '' postPatch = ''
substituteInPlace ffi/Makefile.linux --replace "-static-libstdc++" "" substituteInPlace ffi/Makefile.linux --replace "-static-libstdc++" ""
substituteInPlace llvmlite/tests/test_binding.py --replace "test_linux" "nope" substituteInPlace llvmlite/tests/test_binding.py --replace "test_linux" "nope"

View File

@ -10304,7 +10304,7 @@ in {
locustio = callPackage ../development/python-modules/locustio { }; 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 { lockfile = buildPythonPackage rec {
pname = "lockfile"; pname = "lockfile";