python-packages: cosmetic to fix syntax highlighting and trailing whitespace

This commit is contained in:
Peter Simons 2013-07-23 11:23:09 +02:00
parent 57844acb42
commit 05ec96b00e

View File

@ -1124,7 +1124,7 @@ pythonPackages = python.modules // rec {
buildInputs = [ paver ]; buildInputs = [ paver ];
postInstall = '' postInstall = ''
for prog in $out/bin/*; do for prog in "$out/bin/"*; do
wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH" wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH"
done done
''; '';
@ -2689,7 +2689,7 @@ pythonPackages = python.modules // rec {
doCheck = false; doCheck = false;
postInstall = '' postInstall = ''
for prog in $out/bin/*; do for prog in "$out/bin/"*; do
wrapProgram "$prog" \ wrapProgram "$prog" \
--prefix PYTHONPATH : "$PYTHONPATH" --prefix PYTHONPATH : "$PYTHONPATH"
done done
@ -4739,7 +4739,7 @@ pythonPackages = python.modules // rec {
}; };
preInstall = '' preInstall = ''
cp ${x_ignore_nofocus}/* . cp "${x_ignore_nofocus}/"* .
sed -i 's|dlopen(library,|dlopen("libX11.so.6",|' x_ignore_nofocus.c sed -i 's|dlopen(library,|dlopen("libX11.so.6",|' x_ignore_nofocus.c
gcc -c -fPIC x_ignore_nofocus.c -o x_ignore_nofocus.o gcc -c -fPIC x_ignore_nofocus.c -o x_ignore_nofocus.o
gcc -shared -Wl,-soname,x_ignore_nofocus.so -o x_ignore_nofocus.so x_ignore_nofocus.o gcc -shared -Wl,-soname,x_ignore_nofocus.so -o x_ignore_nofocus.so x_ignore_nofocus.o