summaryrefslogtreecommitdiff
path: root/lang/python21
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2003-02-11 17:52:50 +0000
committerdrochner <drochner@pkgsrc.org>2003-02-11 17:52:50 +0000
commitf5836127004f0c034dba052089dc14c133545486 (patch)
tree8e95234e7f88140aff91637f737b241ab0a7920f /lang/python21
parent1231d45b34082f5765251c8235bc37d34c30fe45 (diff)
downloadpkgsrc-f5836127004f0c034dba052089dc14c133545486.tar.gz
fix a selftest, so we don't get the impression there is something wrong
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/distinfo3
-rw-r--r--lang/python21/patches/patch-aj13
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/python21/distinfo b/lang/python21/distinfo
index e56816ad51c..434b564953d 100644
--- a/lang/python21/distinfo
+++ b/lang/python21/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2003/01/22 17:05:33 drochner Exp $
+$NetBSD: distinfo,v 1.9 2003/02/11 17:52:50 drochner Exp $
SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4
Size (Python-2.1.3.tgz) = 6194432 bytes
@@ -8,3 +8,4 @@ SHA1 (patch-ac) = 397454551beaa8dd11e0a5c171cbdb4f4501a9a3
SHA1 (patch-ad) = 769bcd7803723c8d538a74173792ffcc491fa414
SHA1 (patch-ah) = 637dfe0cb4d031760f1085fb7921c0ae77158221
SHA1 (patch-ai) = 6420f2994109b8cce55674ea14d7a974f9e039c6
+SHA1 (patch-aj) = ca232f769b57f617496f5c8701a0a32fe55f1fd9
diff --git a/lang/python21/patches/patch-aj b/lang/python21/patches/patch-aj
new file mode 100644
index 00000000000..1186172b0da
--- /dev/null
+++ b/lang/python21/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2003/02/11 17:52:50 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: