pythonPackages: move LC_ALL="en_US.UTF-8"; out of phases
This commit is contained in:
parent
f2dd69a736
commit
2c866e479a
1 changed files with 20 additions and 42 deletions
|
@ -4229,9 +4229,7 @@ in modules // {
|
|||
|
||||
buildInputs = [ pkgs.glibcLocales ];
|
||||
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
meta = {
|
||||
description = "Powerful extensions to the standard datetime module";
|
||||
|
@ -5482,9 +5480,7 @@ in modules // {
|
|||
|
||||
buildInputs = [ pkgs.glibcLocales ];
|
||||
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
# TODO: AppIndicator
|
||||
propagatedBuildInputs = with self; [ pkgs.gobjectIntrospection pygobject3 pkgs.makeWrapper pkgs.gtk3 ];
|
||||
|
@ -8217,9 +8213,7 @@ in modules // {
|
|||
|
||||
buildInputs = [ pkgs.glibcLocales ];
|
||||
|
||||
preConfigure = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
propagatedBuildInputs = with self; [ six pytz ];
|
||||
|
||||
|
@ -9301,9 +9295,7 @@ in modules // {
|
|||
sha256 = "1d2za9crkgzildx610w3zif2i8phcqhh6n8nzg3yvy2mg0s18mkl";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
buildInputs = with self; [ six pkgs.glibcLocales ];
|
||||
|
||||
|
@ -10844,9 +10836,10 @@ in modules // {
|
|||
# sed calls will be unecessary in v3.1.11+
|
||||
preConfigure = ''
|
||||
sed -i 's/==/>=/' setup.py
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
meta = {
|
||||
description = ''
|
||||
A content management platform built using the Django framework
|
||||
|
@ -10953,9 +10946,7 @@ in modules // {
|
|||
sed -i 's/requests.*"/requests"/' setup.py
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib
|
||||
|
@ -11212,10 +11203,7 @@ in modules // {
|
|||
|
||||
buildInputs = [ pkgs.glibcLocales self.mock ];
|
||||
|
||||
# some files in tests dir include unicode names
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
propagatedBuildInputs = with self; [ argparse jinja2 six modules.readline ] ++
|
||||
(optionals isPy26 [ importlib ordereddict ]);
|
||||
|
@ -11297,9 +11285,7 @@ in modules // {
|
|||
|
||||
buildInputs = [ pkgs.glibcLocales ];
|
||||
|
||||
preCheck = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
meta = {
|
||||
homepage = http://alastair/python-musicbrainz-ngs;
|
||||
|
@ -14209,9 +14195,7 @@ in modules // {
|
|||
sed -i -e "s|'git'|'${pkgs.git}/bin/git'|" pelican/tests/test_pelican.py
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
meta = {
|
||||
description = "A tool to generate a static blog from reStructuredText or Markdown input files";
|
||||
|
@ -18116,8 +18100,10 @@ in modules // {
|
|||
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
|
||||
propagatedBuildInputs = with self; [ numpy scipy pkgs.openblas ];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
checkPhase = ''
|
||||
LC_ALL="en_US.UTF-8" HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests $out/${python.sitePackages}/sklearn/
|
||||
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests $out/${python.sitePackages}/sklearn/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -18672,9 +18658,7 @@ in modules // {
|
|||
};
|
||||
|
||||
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} test_clint.py
|
||||
|
@ -19413,9 +19397,7 @@ in modules // {
|
|||
name = "sure-${version}";
|
||||
version = "1.2.24";
|
||||
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
|
@ -19997,9 +19979,7 @@ in modules // {
|
|||
buildInputs = with self; [ nose coverage pkgs.glibcLocales flake8 ];
|
||||
propagatedBuildInputs = with self; [ matplotlib pandas ];
|
||||
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
doCheck = false; # Many transient failures in performance tests and due to use of sleep
|
||||
|
||||
|
@ -22225,9 +22205,7 @@ in modules // {
|
|||
sha256 = "12hhblqy1ajvidm38im4171x4arg83pfmziyn53nizp29p3m14gi";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
buildInputs = [ pkgs.glibcLocales ];
|
||||
|
||||
|
@ -23780,9 +23758,9 @@ in modules // {
|
|||
};
|
||||
disabled = isPyPy;
|
||||
buildInputs = [ pkgs.glibcLocales ];
|
||||
preConfigure = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
meta = {
|
||||
description = "Copy your docs directly to the gh-pages branch.";
|
||||
homepage = "http://github.com/davisp/ghp-import";
|
||||
|
|
Loading…
Reference in a new issue