diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-03-19 23:23:53 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-04-04 19:48:27 +0200 |
commit | c2743956eb235b6d1bb7cfab6b591f4995f0bf10 (patch) | |
tree | 4ad77c17282b7884d9a76921422e6d93b1303e36 /pkgs/development/python-modules/Cython/default.nix | |
parent | 861283c3b34569f329a808b1a18d513fcdcfac9e (diff) | |
download | nixpkgs-c2743956eb235b6d1bb7cfab6b591f4995f0bf10.tar nixpkgs-c2743956eb235b6d1bb7cfab6b591f4995f0bf10.tar.gz nixpkgs-c2743956eb235b6d1bb7cfab6b591f4995f0bf10.tar.bz2 nixpkgs-c2743956eb235b6d1bb7cfab6b591f4995f0bf10.tar.lz nixpkgs-c2743956eb235b6d1bb7cfab6b591f4995f0bf10.tar.xz nixpkgs-c2743956eb235b6d1bb7cfab6b591f4995f0bf10.tar.zst nixpkgs-c2743956eb235b6d1bb7cfab6b591f4995f0bf10.zip |
pythonPackages.cython: 0.27.3 -> 0.28.1
Diffstat (limited to 'pkgs/development/python-modules/Cython/default.nix')
-rw-r--r-- | pkgs/development/python-modules/Cython/default.nix | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/Cython/default.nix b/pkgs/development/python-modules/Cython/default.nix index 751e064ad70..cffad983a45 100644 --- a/pkgs/development/python-modules/Cython/default.nix +++ b/pkgs/development/python-modules/Cython/default.nix @@ -13,26 +13,17 @@ buildPythonPackage rec { pname = "Cython"; - name = "${pname}-${version}"; - version = "0.27.3"; + version = "0.28.1"; src = fetchPypi { inherit pname version; - sha256 = "6a00512de1f2e3ce66ba35c5420babaef1fe2d9c43a8faab4080b0dbcc26bc64"; + sha256 = "152ee5f345012ca3bb7cc71da2d3736ee20f52cd8476e4d49e5e25c5a4102b12"; }; - # With Python 2.x on i686-linux or 32-bit ARM this test fails because the - # result is "3L" instead of "3", so let's fix it in-place. - # - # Upstream issue: https://github.com/cython/cython/issues/1548 - postPatch = lib.optionalString ((stdenv.isi686 || stdenv.isArm) && !isPy3k) '' - sed -i -e 's/\(>>> *\)\(verify_resolution_GH1533()\)/\1int(\2)/' \ - tests/run/cpdef_enums.pyx - ''; - nativeBuildInputs = [ pkgconfig - # For testing + ]; + checkInputs = [ numpy ncurses ]; buildInputs = [ glibcLocales gdb ]; @@ -46,10 +37,6 @@ buildPythonPackage rec { ${if stdenv.cc.isClang or false then ''--exclude="(cpdef_extern_func|libcpp_algo)"'' else ""} ''; - # Disable tests temporarily - # https://github.com/cython/cython/issues/1676 - doCheck = false; - meta = { description = "An optimising static compiler for both the Python programming language and the extended Cython programming language"; homepage = http://cython.org; |