summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortron <tron>2011-04-23 10:35:28 +0000
committertron <tron>2011-04-23 10:35:28 +0000
commit9178d2bfab7c2e2230ba01f7fdb9cb8fcde46b56 (patch)
tree50a0138b8a7aecf1ba567e382b710ae97e62f1d5 /lang
parent3240b170e507b8e186dc93e3c6b32e5cb89f627e (diff)
downloadpkgsrc-9178d2bfab7c2e2230ba01f7fdb9cb8fcde46b56.tar.gz
Correct path to Python interpreter in all ".py" files to fix build
with revision 1.26 of "pkgsrc/mk/check/check-interpreter.mk". Bump package revision because the binary package changed.
Diffstat (limited to 'lang')
-rw-r--r--lang/python26/Makefile15
-rw-r--r--lang/python27/Makefile8
2 files changed, 6 insertions, 17 deletions
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index 480e5efa180..5efcdf131f5 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.37 2011/04/23 01:41:36 obache Exp $
+# $NetBSD: Makefile,v 1.38 2011/04/23 10:39:01 tron Exp $
.include "dist.mk"
PKGNAME= python26-${PY_DISTVERSION}
-PKGREVISION= 8
+PKGREVISION= 9
CATEGORIES= lang python
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -142,16 +142,7 @@ INSTALL_TARGET= altinstall
REPLACE_INTERPRETER+= py26
REPLACE.py26.old= .*python[^ ]*
REPLACE.py26.new= ${PREFIX}/bin/python${PY_VER_SUFFIX}
-REPLACE_FILES.py26= Lib/cgi.py # explicitly demanded to be patched
-REPLACE_FILES.py26+= Lib/bsddb/dbshelve.py Lib/test/test_bz2.py
-REPLACE_FILES.py26+= Lib/test/test_largefile.py Lib/test/test_optparse.py
-REPLACE_FILES.py26+= Lib/*.py
-REPLACE_FILES.py26+= Lib/test/*.py
-REPLACE_FILES.py26+= Lib/bsddb/test/test_dbtables.py
-REPLACE_FILES.py26+= Lib/encodings/rot_13.py
-REPLACE_FILES.py26+= Lib/idlelib/PyShell.py
-REPLACE_FILES.py26+= Lib/lib2to3/pgen2/token.py
-REPLACE_FILES.py26+= Lib/lib2to3/tests/pytree_idempotency.py
+REPLACE_FILES.py26= Lib/*.py Lib/*/*.py Lib/*/*/*.py
SUBST_CLASSES+= findlib
SUBST_MESSAGE.findlib= Fixing find_library_file on Darwin.
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 817b52dc21a..c67d473ba1d 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2011/04/22 13:42:06 obache Exp $
+# $NetBSD: Makefile,v 1.4 2011/04/23 10:35:28 tron Exp $
.include "dist.mk"
PKGNAME= python27-${PY_DISTVERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang python
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -143,9 +143,7 @@ INSTALL_TARGET= altinstall
REPLACE_INTERPRETER+= py27
REPLACE.py27.old= .*python[^ ]*
REPLACE.py27.new= ${PREFIX}/bin/python${PY_VER_SUFFIX}
-REPLACE_FILES.py27= Lib/cgi.py # explicitly demanded to be patched
-REPLACE_FILES.py27+= Lib/bsddb/dbshelve.py Lib/test/test_bz2.py
-REPLACE_FILES.py27+= Lib/test/test_largefile.py Lib/test/test_optparse.py
+REPLACE_FILES.py27= Lib/*.py Lib/*/*.py Lib/*/*/*.py
SUBST_CLASSES+= findlib
SUBST_MESSAGE.findlib= Fixing find_library_file on Darwin.