File no-multiprocessing-setup.patch of Package python-matplotlib

--- setup.py	2012-11-08 11:24:12.000000000 +0900
+++ setup.py.patched	2012-11-12 12:57:31.920643001 +0900
@@ -297,14 +297,14 @@
             # We need to skip certain files that have already been
             # converted to Python 3.x
             filtered = [x for x in files if should_2to3(x, self.build_lib)]
-            if sys.platform.startswith('win'):
+            #if sys.platform.startswith('win'):
                 # doing this in parallel on windows may crash your computer
-                [refactor(f) for f in filtered]
-            else:
-                p = multiprocessing.Pool()
-                for i, x in enumerate(p.imap_unordered(refactor, filtered)):
-                    print("Running 2to3... %.02f%%" %
-                          (float(i) / len(filtered) * 100.0), end='\r')
+            [refactor(f) for f in filtered]
+            #else:
+            #    p = multiprocessing.Pool()
+            #    for i, x in enumerate(p.imap_unordered(refactor, filtered)):
+            #        print("Running 2to3... %.02f%%" %
+            #              (float(i) / len(filtered) * 100.0), end='\r')
             print()
 
 print_raw("pymods %s" % py_modules)
openSUSE Build Service is sponsored by