Merge pull request #8361 from jandelgado/add_udptunnel_package
[feed/packages.git] / lang / python / python3 / patches / 003-do-not-run-distutils-tests.patch
1 --- a/Makefile.pre.in
2 +++ b/Makefile.pre.in
3 @@ -1389,6 +1389,7 @@ libinstall: build_all $(srcdir)/Modules/
4 $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH).py \
5 $(DESTDIR)$(LIBDEST); \
6 $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
7 +ifeq (@COMPILE_ALL_TESTS@,yes)
8 if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
9 $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
10 $(DESTDIR)$(LIBDEST)/distutils/tests ; \
11 @@ -1424,6 +1425,7 @@ libinstall: build_all $(srcdir)/Modules/
12 $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
13 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
14 $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
15 +endif
16
17 python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
18 @ # Substitution happens here, as the completely-expanded BINDIR