Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2018-12-03 12:18:43 +01:00
388 changed files with 3023 additions and 1285 deletions

View File

@@ -1,4 +1,5 @@
{ lib
{ stdenv
, lib
, fetchurl
, buildPythonPackage
, isPy3k
@@ -14,9 +15,13 @@ buildPythonPackage rec {
sha256 = "0x22fs3pdmr42kvz6c654756wja305qv6cx1zbhwlagvxgr4xrji";
};
checkPhase = ''
LANG="en_US.UTF-8" ${python.interpreter} ${if isPy3k then "test3/alltests.py" else "test/alltests.py"}
'';
# Only Darwin needs LANG, but we could set it in general.
# It's done here conditionally to prevent mass-rebuilds.
checkPhase = lib.optionalString (isPy3k && stdenv.isDarwin) ''LANG="en_US.UTF-8" '' + (if isPy3k then ''
${python.interpreter} test3/alltests.py
'' else ''
${python.interpreter} test/alltests.py
'');
# Create symlinks lacking a ".py" suffix, many programs depend on these names
postFixup = ''