pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python22 Fixed path to the Python interpreter. Bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dc07d053f77
branches:  trunk
changeset: 514776:6dc07d053f77
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jun 17 22:07:33 2006 +0000

description:
Fixed path to the Python interpreter. Bumped PKGREVISION.

diffstat:

 lang/python22/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r e3f80e703aa6 -r 6dc07d053f77 lang/python22/Makefile
--- a/lang/python22/Makefile    Sat Jun 17 21:56:25 2006 +0000
+++ b/lang/python22/Makefile    Sat Jun 17 22:07:33 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2006/04/13 02:26:54 joerg Exp $
+# $NetBSD: Makefile,v 1.33 2006/06/17 22:07:33 rillig Exp $
 #
 
 DISTNAME=      Python-2.2.3
 PKGNAME=       python22-2.2.3
-PKGREVISION=   8
+PKGREVISION=   9
 CATEGORIES=    lang python
 MASTER_SITES=  ftp://ftp.python.org/pub/python/2.2.3/
 EXTRACT_SUFX=  .tgz
@@ -47,6 +47,14 @@
 
 INSTALL_TARGET=        altinstall
 
+SUBST_CLASSES+=                py22
+SUBST_STAGE.py22=      pre-configure
+SUBST_MESSAGE.py22=    Fixing path to the Python interpreter.
+SUBST_FILES.py22=      Lib/encodings/rot_13.py
+SUBST_FILES.py22+=     Lib/test/test_largefile.py
+SUBST_FILES.py22+=     Lib/cgi.py
+SUBST_SED.py22=                -e '1s,^\#!.*,\#! ${PREFIX}/bin/python2.2,'
+
 post-extract:
        ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX}
 



Home | Main Index | Thread Index | Old Index