buildPythonPackage: fix a few more wheel packages

This commit is contained in:
Domen Kožar
2015-11-21 21:44:12 +01:00
parent 4b9487a740
commit d83a97823c
4 changed files with 14 additions and 37 deletions
+3 -2
View File
@@ -32,14 +32,15 @@ pythonPackages.buildPythonPackage {
matplotlib beautifulsoup4 pygtk lxml ];
enableParallelBuilding = true;
preConfigure = with stdenv.lib; ''
${concatStrings (map (x: "ln -s ${x.src} models/`basename ${x.name}`;")
${concatStrings (map (x: "cp -R ${x.src} models/`basename ${x.name}`;")
models)}
substituteInPlace ocrolib/{common,default}.py --replace /usr/local $out
'';
doCheck = false; # fails
checkPhase = ''
patchShebangs .
substituteInPlace ./run-test \