1
0

003-do-not-run-distutils-tests.patch 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. diff --git a/Makefile.pre.in b/Makefile.pre.in
  2. index ce2c0aa..b0c8322 100644
  3. --- a/Makefile.pre.in
  4. +++ b/Makefile.pre.in
  5. @@ -1256,41 +1256,6 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
  6. done; \
  7. done
  8. $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
  9. - if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
  10. - $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
  11. - $(DESTDIR)$(LIBDEST)/distutils/tests ; \
  12. - fi
  13. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  14. - $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
  15. - -d $(LIBDEST) -f \
  16. - -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
  17. - $(DESTDIR)$(LIBDEST)
  18. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  19. - $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
  20. - -d $(LIBDEST) -f \
  21. - -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
  22. - $(DESTDIR)$(LIBDEST)
  23. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  24. - $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
  25. - -d $(LIBDEST) -f \
  26. - -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
  27. - $(DESTDIR)$(LIBDEST)
  28. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  29. - $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
  30. - -d $(LIBDEST)/site-packages -f \
  31. - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
  32. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  33. - $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
  34. - -d $(LIBDEST)/site-packages -f \
  35. - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
  36. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  37. - $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
  38. - -d $(LIBDEST)/site-packages -f \
  39. - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
  40. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  41. - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
  42. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  43. - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
  44. # Create the PLATDIR source directory, if one wasn't distributed..
  45. $(srcdir)/Lib/$(PLATDIR):