python39Packages.Cython: minor formatting cleanups

This commit is contained in:
Sandro Jäckel 2021-08-27 03:58:26 +02:00 committed by Martin Weinelt
parent feef2fca16
commit 88b309b76f

View file

@ -12,8 +12,7 @@
}: }:
let let
excludedTests = [] excludedTests = [ "reimport_from_subinterpreter" ]
++ [ "reimport_from_subinterpreter" ]
# cython's testsuite is not working very well with libc++ # cython's testsuite is not working very well with libc++
# We are however optimistic about things outside of testsuite still working # We are however optimistic about things outside of testsuite still working
++ lib.optionals (stdenv.cc.isClang or false) [ "cpdef_extern_func" "libcpp_algo" ] ++ lib.optionals (stdenv.cc.isClang or false) [ "cpdef_extern_func" "libcpp_algo" ]
@ -36,9 +35,11 @@ in buildPythonPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
]; ];
checkInputs = [ checkInputs = [
gdb numpy ncurses gdb numpy ncurses
]; ];
buildInputs = [ glibcLocales ]; buildInputs = [ glibcLocales ];
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
@ -71,9 +72,7 @@ in buildPythonPackage rec {
# https://github.com/cython/cython/issues/2785 # https://github.com/cython/cython/issues/2785
# Temporary solution # Temporary solution
doCheck = false; doCheck = false;
# doCheck = !stdenv.isDarwin;
# doCheck = !stdenv.isDarwin;
meta = { meta = {
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language"; description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";