[57822] trunk/dports/lang/python26
blb at macports.org
blb at macports.org
Wed Sep 16 23:40:59 PDT 2009
Revision: 57822
http://trac.macports.org/changeset/57822
Author: blb at macports.org
Date: 2009-09-16 23:40:59 -0700 (Wed, 16 Sep 2009)
Log Message:
-----------
lang/python26 - add no_tkinter variant, ticket #21171
Modified Paths:
--------------
trunk/dports/lang/python26/Portfile
Added Paths:
-----------
trunk/dports/lang/python26/files/patch-setup_no_tkinter.py.diff
Modified: trunk/dports/lang/python26/Portfile
===================================================================
--- trunk/dports/lang/python26/Portfile 2009-09-17 06:29:34 UTC (rev 57821)
+++ trunk/dports/lang/python26/Portfile 2009-09-17 06:40:59 UTC (rev 57822)
@@ -156,6 +156,12 @@
configure.args-append --enable-unicode=ucs4
}
+variant no_tkinter description {Disable Tkinter support, which will break IDLE} {
+ patchfiles-append patch-setup_no_tkinter.py.diff
+ depends_lib-delete port:tk
+}
+
+
livecheck.type regex
livecheck.url ${homepage}download/releases/
livecheck.regex Python (${branch}(?:\\.\\d+)*)
Added: trunk/dports/lang/python26/files/patch-setup_no_tkinter.py.diff
===================================================================
--- trunk/dports/lang/python26/files/patch-setup_no_tkinter.py.diff (rev 0)
+++ trunk/dports/lang/python26/files/patch-setup_no_tkinter.py.diff 2009-09-17 06:40:59 UTC (rev 57822)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2009-03-31 12:20:48.000000000 -0600
++++ setup.py 2009-09-17 00:33:12.000000000 -0600
+@@ -17,7 +17,7 @@
+ from distutils.command.install_lib import install_lib
+
+ # This global variable is used to hold the list of modules to be disabled.
+-disabled_module_list = []
++disabled_module_list = ["_tkinter"]
+
+ def add_dir_to_list(dirlist, dir):
+ """Add the directory 'dir' to the list 'dirlist' (at the front) if
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090916/c3fcfcae/attachment.html>
More information about the macports-changes
mailing list