Ticket #27768: python27.patch
File python27.patch, 2.1 KB (added by singingwolfboy@…, 14 years ago) |
---|
-
python27/files/patch-setup_no_tkinter.py.diff
1 --- setup.py.orig 20 09-03-31 12:20:48.000000000 -06002 +++ setup.py 20 09-09-17 00:33:12.000000000 -06003 @@ - 17,7 +17,7 @@4 from distutils.command.install_lib import install_lib1 --- setup.py.orig 2010-12-23 09:49:57.000000000 -0500 2 +++ setup.py 2010-12-23 09:50:13.000000000 -0500 3 @@ -21,7 +21,7 @@ 4 COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount') 5 5 6 6 # This global variable is used to hold the list of modules to be disabled. 7 7 -disabled_module_list = [] -
python27/Portfile
5 5 PortGroup select 1.0 6 6 7 7 name python27 8 epoch 18 epoch 2 9 9 version 2.7.1 10 10 revision 0 11 11 set major [lindex [split $version .] 0] … … 45 45 # <http://bugs.python.org/issue5833> 46 46 patchfiles patch-Makefile.pre.in.diff \ 47 47 patch-setup.py.diff \ 48 patch-setup_no_tkinter.py.diff \ 48 49 patch-Lib-cgi.py.diff \ 49 50 patch-Lib-ctypes-macholib-dyld.py.diff 50 51 # patch-Mac-PythonLauncher-Makefile.in.diff … … 57 58 depends_lib port:gettext \ 58 59 port:zlib \ 59 60 port:openssl \ 60 port:tk \61 61 port:sqlite3 \ 62 62 port:db46 \ 63 63 port:ncurses \ … … 177 177 configure.args-append --enable-unicode=ucs4 178 178 } 179 179 180 variant no_tkinter description {Disable Tkinter support, which will break IDLE} {181 patchfiles-append patch-setup_no_tkinter.py.diff182 depends_lib-delete port:tk183 }184 185 180 livecheck.type regex 186 181 livecheck.url ${homepage}download/releases/ 187 182 livecheck.regex Python (${branch}(?:\\.\\d+)*)