buildPythonPackage: fix more wheels failures

This commit is contained in:
Domen Kožar 2015-11-19 10:41:23 +01:00
parent 2ebaf14eba
commit c9b5ff02c7

View File

@ -3406,6 +3406,11 @@ let
sha256 = "1qf3iiv401vhsdmf4bd08fwb3fq4xq769q2yl7zqqr1iml7w3l2s";
};
# no idea what that file is doing there (probably bad release)
preCheck = ''
rm src/tests/x.py
'';
meta = {
homepage = http://pypi.python.org/pypi/decorator;
description = "Better living through Python with decorators";
@ -4143,7 +4148,7 @@ let
};
};
functools32 = buildPythonPackage rec {
functools32 = if isPy3k then null else buildPythonPackage rec {
name = "functools32-${version}";
version = "3.2.3-2";
@ -10556,7 +10561,6 @@ let
preConfigure = ''
sed -i 's/-faltivec//' numpy/distutils/system_info.py
sed -i '0,/from numpy.distutils.core/s//import setuptools;from numpy.distutils.core/' setup.py
'';
inherit (support) preBuild checkPhase;
@ -11010,12 +11014,13 @@ let
bandit = buildPythonPackage rec {
name = "bandit-${version}";
version = "0.14.1";
disabled = isPyPy; # a test fails
version = "0.16.1";
disabled = isPy33;
doCheck = !isPyPy; # a test fails
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/bandit/${name}.tar.gz";
sha256 = "1hsc3qn3srzx76zl8z3hg0vjp8m6mk9ylfhhgw5bcwbjz3x82ifl";
sha256 = "0qd9kxknac5n5xfl5zjnlmk6jr94krkcx29zgyna8p9lyb828hsk";
};
propagatedBuildInputs = with self; [ pbr six pyyaml appdirs stevedore ];
@ -19736,8 +19741,9 @@ let
url = "http://pypi.python.org/packages/source/p/pyzmq/${name}.tar.gz";
sha256 = "1gbpgz4ngfw5x6zlsa1k0jwy5vd5wg9iz1shdx4zav256ib08vjx";
};
setupPyBuildFlags = ["-i"];
buildInputs = with self; [ pkgs.zeromq3 ];
doCheck = false;
propagatedBuildInputs = [ self.py ];
};
tokenserver = buildPythonPackage rec {