[74691] trunk/dports/lang/python27

singingwolfboy at macports.org singingwolfboy at macports.org
Wed Dec 29 11:10:20 PST 2010


Revision: 74691
          http://trac.macports.org/changeset/74691
Author:   singingwolfboy at macports.org
Date:     2010-12-29 11:10:13 -0800 (Wed, 29 Dec 2010)
Log Message:
-----------
Removed tk dependency from python27, refs #27768

Modified Paths:
--------------
    trunk/dports/lang/python27/Portfile
    trunk/dports/lang/python27/files/patch-setup_no_tkinter.py.diff

Modified: trunk/dports/lang/python27/Portfile
===================================================================
--- trunk/dports/lang/python27/Portfile	2010-12-29 19:01:00 UTC (rev 74690)
+++ trunk/dports/lang/python27/Portfile	2010-12-29 19:10:13 UTC (rev 74691)
@@ -5,7 +5,7 @@
 PortGroup           select 1.0
 
 name                python27
-epoch               1
+epoch               2
 version             2.7.1
 revision            0
 set major           [lindex [split $version .] 0]
@@ -45,6 +45,7 @@
 # <http://bugs.python.org/issue5833>
 patchfiles          patch-Makefile.pre.in.diff \
                     patch-setup.py.diff \
+                    patch-setup_no_tkinter.py.diff \
                     patch-Lib-cgi.py.diff \
                     patch-Lib-ctypes-macholib-dyld.py.diff
 #                   patch-Mac-PythonLauncher-Makefile.in.diff
@@ -57,7 +58,6 @@
 depends_lib         port:gettext \
                     port:zlib \
                     port:openssl \
-                    port:tk \
                     port:sqlite3 \
                     port:db46 \
                     port:ncurses \
@@ -177,11 +177,6 @@
     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+)*)

Modified: trunk/dports/lang/python27/files/patch-setup_no_tkinter.py.diff
===================================================================
--- trunk/dports/lang/python27/files/patch-setup_no_tkinter.py.diff	2010-12-29 19:01:00 UTC (rev 74690)
+++ trunk/dports/lang/python27/files/patch-setup_no_tkinter.py.diff	2010-12-29 19:10:13 UTC (rev 74691)
@@ -1,7 +1,7 @@
---- 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
+--- setup.py.orig	2010-12-23 09:49:57.000000000 -0500
++++ setup.py	2010-12-23 09:50:13.000000000 -0500
+@@ -21,7 +21,7 @@
+ COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount')
  
  # This global variable is used to hold the list of modules to be disabled.
 -disabled_module_list = []
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101229/01f6791d/attachment.html>


More information about the macports-changes mailing list