2 |
|
## INITENV +PATH PATH %i/bin |
3 |
|
## INITENV +PATH LD_LIBRARY_PATH %i/lib |
4 |
|
# OS X patches and build fudging stolen from fink |
5 |
< |
Requires: zlib expat openssl bz2lib ncurses gdbm db4 |
5 |
> |
Requires: zlib expat openssl bz2lib db4 gdbm openssl |
6 |
|
# FIXME: readline, crypt |
7 |
|
# FIXME: gmp, panel, tk/tcl, x11 |
8 |
|
|
67 |
|
# (cd %i/lib/python%{pythonv}/config; mv Makefile Makefile.orig; |
68 |
|
# sed 's|-fno-common||g' < Makefile.orig > Makefile; /bin/rm -f Makefile.orig) |
69 |
|
fi |
70 |
+ |
|
71 |
+ |
perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/idle \ |
72 |
+ |
%{i}/bin/pydoc \ |
73 |
+ |
%{i}/bin/smtpd.py \ |
74 |
+ |
%{i}/lib/python2.4/bsddb/dbshelve.py \ |
75 |
+ |
%{i}/lib/python2.4/test/test_bz2.py \ |
76 |
+ |
%{i}/lib/python2.4/test/test_largefile.py \ |
77 |
+ |
%{i}/lib/python2.4/test/test_optparse.py |