lbry-fdroid/recipes/python2/patches/disable-modules.patch

12 lines
658 B
Diff
Raw Normal View History

2017-08-13 03:24:00 +02:00
--- Python-2.7.13/setup.py 2016-12-17 21:05:07.000000000 +0100
+++ Python-2.7.13/setup.py.disabled 2017-08-10 19:47:06.658219931 +0100
@@ -33,7 +33,7 @@
COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
# This global variable is used to hold the list of modules to be disabled.
-disabled_module_list = []
+disabled_module_list = ['_bsddb','_curses','_curses_panel','_locale','_tkinter','bsddb185','bz2','crypt','dbm','dl','gdbm','imageop','linuxaudiodev','nis','ossaudiodev','readline','spwd','sunaudiodev']
def add_dir_to_list(dirlist, dir):
"""Add the directory 'dir' to the list 'dirlist' (at the front) if