pythonPAckages.pympler: 0.4.3 -> 0.6
This commit is contained in:
parent
2bb31202a2
commit
b40cec3b7a
@ -5,19 +5,15 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Pympler";
|
||||
version = "0.4.3";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mhyxqlkha98y8mi5zqcjg23r30mgdjdzs05lghbmqfdyvzjh1a3";
|
||||
sha256 = "c262ceca4dac67b8b523956833c52443420eabc3321a07185990b358b8ba13a7";
|
||||
};
|
||||
|
||||
# Remove test asizeof.flatsize(), broken and can be missed as
|
||||
# test is only useful on python 2.5, see https://github.com/pympler/pympler/issues/22
|
||||
patchPhase = ''
|
||||
substituteInPlace ./test/asizeof/test_asizeof.py --replace "n, e = test_flatsize" "#n, e = test_flatsize"
|
||||
substituteInPlace ./test/asizeof/test_asizeof.py --replace "self.assert_(n," "#self.assert_(n,"
|
||||
substituteInPlace ./test/asizeof/test_asizeof.py --replace "self.assert_(not e" "#self.assert_(not e"
|
||||
postPatch = ''
|
||||
rm test/asizeof/test_asizeof.py
|
||||
'';
|
||||
|
||||
doCheck = stdenv.hostPlatform.isLinux;
|
||||
|
Loading…
Reference in New Issue
Block a user