pythonPackages: move LC_ALL="en_US.UTF-8"; out of phases

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