diff options
Diffstat (limited to 'package/python3/0014-Add-an-option-to-disable-pydoc.patch')
-rw-r--r-- | package/python3/0014-Add-an-option-to-disable-pydoc.patch | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/package/python3/0014-Add-an-option-to-disable-pydoc.patch b/package/python3/0014-Add-an-option-to-disable-pydoc.patch index b62a564ee7..fc565cfe10 100644 --- a/package/python3/0014-Add-an-option-to-disable-pydoc.patch +++ b/package/python3/0014-Add-an-option-to-disable-pydoc.patch @@ -1,4 +1,4 @@ -From 5255a7e995d67a7f192b4cf3921826a365c00281 Mon Sep 17 00:00:00 2001 +From 18a754e930e03d143d9392e49174cc370b334cdd Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Wed, 22 Feb 2017 17:07:56 -0800 Subject: [PATCH] Add an option to disable pydoc @@ -17,10 +17,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 029d3e3..92315f2 100644 +index 4110fff4ac..badb2af35d 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -1161,7 +1161,9 @@ bininstall: altbininstall +@@ -1164,7 +1164,9 @@ bininstall: altbininstall -rm -f $(DESTDIR)$(BINDIR)/idle3 (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle3) -rm -f $(DESTDIR)$(BINDIR)/pydoc3 @@ -30,7 +30,7 @@ index 029d3e3..92315f2 100644 -rm -f $(DESTDIR)$(BINDIR)/2to3 (cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3) -rm -f $(DESTDIR)$(BINDIR)/pyvenv -@@ -1209,7 +1211,7 @@ LIBSUBDIRS= tkinter site-packages \ +@@ -1212,7 +1214,7 @@ LIBSUBDIRS= tkinter site-packages \ multiprocessing multiprocessing/dummy \ unittest \ venv venv/scripts venv/scripts/common venv/scripts/posix \ @@ -39,7 +39,7 @@ index 029d3e3..92315f2 100644 TESTSUBDIRS= tkinter/test tkinter/test/test_tkinter \ tkinter/test/test_ttk test \ -@@ -1266,6 +1268,10 @@ ifeq (@TEST_MODULES@,yes) +@@ -1269,6 +1271,10 @@ ifeq (@TEST_MODULES@,yes) LIBSUBDIRS += $(TESTSUBDIRS) endif @@ -51,10 +51,10 @@ index 029d3e3..92315f2 100644 @for i in $(SCRIPTDIR) $(LIBDEST); \ do \ diff --git a/configure.ac b/configure.ac -index 972eaca..654594a 100644 +index f924937fe1..1621fa1611 100644 --- a/configure.ac +++ b/configure.ac -@@ -3081,6 +3081,12 @@ if test "$posix_threads" = "yes"; then +@@ -3112,6 +3112,12 @@ if test "$posix_threads" = "yes"; then AC_CHECK_FUNCS(pthread_atfork) fi @@ -68,10 +68,10 @@ index 972eaca..654594a 100644 AC_ARG_ENABLE(test-modules, diff --git a/setup.py b/setup.py -index c865172..26bf414 100644 +index 29bfd174d2..94dd337fef 100644 --- a/setup.py +++ b/setup.py -@@ -2278,6 +2278,12 @@ def main(): +@@ -2281,6 +2281,12 @@ def main(): # turn off warnings when deprecated modules are imported import warnings warnings.filterwarnings("ignore",category=DeprecationWarning) @@ -84,7 +84,7 @@ index c865172..26bf414 100644 setup(# PyPI Metadata (PEP 301) name = "Python", version = sys.version.split()[0], -@@ -2302,8 +2308,7 @@ def main(): +@@ -2305,8 +2311,7 @@ def main(): # If you change the scripts installed here, you also need to # check the PyBuildScripts command above, and change the links # created by the bininstall target in Makefile.pre.in @@ -95,5 +95,5 @@ index c865172..26bf414 100644 # --install-platlib -- -2.9.3 +2.13.5 |