pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python21 Added a patch that fixes the interpreter...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/345962f95ee5
branches:  trunk
changeset: 519516:345962f95ee5
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Oct 04 21:07:52 2006 +0000

description:
Added a patch that fixes the interpreter path of the installed Python
scripts. Bumped PKGREVISION.

diffstat:

 lang/python21/Makefile         |   4 ++--
 lang/python21/distinfo         |   3 ++-
 lang/python21/patches/patch-bj |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r 375e9b9606be -r 345962f95ee5 lang/python21/Makefile
--- a/lang/python21/Makefile    Wed Oct 04 20:55:51 2006 +0000
+++ b/lang/python21/Makefile    Wed Oct 04 21:07:52 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.33 2006/08/26 15:32:29 joerg Exp $
+# $NetBSD: Makefile,v 1.34 2006/10/04 21:07:52 rillig Exp $
 #
 
 DISTNAME=      Python-2.1.3
 PKGNAME=       python21-2.1.3
-PKGREVISION=   14
+PKGREVISION=   15
 CATEGORIES=    lang python
 MASTER_SITES=  ftp://ftp.python.org/pub/python/2.1.3/
 EXTRACT_SUFX=  .tgz
diff -r 375e9b9606be -r 345962f95ee5 lang/python21/distinfo
--- a/lang/python21/distinfo    Wed Oct 04 20:55:51 2006 +0000
+++ b/lang/python21/distinfo    Wed Oct 04 21:07:52 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2006/04/13 02:26:54 joerg Exp $
+$NetBSD: distinfo,v 1.25 2006/10/04 21:07:52 rillig Exp $
 
 SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4
 RMD160 (Python-2.1.3.tgz) = d7216480cf884507d97bf7932767871977fc1ccc
@@ -21,3 +21,4 @@
 SHA1 (patch-bg) = 2e0733e66681582d36b1470dce50c8e8b43cd083
 SHA1 (patch-bh) = fa0d154bc5e1ccb1d59b2902aa61df8c91d52b2d
 SHA1 (patch-bi) = 19e9e7ecba296b6fd955087f0dad85c52dfee058
+SHA1 (patch-bj) = 6b860ee6fca483f7360930935d4759fe6c93bdee
diff -r 375e9b9606be -r 345962f95ee5 lang/python21/patches/patch-bj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python21/patches/patch-bj    Wed Oct 04 21:07:52 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-bj,v 1.1 2006/10/04 21:07:52 rillig Exp $
+
+Without this patch, some Python scripts had their interpreter changed to
+python2.1None instead of python2.1.
+
+--- Lib/distutils/command/build_scripts.py.orig        2001-07-30 11:56:31.000000000 +0200
++++ Lib/distutils/command/build_scripts.py     2006-10-04 22:59:10.000000000 +0200
+@@ -83,6 +83,8 @@ class build_scripts (Command):
+                 if match:
+                     adjust = 1
+                     post_interp = match.group(1)
++                    if post_interp == None:
++                        post_interp = ""
+ 
+             if adjust:
+                 self.announce("copying and adjusting %s -> %s" %



Home | Main Index | Thread Index | Old Index