diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-07 11:32:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-07 11:32:29 +0000 |
commit | feee70ead3454f23403f18871d58d6640c00ada0 (patch) | |
tree | 19a592d6cb339324626b3969bb9a9f7a2b40cf99 /graphics/py-matplotlib-gtk2 | |
parent | 02372bca1995a69d8061ce6dd2adce1667c830d4 (diff) | |
download | pkgsrc-feee70ead3454f23403f18871d58d6640c00ada0.tar.gz |
Workaround hangs with Python 2.5 by not using pipes for both stdin and
stdout.
Diffstat (limited to 'graphics/py-matplotlib-gtk2')
-rw-r--r-- | graphics/py-matplotlib-gtk2/distinfo | 4 | ||||
-rw-r--r-- | graphics/py-matplotlib-gtk2/patches/patch-aa | 19 |
2 files changed, 19 insertions, 4 deletions
diff --git a/graphics/py-matplotlib-gtk2/distinfo b/graphics/py-matplotlib-gtk2/distinfo index 0d8a3cc89d9..8a08029ad89 100644 --- a/graphics/py-matplotlib-gtk2/distinfo +++ b/graphics/py-matplotlib-gtk2/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.7 2011/09/08 13:53:45 joerg Exp $ +$NetBSD: distinfo,v 1.8 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-gtk2/patches/patch-aa b/graphics/py-matplotlib-gtk2/patches/patch-aa index 7069feb1667..4c84cab0a47 100644 --- a/graphics/py-matplotlib-gtk2/patches/patch-aa +++ b/graphics/py-matplotlib-gtk2/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.6 2011/02/17 10:33:38 markd Exp $ +$NetBSD: patch-aa,v 1.7 2012/04/07 11:32:29 joerg Exp $ --- setupext.py.orig 2010-07-07 01:41:55.000000000 +0000 +++ setupext.py @@ -20,7 +20,22 @@ $NetBSD: patch-aa,v 1.6 2011/02/17 10:33:38 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): |