summaryrefslogtreecommitdiff
path: root/graphics/py-matplotlib-tk
diff options
context:
space:
mode:
authorjoerg <joerg>2012-04-07 11:32:29 +0000
committerjoerg <joerg>2012-04-07 11:32:29 +0000
commit2d4f65c5fd9d602b95d406422c23990312d10922 (patch)
tree19a592d6cb339324626b3969bb9a9f7a2b40cf99 /graphics/py-matplotlib-tk
parentd91760f75888c4091713ddd9cad9702e334fa13d (diff)
downloadpkgsrc-2d4f65c5fd9d602b95d406422c23990312d10922.tar.gz
Workaround hangs with Python 2.5 by not using pipes for both stdin and
stdout.
Diffstat (limited to 'graphics/py-matplotlib-tk')
-rw-r--r--graphics/py-matplotlib-tk/distinfo4
-rw-r--r--graphics/py-matplotlib-tk/patches/patch-aa19
2 files changed, 19 insertions, 4 deletions
diff --git a/graphics/py-matplotlib-tk/distinfo b/graphics/py-matplotlib-tk/distinfo
index 62f8d61a153..9a69f35e7d9 100644
--- a/graphics/py-matplotlib-tk/distinfo
+++ b/graphics/py-matplotlib-tk/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2011/09/08 13:53:46 joerg Exp $
+$NetBSD: distinfo,v 1.7 2012/04/07 11:32:29 joerg Exp $
SHA1 (matplotlib-1.0.1.tar.gz) = c7a832f28a66817626e7a8af21e14ea0e15f4008
RMD160 (matplotlib-1.0.1.tar.gz) = e3e326f7f31ef995253da483444cb593b8e6753b
Size (matplotlib-1.0.1.tar.gz) = 13285166 bytes
-SHA1 (patch-aa) = 611a55383e4d343f220f6bdb814629b22e70848d
+SHA1 (patch-aa) = 159f1c30276014e2aef83c9c3c0e2a0f6746690c
SHA1 (patch-ab) = 4bc5d9fa3d8f6236794c2e76f63f1bc45e3948ec
SHA1 (patch-agg24-include-agg_renderer_outline_aa.h) = fc7de9efc4563e75634947eac3c3a5a69441f2ce
diff --git a/graphics/py-matplotlib-tk/patches/patch-aa b/graphics/py-matplotlib-tk/patches/patch-aa
index 055a301d993..a319c58ada0 100644
--- a/graphics/py-matplotlib-tk/patches/patch-aa
+++ b/graphics/py-matplotlib-tk/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2011/02/17 10:33:39 markd Exp $
+$NetBSD: patch-aa,v 1.5 2012/04/07 11:32:30 joerg Exp $
--- setupext.py.orig 2010-07-07 01:41:55.000000000 +0000
+++ setupext.py
@@ -20,7 +20,22 @@ $NetBSD: patch-aa,v 1.4 2011/02/17 10:33:39 markd Exp $
'backend': None,
'basedirlist': None}
-@@ -344,11 +344,8 @@ def check_for_libpng():
+@@ -201,12 +201,8 @@ else:
+ print_status = print_message = print_raw = print_line
+
+ def run_child_process(cmd):
+- p = subprocess.Popen(cmd, shell=True,
+- stdin=subprocess.PIPE,
+- stdout=subprocess.PIPE,
+- stderr=subprocess.STDOUT,
+- close_fds=(sys.platform != 'win32'))
+- return p.stdin, p.stdout
++ import os
++ return None, os.popen(cmd + " 2>&1")
+
+ class CleanUpFile:
+ """CleanUpFile deletes the specified filename when self is destroyed."""
+@@ -344,11 +340,8 @@ def check_for_libpng():
return True
def add_base_flags(module):