Update python to 2.6.1.
[openwrt/svn-archive/archive.git] / lang / python / patches / 020-dont-compile-python-files.patch
1 diff --git a/Makefile.pre.in b/Makefile.pre.in
2 index a341e63..e949653 100644
3 --- a/Makefile.pre.in
4 +++ b/Makefile.pre.in
5 @@ -879,22 +879,6 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
6 done; \
7 done
8 $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
9 - PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
10 - ./$(BUILDPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
11 - -d $(LIBDEST) -f \
12 - -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST)
13 - PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
14 - ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
15 - -d $(LIBDEST) -f \
16 - -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST)
17 - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
18 - ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \
19 - -d $(LIBDEST)/site-packages -f \
20 - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
21 - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
22 - ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
23 - -d $(LIBDEST)/site-packages -f \
24 - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
25 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
26 ./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
27