scikit-learn: fix i686 build failures

Currently i686 builds fail because a couple of doctests fail.
The values are correct, but the dtype is missing.
This commit disables doctests.
This commit is contained in:
Frederik Rietdijk 2015-08-30 09:55:29 +02:00
parent 0392197226
commit 46e51883d8

View File

@ -12460,6 +12460,13 @@ let
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
propagatedBuildInputs = with self; [ numpy scipy pkgs.openblas ];
# doctests fail on i686
# https://github.com/NixOS/nixpkgs/issues/9472
# https://github.com/scikit-learn/scikit-learn/issues/5177
patchPhase = ''
substituteInPlace setup.cfg --replace 'with-doctest = 1' 'with-doctest = 0'
'';
buildPhase = ''
${self.python.executable} setup.py build_ext -i --fcompiler='gnu95'
'';