diff options
author | drochner <drochner@pkgsrc.org> | 2003-02-11 17:52:50 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2003-02-11 17:52:50 +0000 |
commit | f5836127004f0c034dba052089dc14c133545486 (patch) | |
tree | 8e95234e7f88140aff91637f737b241ab0a7920f /lang/python21-pth | |
parent | 1231d45b34082f5765251c8235bc37d34c30fe45 (diff) | |
download | pkgsrc-f5836127004f0c034dba052089dc14c133545486.tar.gz |
fix a selftest, so we don't get the impression there is something wrong
Diffstat (limited to 'lang/python21-pth')
-rw-r--r-- | lang/python21-pth/distinfo | 3 | ||||
-rw-r--r-- | lang/python21-pth/patches/patch-aj | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/python21-pth/distinfo b/lang/python21-pth/distinfo index 5b8735ca3c8..829e646925e 100644 --- a/lang/python21-pth/distinfo +++ b/lang/python21-pth/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2003/01/22 17:05:34 drochner Exp $ +$NetBSD: distinfo,v 1.5 2003/02/11 17:52:51 drochner Exp $ SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4 Size (Python-2.1.3.tgz) = 6194432 bytes @@ -11,4 +11,5 @@ SHA1 (patch-af) = 2caa6dd54088b1866679338df2c1311c4718cf0f SHA1 (patch-ag) = fa9a5f13072d9137182675394f04cd9b163d3a5c SHA1 (patch-ah) = 637dfe0cb4d031760f1085fb7921c0ae77158221 SHA1 (patch-ai) = 6420f2994109b8cce55674ea14d7a974f9e039c6 +SHA1 (patch-aj) = ca232f769b57f617496f5c8701a0a32fe55f1fd9 SHA1 (patch-ba) = 5e47b2e75ea40682216e42fbf8b971432836afdc diff --git a/lang/python21-pth/patches/patch-aj b/lang/python21-pth/patches/patch-aj new file mode 100644 index 00000000000..05c6b6fbb72 --- /dev/null +++ b/lang/python21-pth/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1 2003/02/11 17:52:51 drochner Exp $ + +--- Lib/test/test_popen.py.orig Tue Feb 11 17:23:42 2003 ++++ Lib/test/test_popen.py Tue Feb 11 17:26:22 2003 +@@ -15,7 +15,7 @@ + # This results in Python being spawned and printing the sys.argv list. + # We can then eval() the result of this, and see what each argv was. + def _do_test_commandline(cmdline, expected): +- cmd = 'python -c "import sys;print sys.argv" %s' % (cmdline,) ++ cmd = '%s -c "import sys;print sys.argv" %s' % (sys.executable,cmdline) + data = popen(cmd).read() + got = eval(data)[1:] # strip off argv[0] + if got != expected: |