File matplotlib-1.0.1-tkinter.patch of Package python-matplotlib

Index: matplotlib-1.0.1/setupext.py
===================================================================
--- matplotlib-1.0.1.orig/setupext.py
+++ matplotlib-1.0.1/setupext.py
@@ -829,8 +829,8 @@ def check_for_tk():
                 gotit = False
 
     if gotit:
-        print_status("Tkinter", "Tkinter: %s, Tk: %s, Tcl: %s" %
-                     (Tkinter.__version__.split()[-2], Tkinter.TkVersion, Tkinter.TclVersion))
+        print_status("Tkinter", "Tkinter: found, Tk: %s, Tcl: %s" %
+                     (Tkinter.TkVersion, Tkinter.TclVersion))
     else:
         print_status("Tkinter", "no")
     if explanation is not None:
openSUSE Build Service is sponsored by