pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python24 Fixed the interpreter paths of some inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e4e987f3a98
branches:  trunk
changeset: 509686:3e4e987f3a98
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Mar 13 12:59:08 2006 +0000

description:
Fixed the interpreter paths of some installed Python programs. Bumped
PKGREVISION.

diffstat:

 lang/python24/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r ca89cda4bd96 -r 3e4e987f3a98 lang/python24/Makefile
--- a/lang/python24/Makefile    Mon Mar 13 12:52:35 2006 +0000
+++ b/lang/python24/Makefile    Mon Mar 13 12:59:08 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.21 2006/03/09 21:04:44 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2006/03/13 12:59:08 rillig Exp $
 #
 
 DISTNAME=      Python-2.4.2
 PKGNAME=       python24-2.4.2
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    lang python
 MASTER_SITES=  ftp://ftp.python.org/pub/python/2.4.2/
 EXTRACT_SUFX=  .tar.bz2
@@ -111,6 +111,13 @@
 TEST_TARGET=   test
 INSTALL_TARGET=        altinstall
 
+REPLACE_INTERPRETER+=  py24
+REPLACE.py24.old=      .*python[^ ]*
+REPLACE.py24.new=      ${PREFIX}/bin/python${PY_VER_SUFFIX}
+REPLACE_FILES.py24=    Lib/cgi.py      # explicitly demanded to be patched
+REPLACE_FILES.py24+=   Lib/bsddb/dbshelve.py Lib/test/test_bz2.py
+REPLACE_FILES.py24+=   Lib/test/test_largefile.py Lib/test/test_optparse.py
+
 post-extract:
        ${MV} ${WRKSRC}/Lib/smtpd.py ${WRKSRC}/Lib/smtpd${PY_VER_SUFFIX}.py
        ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX}



Home | Main Index | Thread Index | Old Index