Ticket #11267: patch
File patch, 7.6 KB (added by meissnem@…, 18 years ago) |
---|
-
py25-bsddb/Portfile
42 42 build.cmd ${prefix}/bin/python2.5 setup.py 43 43 build.target build 44 44 destroot.cmd ${build.cmd} 45 destroot.destdir -- prefix=${prefix} --root=${destroot}45 destroot.destdir --root=${destroot} 46 46 -
py25-bz2/Portfile
41 41 build.cmd ${prefix}/bin/python2.5 setup.py 42 42 build.target build 43 43 destroot.cmd ${build.cmd} 44 destroot.destdir -- prefix=${prefix} --root=${destroot}44 destroot.destdir --root=${destroot} 45 45 -
py25-curses/Portfile
40 40 build.cmd ${prefix}/bin/python2.5 setup.py 41 41 build.target build 42 42 destroot.cmd ${build.cmd} 43 destroot.destdir -- prefix=${prefix} --root=${destroot}43 destroot.destdir --root=${destroot} 44 44 -
py25-gdbm/Portfile
39 39 build.cmd ${prefix}/bin/python2.5 setup.py 40 40 build.target build 41 41 destroot.cmd ${build.cmd} 42 destroot.destdir -- prefix=${prefix} --root=${destroot}42 destroot.destdir --root=${destroot} 43 43 -
py25-hashlib/Portfile
38 38 build.cmd ${prefix}/bin/python2.5 setup.py 39 39 build.target build 40 40 destroot.cmd ${build.cmd} 41 destroot.destdir -- prefix=${prefix} --root=${destroot}41 destroot.destdir --root=${destroot} 42 42 -
py25-mx-base/Portfile
25 25 build.cmd ${prefix}/bin/python2.5 setup.py 26 26 build.target build 27 27 destroot.cmd ${build.cmd} 28 destroot.destdir -- prefix=${prefix} --root=${destroot}28 destroot.destdir --root=${destroot} 29 29 -
py25-mx-experimental/Portfile
29 29 build.cmd ${prefix}/bin/python2.5 setup.py 30 30 build.target build 31 31 destroot.cmd ${build.cmd} 32 destroot.destdir -- prefix=${prefix} --root=${destroot}32 destroot.destdir --root=${destroot} 33 33 -
py25-readline/Portfile
37 37 build.cmd ${prefix}/bin/python2.5 setup.py 38 38 build.target build 39 39 destroot.cmd ${build.cmd} 40 destroot.destdir -- prefix=${prefix} --root=${destroot}40 destroot.destdir --root=${destroot} 41 41 -
py25-socket-ssl/Portfile
37 37 build.cmd ${prefix}/bin/python2.5 setup.py 38 38 build.target build 39 39 destroot.cmd ${build.cmd} 40 destroot.destdir -- prefix=${prefix} --root=${destroot}40 destroot.destdir --root=${destroot} 41 41 -
py25-sqlite3/Portfile
41 41 build.cmd ${prefix}/bin/python2.5 setup.py 42 42 build.target build 43 43 destroot.cmd ${build.cmd} 44 destroot.destdir -- prefix=${prefix} --root=${destroot}44 destroot.destdir --root=${destroot} 45 45 -
py25-tkinter/Portfile
38 38 build.cmd ${prefix}/bin/python2.5 setup.py 39 39 build.target build 40 40 destroot.cmd ${build.cmd} 41 destroot.destdir -- prefix=${prefix} --root=${destroot}41 destroot.destdir --root=${destroot} 42 42 -
py25-zlib/Portfile
39 39 build.cmd ${prefix}/bin/python2.5 setup.py 40 40 build.target build 41 41 destroot.cmd ${build.cmd} 42 destroot.destdir -- prefix=${prefix} --root=${destroot}42 destroot.destdir --root=${destroot} 43 43 -
py25-zopeinterface/Portfile
22 22 build.cmd ${prefix}/bin/python2.5 setup.py 23 23 build.target build 24 24 destroot.cmd ${build.cmd} 25 destroot.destdir -- prefix=${prefix} --root=${destroot}25 destroot.destdir --root=${destroot} 26 26 -
python25/files/patch-setup.py
5 5 6 6 # This global variable is used to hold the list of modules to be disabled. 7 7 -disabled_module_list = [] 8 +disabled_module_list = ["zlib","_hashlib","_ssl","_bsddb","_sqlite3","_tkinter","bz2","gdbm","readline","_curses","_curses_panel" ,"pyexpat"]8 +disabled_module_list = ["zlib","_hashlib","_ssl","_bsddb","_sqlite3","_tkinter","bz2","gdbm","readline","_curses","_curses_panel"] 9 9 10 10 def add_dir_to_list(dirlist, dir): 11 11 """Add the directory 'dir' to the list 'dirlist' (at the front) if -
python25/Portfile
26 26 27 27 patchfiles patch-setup.py 28 28 29 post-patch { 30 reinplace "s|/Applications/MacPython|/Applications/MacPorts/MacPython|g" ${worksrcpath}/Mac/Makefile.in 31 } 32 29 33 configure.args --enable-shared \ 30 34 --mandir=${prefix}/share/man \ 31 35 --bindir=${prefix}/bin \ … … 40 44 41 45 destroot.target install maninstall 42 46 post-destroot { 43 system "cd ${destroot}${prefix}/bin && mv idle idle2.5 && mv pydoc pydoc2.5 && mv python-config python-config2.5 && mv smtpd.py smtpd2.5.py && rm python" 44 system "cd ${destroot}${prefix}/share/man/man1 && mv python.1 python2.5.1" 47 if { [variant_isset framework] } { 48 if { [variant_isset default_python] } { 49 system "ln -s \"${prefix}/Library/Frameworks/Python.framework/Versions/2.5/bin/python-config2.5\" ${destroot}/${prefix}/bin/python2.5-config" 50 } else { 51 system "cd ${destroot}${prefix}/bin && rm idle && rm pydoc && rm python && mv python-config python2.5-config && rm pythonw && rm smtpd.py" 52 } 53 } else { 54 if { [variant_isset default_python] } { 55 system "cd ${destroot}${prefix}/bin && ln idle idle2.5 && ln pydoc pydoc2.5 && ln python-config python-config2.5 && ln smtpd.py smtpd2.5.py" 56 } else { 57 system "cd ${destroot}${prefix}/bin && mv idle idle2.5 && mv pydoc pydoc2.5 && mv python-config python-config2.5 && mv smtpd.py smtpd2.5.py && rm python" 58 } 59 } 60 61 if { ![variant_isset default_python] } { 62 system "cd ${destroot}${prefix}/share/man/man1 && mv python.1 python2.5.1" 63 } else { 64 system "ln -s ./python.1.gz ${destroot}${prefix}/share/man/man1/python2.5.1.gz" 65 } 45 66 } 46 67 47 68 platform darwin 8 { … … 50 71 configure.args-append --with-cxx=/usr/bin/g++-4.0 51 72 } 52 73 74 variant default_python {} 75 76 variant framework { 77 configure.args-delete --disable-framework 78 configure.args-append --enable-framework=${prefix}/Library/Frameworks \ 79 --enable-toolbox-glue 80 }