Merge branch 'staging' into closure-size

This commit is contained in:
Vladimír Čunát
2016-01-19 09:55:31 +01:00
1293 changed files with 75245 additions and 28520 deletions

View File

@@ -1,18 +0,0 @@
{stdenv, fetchurl, python}:
stdenv.mkDerivation rec {
version = "1.0.2";
name = "4suite-${version}";
src = fetchurl {
url = "mirror://sourceforge/foursuite/4Suite-XML-${version}.tar.bz2";
sha256 = "0g5cyqxhhiqnvqk457k8sb97r18pwgx6gff18q5296xd3zf4cias";
};
buildInputs = [python];
buildPhase = "true";
installPhase = "python ./setup.py install --prefix=$out";
# None of the tools installed to bin/ work. They all throw an exception
# similar to this:
# ImportError: No module named Ft.Xml.XPath._4xpath
meta.broken = true;
}

View File

@@ -1,35 +0,0 @@
--- numpy/lib/tests/test_format.py 2015-08-11 12:03:43.000000000 -0500
+++ numpy/lib/tests/test_format_no_large_files.py 2015-11-03 16:03:30.328084827 -0600
@@ -810,32 +810,5 @@
format.write_array_header_1_0(s, d)
assert_raises(ValueError, format.read_array_header_1_0, s)
-
-def test_large_file_support():
- from nose import SkipTest
- if (sys.platform == 'win32' or sys.platform == 'cygwin'):
- raise SkipTest("Unknown if Windows has sparse filesystems")
- # try creating a large sparse file
- tf_name = os.path.join(tempdir, 'sparse_file')
- try:
- # seek past end would work too, but linux truncate somewhat
- # increases the chances that we have a sparse filesystem and can
- # avoid actually writing 5GB
- import subprocess as sp
- sp.check_call(["truncate", "-s", "5368709120", tf_name])
- except:
- raise SkipTest("Could not create 5GB large file")
- # write a small array to the end
- with open(tf_name, "wb") as f:
- f.seek(5368709120)
- d = np.arange(5)
- np.save(f, d)
- # read it back
- with open(tf_name, "rb") as f:
- f.seek(5368709120)
- r = np.load(f)
- assert_array_equal(r, d)
-
-
if __name__ == "__main__":
run_module_suite()

View File

@@ -2,7 +2,7 @@
, lndir, makeWrapper }:
let
version = "5.4.2";
version = "5.5.1";
in stdenv.mkDerivation {
name = "${python.libPrefix}-PyQt-${version}";
@@ -16,7 +16,7 @@ in stdenv.mkDerivation {
src = fetchurl {
url = "mirror://sourceforge/pyqt/PyQt5/PyQt-${version}/PyQt-gpl-${version}.tar.gz";
sha256 = "1402n5kwzd973b65avxk1j9js96wzfm0yw4rshjfy8l7an00bnac";
sha256 = "11l3pm0wkwkxzw4n3022iid3yyia5ap4l0ny1m5ngkzzzfafyw0a";
};
buildInputs = [