public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/3] Python: Update to 2.7.9
@ 2015-06-16 15:57 Michael Tremer
  2015-06-16 15:57 ` [PATCH 2/3] python: Build libffi before python and link against it Michael Tremer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Tremer @ 2015-06-16 15:57 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 28173 bytes --]

This reverts commit 3d9b9dd30e86b03dce4e31103099a6a0bdc97a98.

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 config/rootfiles/common/python            | 234 +++++++++++++++++++++++++++++-
 config/rootfiles/core/91/filelists/python |   1 +
 lfs/python                                |   6 +-
 lfs/python-optional-src                   |   2 +-
 src/patches/Python-2.7.9-gdbm-1.patch     |  21 +++
 5 files changed, 256 insertions(+), 8 deletions(-)
 create mode 120000 config/rootfiles/core/91/filelists/python
 create mode 100644 src/patches/Python-2.7.9-gdbm-1.patch

diff --git a/config/rootfiles/common/python b/config/rootfiles/common/python
index 3472e25..4f11c56 100644
--- a/config/rootfiles/common/python
+++ b/config/rootfiles/common/python
@@ -171,12 +171,18 @@ usr/lib/python2.7/__phello__.foo.pyc
 #usr/lib/python2.7/_abcoll.py
 usr/lib/python2.7/_abcoll.pyc
 #usr/lib/python2.7/_abcoll.pyo
+#usr/lib/python2.7/_osx_support.py
+#usr/lib/python2.7/_osx_support.pyc
+#usr/lib/python2.7/_osx_support.pyo
 #usr/lib/python2.7/_pyio.py
 usr/lib/python2.7/_pyio.pyc
 #usr/lib/python2.7/_pyio.pyo
 #usr/lib/python2.7/_strptime.py
 usr/lib/python2.7/_strptime.pyc
 #usr/lib/python2.7/_strptime.pyo
+#usr/lib/python2.7/_sysconfigdata.py
+#usr/lib/python2.7/_sysconfigdata.pyc
+#usr/lib/python2.7/_sysconfigdata.pyo
 #usr/lib/python2.7/_threading_local.py
 usr/lib/python2.7/_threading_local.pyc
 #usr/lib/python2.7/_threading_local.pyo
@@ -605,6 +611,9 @@ usr/lib/python2.7/ctypes/macholib/framework.pyc
 #usr/lib/python2.7/ctypes/test/test_win32.py
 #usr/lib/python2.7/ctypes/test/test_win32.pyc
 #usr/lib/python2.7/ctypes/test/test_win32.pyo
+#usr/lib/python2.7/ctypes/test/test_wintypes.py
+#usr/lib/python2.7/ctypes/test/test_wintypes.pyc
+#usr/lib/python2.7/ctypes/test/test_wintypes.pyo
 #usr/lib/python2.7/ctypes/util.py
 usr/lib/python2.7/ctypes/util.pyc
 #usr/lib/python2.7/ctypes/util.pyo
@@ -1452,6 +1461,19 @@ usr/lib/python2.7/encodings/uu_codec.pyc
 #usr/lib/python2.7/encodings/zlib_codec.py
 usr/lib/python2.7/encodings/zlib_codec.pyc
 #usr/lib/python2.7/encodings/zlib_codec.pyo
+#usr/lib/python2.7/ensurepip
+#usr/lib/python2.7/ensurepip/__init__.py
+#usr/lib/python2.7/ensurepip/__init__.pyc
+#usr/lib/python2.7/ensurepip/__init__.pyo
+#usr/lib/python2.7/ensurepip/__main__.py
+#usr/lib/python2.7/ensurepip/__main__.pyc
+#usr/lib/python2.7/ensurepip/__main__.pyo
+#usr/lib/python2.7/ensurepip/_bundled
+#usr/lib/python2.7/ensurepip/_bundled/pip-1.5.6-py2.py3-none-any.whl
+#usr/lib/python2.7/ensurepip/_bundled/setuptools-7.0-py2.py3-none-any.whl
+#usr/lib/python2.7/ensurepip/_uninstall.py
+#usr/lib/python2.7/ensurepip/_uninstall.pyc
+#usr/lib/python2.7/ensurepip/_uninstall.pyo
 #usr/lib/python2.7/filecmp.py
 usr/lib/python2.7/filecmp.pyc
 #usr/lib/python2.7/filecmp.pyo
@@ -1583,6 +1605,13 @@ usr/lib/python2.7/httplib.pyc
 #usr/lib/python2.7/idlelib/Icons
 #usr/lib/python2.7/idlelib/Icons/folder.gif
 #usr/lib/python2.7/idlelib/Icons/idle.icns
+#usr/lib/python2.7/idlelib/Icons/idle.ico
+#usr/lib/python2.7/idlelib/Icons/idle_16.gif
+#usr/lib/python2.7/idlelib/Icons/idle_16.png
+#usr/lib/python2.7/idlelib/Icons/idle_32.gif
+#usr/lib/python2.7/idlelib/Icons/idle_32.png
+#usr/lib/python2.7/idlelib/Icons/idle_48.gif
+#usr/lib/python2.7/idlelib/Icons/idle_48.png
 #usr/lib/python2.7/idlelib/Icons/minusnode.gif
 #usr/lib/python2.7/idlelib/Icons/openfolder.gif
 #usr/lib/python2.7/idlelib/Icons/plusnode.gif
@@ -1701,6 +1730,77 @@ usr/lib/python2.7/httplib.pyc
 #usr/lib/python2.7/idlelib/idle.pyc
 #usr/lib/python2.7/idlelib/idle.pyo
 #usr/lib/python2.7/idlelib/idle.pyw
+#usr/lib/python2.7/idlelib/idle_test
+#usr/lib/python2.7/idlelib/idle_test/README.txt
+#usr/lib/python2.7/idlelib/idle_test/__init__.py
+#usr/lib/python2.7/idlelib/idle_test/__init__.pyc
+#usr/lib/python2.7/idlelib/idle_test/__init__.pyo
+#usr/lib/python2.7/idlelib/idle_test/htest.py
+#usr/lib/python2.7/idlelib/idle_test/htest.pyc
+#usr/lib/python2.7/idlelib/idle_test/htest.pyo
+#usr/lib/python2.7/idlelib/idle_test/mock_idle.py
+#usr/lib/python2.7/idlelib/idle_test/mock_idle.pyc
+#usr/lib/python2.7/idlelib/idle_test/mock_idle.pyo
+#usr/lib/python2.7/idlelib/idle_test/mock_tk.py
+#usr/lib/python2.7/idlelib/idle_test/mock_tk.pyc
+#usr/lib/python2.7/idlelib/idle_test/mock_tk.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_autocomplete.py
+#usr/lib/python2.7/idlelib/idle_test/test_autocomplete.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_autocomplete.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_autoexpand.py
+#usr/lib/python2.7/idlelib/idle_test/test_autoexpand.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_autoexpand.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_calltips.py
+#usr/lib/python2.7/idlelib/idle_test/test_calltips.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_calltips.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_config_name.py
+#usr/lib/python2.7/idlelib/idle_test/test_config_name.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_config_name.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_configdialog.py
+#usr/lib/python2.7/idlelib/idle_test/test_configdialog.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_configdialog.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_delegator.py
+#usr/lib/python2.7/idlelib/idle_test/test_delegator.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_delegator.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_formatparagraph.py
+#usr/lib/python2.7/idlelib/idle_test/test_formatparagraph.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_formatparagraph.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_grep.py
+#usr/lib/python2.7/idlelib/idle_test/test_grep.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_grep.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_hyperparser.py
+#usr/lib/python2.7/idlelib/idle_test/test_hyperparser.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_hyperparser.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_idlehistory.py
+#usr/lib/python2.7/idlelib/idle_test/test_idlehistory.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_idlehistory.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_parenmatch.py
+#usr/lib/python2.7/idlelib/idle_test/test_parenmatch.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_parenmatch.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_pathbrowser.py
+#usr/lib/python2.7/idlelib/idle_test/test_pathbrowser.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_pathbrowser.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_rstrip.py
+#usr/lib/python2.7/idlelib/idle_test/test_rstrip.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_rstrip.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_searchdialogbase.py
+#usr/lib/python2.7/idlelib/idle_test/test_searchdialogbase.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_searchdialogbase.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_searchengine.py
+#usr/lib/python2.7/idlelib/idle_test/test_searchengine.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_searchengine.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_text.py
+#usr/lib/python2.7/idlelib/idle_test/test_text.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_text.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_textview.py
+#usr/lib/python2.7/idlelib/idle_test/test_textview.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_textview.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_warning.py
+#usr/lib/python2.7/idlelib/idle_test/test_warning.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_warning.pyo
+#usr/lib/python2.7/idlelib/idle_test/test_widgetredir.py
+#usr/lib/python2.7/idlelib/idle_test/test_widgetredir.pyc
+#usr/lib/python2.7/idlelib/idle_test/test_widgetredir.pyo
 #usr/lib/python2.7/idlelib/idlever.py
 #usr/lib/python2.7/idlelib/idlever.pyc
 #usr/lib/python2.7/idlelib/idlever.pyo
@@ -1809,6 +1909,9 @@ usr/lib/python2.7/json/scanner.pyc
 #usr/lib/python2.7/json/tests/test_speedups.py
 #usr/lib/python2.7/json/tests/test_speedups.pyc
 #usr/lib/python2.7/json/tests/test_speedups.pyo
+#usr/lib/python2.7/json/tests/test_tool.py
+#usr/lib/python2.7/json/tests/test_tool.pyc
+#usr/lib/python2.7/json/tests/test_tool.pyo
 #usr/lib/python2.7/json/tests/test_unicode.py
 #usr/lib/python2.7/json/tests/test_unicode.pyc
 #usr/lib/python2.7/json/tests/test_unicode.pyo
@@ -1819,7 +1922,7 @@ usr/lib/python2.7/json/tool.pyc
 usr/lib/python2.7/keyword.pyc
 #usr/lib/python2.7/keyword.pyo
 #usr/lib/python2.7/lib-dynload
-usr/lib/python2.7/lib-dynload/Python-2.7.3-py2.7.egg-info
+usr/lib/python2.7/lib-dynload/Python-2.7.9-py2.7.egg-info
 usr/lib/python2.7/lib-dynload/_bisect.so
 usr/lib/python2.7/lib-dynload/_bsddb.so
 usr/lib/python2.7/lib-dynload/_codecs_cn.so
@@ -1860,7 +1963,7 @@ usr/lib/python2.7/lib-dynload/cStringIO.so
 usr/lib/python2.7/lib-dynload/cmath.so
 usr/lib/python2.7/lib-dynload/crypt.so
 usr/lib/python2.7/lib-dynload/datetime.so
-usr/lib/python2.7/lib-dynload/dbm.so
+#usr/lib/python2.7/lib-dynload/dbm_failed.so
 usr/lib/python2.7/lib-dynload/dl.so
 usr/lib/python2.7/lib-dynload/fcntl.so
 usr/lib/python2.7/lib-dynload/future_builtins.so
@@ -1926,12 +2029,27 @@ usr/lib/python2.7/lib-dynload/zlib.so
 #usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.py
 #usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.pyc
 #usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.pyo
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_font.py
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_font.pyc
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_font.pyo
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.py
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyc
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyo
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_images.py
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_images.pyc
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_images.pyo
 #usr/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.py
 #usr/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyc
 #usr/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyo
 #usr/lib/python2.7/lib-tk/test/test_tkinter/test_text.py
 #usr/lib/python2.7/lib-tk/test/test_tkinter/test_text.pyc
 #usr/lib/python2.7/lib-tk/test/test_tkinter/test_text.pyo
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_variables.py
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_variables.pyc
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_variables.pyo
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_widgets.py
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_widgets.pyc
+#usr/lib/python2.7/lib-tk/test/test_tkinter/test_widgets.pyo
 #usr/lib/python2.7/lib-tk/test/test_ttk
 #usr/lib/python2.7/lib-tk/test/test_ttk/__init__.py
 #usr/lib/python2.7/lib-tk/test/test_ttk/__init__.pyc
@@ -1951,6 +2069,9 @@ usr/lib/python2.7/lib-dynload/zlib.so
 #usr/lib/python2.7/lib-tk/test/test_ttk/test_widgets.py
 #usr/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyc
 #usr/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyo
+#usr/lib/python2.7/lib-tk/test/widget_tests.py
+#usr/lib/python2.7/lib-tk/test/widget_tests.pyc
+#usr/lib/python2.7/lib-tk/test/widget_tests.pyo
 #usr/lib/python2.7/lib-tk/tkColorChooser.py
 #usr/lib/python2.7/lib-tk/tkColorChooser.pyc
 #usr/lib/python2.7/lib-tk/tkColorChooser.pyo
@@ -1977,9 +2098,9 @@ usr/lib/python2.7/lib-dynload/zlib.so
 #usr/lib/python2.7/lib-tk/turtle.pyo
 #usr/lib/python2.7/lib2to3
 #usr/lib/python2.7/lib2to3/Grammar.txt
-#usr/lib/python2.7/lib2to3/Grammar2.7.3.final.0.pickle
+#usr/lib/python2.7/lib2to3/Grammar2.7.9.final.0.pickle
 #usr/lib/python2.7/lib2to3/PatternGrammar.txt
-#usr/lib/python2.7/lib2to3/PatternGrammar2.7.3.final.0.pickle
+#usr/lib/python2.7/lib2to3/PatternGrammar2.7.9.final.0.pickle
 #usr/lib/python2.7/lib2to3/__init__.py
 #usr/lib/python2.7/lib2to3/__init__.pyc
 #usr/lib/python2.7/lib2to3/__init__.pyo
@@ -2005,6 +2126,9 @@ usr/lib/python2.7/lib-dynload/zlib.so
 #usr/lib/python2.7/lib2to3/fixes/fix_apply.py
 #usr/lib/python2.7/lib2to3/fixes/fix_apply.pyc
 #usr/lib/python2.7/lib2to3/fixes/fix_apply.pyo
+#usr/lib/python2.7/lib2to3/fixes/fix_asserts.py
+#usr/lib/python2.7/lib2to3/fixes/fix_asserts.pyc
+#usr/lib/python2.7/lib2to3/fixes/fix_asserts.pyo
 #usr/lib/python2.7/lib2to3/fixes/fix_basestring.py
 #usr/lib/python2.7/lib2to3/fixes/fix_basestring.pyc
 #usr/lib/python2.7/lib2to3/fixes/fix_basestring.pyo
@@ -2207,6 +2331,7 @@ usr/lib/python2.7/lib-dynload/zlib.so
 #usr/lib/python2.7/lib2to3/tests/data/bom.py
 #usr/lib/python2.7/lib2to3/tests/data/crlf.py
 #usr/lib/python2.7/lib2to3/tests/data/different_encoding.py
+#usr/lib/python2.7/lib2to3/tests/data/false_encoding.py
 #usr/lib/python2.7/lib2to3/tests/data/fixers
 #usr/lib/python2.7/lib2to3/tests/data/fixers/bad_order.py
 #usr/lib/python2.7/lib2to3/tests/data/fixers/myfixes
@@ -2628,12 +2753,33 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/__init__.py
 #usr/lib/python2.7/test/__init__.pyc
 #usr/lib/python2.7/test/__init__.pyo
+#usr/lib/python2.7/test/_mock_backport.py
+#usr/lib/python2.7/test/_mock_backport.pyc
+#usr/lib/python2.7/test/_mock_backport.pyo
+#usr/lib/python2.7/test/audiodata
+#usr/lib/python2.7/test/audiodata/pluck-pcm16.aiff
+#usr/lib/python2.7/test/audiodata/pluck-pcm16.au
+#usr/lib/python2.7/test/audiodata/pluck-pcm16.wav
+#usr/lib/python2.7/test/audiodata/pluck-pcm24.aiff
+#usr/lib/python2.7/test/audiodata/pluck-pcm24.wav
+#usr/lib/python2.7/test/audiodata/pluck-pcm32.aiff
+#usr/lib/python2.7/test/audiodata/pluck-pcm32.au
+#usr/lib/python2.7/test/audiodata/pluck-pcm32.wav
+#usr/lib/python2.7/test/audiodata/pluck-pcm8.aiff
+#usr/lib/python2.7/test/audiodata/pluck-pcm8.au
+#usr/lib/python2.7/test/audiodata/pluck-pcm8.wav
+#usr/lib/python2.7/test/audiodata/pluck-ulaw.aifc
+#usr/lib/python2.7/test/audiodata/pluck-ulaw.au
 #usr/lib/python2.7/test/audiotest.au
+#usr/lib/python2.7/test/audiotests.py
+#usr/lib/python2.7/test/audiotests.pyc
+#usr/lib/python2.7/test/audiotests.pyo
 #usr/lib/python2.7/test/autotest.py
 #usr/lib/python2.7/test/autotest.pyc
 #usr/lib/python2.7/test/autotest.pyo
 #usr/lib/python2.7/test/bad_coding.py
 #usr/lib/python2.7/test/bad_coding2.py
+#usr/lib/python2.7/test/bad_coding3.py
 #usr/lib/python2.7/test/badcert.pem
 #usr/lib/python2.7/test/badkey.pem
 #usr/lib/python2.7/test/badsyntax_future3.py
@@ -2647,6 +2793,11 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/buffer_tests.py
 #usr/lib/python2.7/test/buffer_tests.pyc
 #usr/lib/python2.7/test/buffer_tests.pyo
+#usr/lib/python2.7/test/capath
+#usr/lib/python2.7/test/capath/4e1295a3.0
+#usr/lib/python2.7/test/capath/5ed36f99.0
+#usr/lib/python2.7/test/capath/6e88d7b8.0
+#usr/lib/python2.7/test/capath/99d0fa06.0
 #usr/lib/python2.7/test/cfgparser.1
 #usr/lib/python2.7/test/check_soundcard.vbs
 #usr/lib/python2.7/test/cjkencodings
@@ -2830,6 +2981,7 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/decimaltestdata/tointegral.decTest
 #usr/lib/python2.7/test/decimaltestdata/tointegralx.decTest
 #usr/lib/python2.7/test/decimaltestdata/xor.decTest
+#usr/lib/python2.7/test/dh512.pem
 #usr/lib/python2.7/test/doctest_aliases.py
 #usr/lib/python2.7/test/doctest_aliases.pyc
 #usr/lib/python2.7/test/doctest_aliases.pyo
@@ -2849,6 +3001,18 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/greyrgb.uue
 #usr/lib/python2.7/test/https_svn_python_org_root.pem
 #usr/lib/python2.7/test/ieee754.txt
+#usr/lib/python2.7/test/imghdrdata
+#usr/lib/python2.7/test/imghdrdata/python.bmp
+#usr/lib/python2.7/test/imghdrdata/python.gif
+#usr/lib/python2.7/test/imghdrdata/python.jpg
+#usr/lib/python2.7/test/imghdrdata/python.pbm
+#usr/lib/python2.7/test/imghdrdata/python.pgm
+#usr/lib/python2.7/test/imghdrdata/python.png
+#usr/lib/python2.7/test/imghdrdata/python.ppm
+#usr/lib/python2.7/test/imghdrdata/python.ras
+#usr/lib/python2.7/test/imghdrdata/python.sgi
+#usr/lib/python2.7/test/imghdrdata/python.tiff
+#usr/lib/python2.7/test/imghdrdata/python.xbm
 #usr/lib/python2.7/test/infinite_reload.py
 #usr/lib/python2.7/test/infinite_reload.pyc
 #usr/lib/python2.7/test/infinite_reload.pyo
@@ -2858,18 +3022,29 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/inspect_fodder2.py
 #usr/lib/python2.7/test/inspect_fodder2.pyc
 #usr/lib/python2.7/test/inspect_fodder2.pyo
+#usr/lib/python2.7/test/keycert.passwd.pem
 #usr/lib/python2.7/test/keycert.pem
+#usr/lib/python2.7/test/keycert2.pem
+#usr/lib/python2.7/test/keycert3.pem
+#usr/lib/python2.7/test/keycert4.pem
 #usr/lib/python2.7/test/list_tests.py
 #usr/lib/python2.7/test/list_tests.pyc
 #usr/lib/python2.7/test/list_tests.pyo
 #usr/lib/python2.7/test/lock_tests.py
 #usr/lib/python2.7/test/lock_tests.pyc
 #usr/lib/python2.7/test/lock_tests.pyo
+#usr/lib/python2.7/test/make_ssl_certs.py
+#usr/lib/python2.7/test/make_ssl_certs.pyc
+#usr/lib/python2.7/test/make_ssl_certs.pyo
 #usr/lib/python2.7/test/mapping_tests.py
 #usr/lib/python2.7/test/mapping_tests.pyc
 #usr/lib/python2.7/test/mapping_tests.pyo
 #usr/lib/python2.7/test/math_testcases.txt
+#usr/lib/python2.7/test/mp_fork_bomb.py
+#usr/lib/python2.7/test/mp_fork_bomb.pyc
+#usr/lib/python2.7/test/mp_fork_bomb.pyo
 #usr/lib/python2.7/test/nokia.pem
+#usr/lib/python2.7/test/nullbytecert.pem
 #usr/lib/python2.7/test/nullcert.pem
 #usr/lib/python2.7/test/outstanding_bugs.py
 #usr/lib/python2.7/test/outstanding_bugs.pyc
@@ -2880,6 +3055,7 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/profilee.py
 #usr/lib/python2.7/test/profilee.pyc
 #usr/lib/python2.7/test/profilee.pyo
+#usr/lib/python2.7/test/pycacert.pem
 #usr/lib/python2.7/test/pyclbr_input.py
 #usr/lib/python2.7/test/pyclbr_input.pyc
 #usr/lib/python2.7/test/pyclbr_input.pyo
@@ -2907,12 +3083,20 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/reperf.py
 #usr/lib/python2.7/test/reperf.pyc
 #usr/lib/python2.7/test/reperf.pyo
+#usr/lib/python2.7/test/revocation.crl
 #usr/lib/python2.7/test/sample_doctest.py
 #usr/lib/python2.7/test/sample_doctest.pyc
 #usr/lib/python2.7/test/sample_doctest.pyo
+#usr/lib/python2.7/test/sample_doctest_no_docstrings.py
+#usr/lib/python2.7/test/sample_doctest_no_docstrings.pyc
+#usr/lib/python2.7/test/sample_doctest_no_docstrings.pyo
+#usr/lib/python2.7/test/sample_doctest_no_doctests.py
+#usr/lib/python2.7/test/sample_doctest_no_doctests.pyc
+#usr/lib/python2.7/test/sample_doctest_no_doctests.pyo
 #usr/lib/python2.7/test/script_helper.py
 #usr/lib/python2.7/test/script_helper.pyc
 #usr/lib/python2.7/test/script_helper.pyo
+#usr/lib/python2.7/test/selfsigned_pythontestdotnet.pem
 #usr/lib/python2.7/test/seq_tests.py
 #usr/lib/python2.7/test/seq_tests.pyc
 #usr/lib/python2.7/test/seq_tests.pyo
@@ -2922,7 +3106,11 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/sortperf.pyc
 #usr/lib/python2.7/test/sortperf.pyo
 #usr/lib/python2.7/test/ssl_cert.pem
+#usr/lib/python2.7/test/ssl_key.passwd.pem
 #usr/lib/python2.7/test/ssl_key.pem
+#usr/lib/python2.7/test/ssl_servers.py
+#usr/lib/python2.7/test/ssl_servers.pyc
+#usr/lib/python2.7/test/ssl_servers.pyo
 #usr/lib/python2.7/test/string_tests.py
 #usr/lib/python2.7/test/string_tests.pyc
 #usr/lib/python2.7/test/string_tests.pyo
@@ -2930,6 +3118,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/subprocessdata/sigchild_ignore.py
 #usr/lib/python2.7/test/subprocessdata/sigchild_ignore.pyc
 #usr/lib/python2.7/test/subprocessdata/sigchild_ignore.pyo
+#usr/lib/python2.7/test/symlink_support.py
+#usr/lib/python2.7/test/symlink_support.pyc
+#usr/lib/python2.7/test/symlink_support.pyo
 #usr/lib/python2.7/test/test_MimeWriter.py
 #usr/lib/python2.7/test/test_MimeWriter.pyc
 #usr/lib/python2.7/test/test_MimeWriter.pyo
@@ -2948,6 +3139,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test__locale.py
 #usr/lib/python2.7/test/test__locale.pyc
 #usr/lib/python2.7/test/test__locale.pyo
+#usr/lib/python2.7/test/test__osx_support.py
+#usr/lib/python2.7/test/test__osx_support.pyc
+#usr/lib/python2.7/test/test__osx_support.pyo
 #usr/lib/python2.7/test/test_abc.py
 #usr/lib/python2.7/test/test_abc.pyc
 #usr/lib/python2.7/test/test_abc.pyo
@@ -3280,6 +3474,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_email_renamed.py
 #usr/lib/python2.7/test/test_email_renamed.pyc
 #usr/lib/python2.7/test/test_email_renamed.pyo
+#usr/lib/python2.7/test/test_ensurepip.py
+#usr/lib/python2.7/test/test_ensurepip.pyc
+#usr/lib/python2.7/test/test_ensurepip.pyo
 #usr/lib/python2.7/test/test_enumerate.py
 #usr/lib/python2.7/test/test_enumerate.pyc
 #usr/lib/python2.7/test/test_enumerate.pyo
@@ -3310,6 +3507,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_file2k.py
 #usr/lib/python2.7/test/test_file2k.pyc
 #usr/lib/python2.7/test/test_file2k.pyo
+#usr/lib/python2.7/test/test_file_eintr.py
+#usr/lib/python2.7/test/test_file_eintr.pyc
+#usr/lib/python2.7/test/test_file_eintr.pyo
 #usr/lib/python2.7/test/test_filecmp.py
 #usr/lib/python2.7/test/test_filecmp.pyc
 #usr/lib/python2.7/test/test_filecmp.pyo
@@ -3445,6 +3645,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_httpservers.py
 #usr/lib/python2.7/test/test_httpservers.pyc
 #usr/lib/python2.7/test/test_httpservers.pyo
+#usr/lib/python2.7/test/test_idle.py
+#usr/lib/python2.7/test/test_idle.pyc
+#usr/lib/python2.7/test/test_idle.pyo
 #usr/lib/python2.7/test/test_imageop.py
 #usr/lib/python2.7/test/test_imageop.pyc
 #usr/lib/python2.7/test/test_imageop.pyo
@@ -3454,6 +3657,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_imgfile.py
 #usr/lib/python2.7/test/test_imgfile.pyc
 #usr/lib/python2.7/test/test_imgfile.pyo
+#usr/lib/python2.7/test/test_imghdr.py
+#usr/lib/python2.7/test/test_imghdr.pyc
+#usr/lib/python2.7/test/test_imghdr.pyo
 #usr/lib/python2.7/test/test_imp.py
 #usr/lib/python2.7/test/test_imp.pyc
 #usr/lib/python2.7/test/test_imp.pyo
@@ -3541,6 +3747,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_macpath.py
 #usr/lib/python2.7/test/test_macpath.pyc
 #usr/lib/python2.7/test/test_macpath.pyo
+#usr/lib/python2.7/test/test_macurl2path.py
+#usr/lib/python2.7/test/test_macurl2path.pyc
+#usr/lib/python2.7/test/test_macurl2path.pyo
 #usr/lib/python2.7/test/test_mailbox.py
 #usr/lib/python2.7/test/test_mailbox.pyc
 #usr/lib/python2.7/test/test_mailbox.pyo
@@ -3610,6 +3819,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_nis.py
 #usr/lib/python2.7/test/test_nis.pyc
 #usr/lib/python2.7/test/test_nis.pyo
+#usr/lib/python2.7/test/test_nntplib.py
+#usr/lib/python2.7/test/test_nntplib.pyc
+#usr/lib/python2.7/test/test_nntplib.pyo
 #usr/lib/python2.7/test/test_normalization.py
 #usr/lib/python2.7/test/test_normalization.pyc
 #usr/lib/python2.7/test/test_normalization.pyo
@@ -3841,6 +4053,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_sort.py
 #usr/lib/python2.7/test/test_sort.pyc
 #usr/lib/python2.7/test/test_sort.pyo
+#usr/lib/python2.7/test/test_spwd.py
+#usr/lib/python2.7/test/test_spwd.pyc
+#usr/lib/python2.7/test/test_spwd.pyo
 #usr/lib/python2.7/test/test_sqlite.py
 #usr/lib/python2.7/test/test_sqlite.pyc
 #usr/lib/python2.7/test/test_sqlite.pyo
@@ -3850,6 +4065,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_startfile.py
 #usr/lib/python2.7/test/test_startfile.pyc
 #usr/lib/python2.7/test/test_startfile.pyo
+#usr/lib/python2.7/test/test_stat.py
+#usr/lib/python2.7/test/test_stat.pyc
+#usr/lib/python2.7/test/test_stat.pyo
 #usr/lib/python2.7/test/test_str.py
 #usr/lib/python2.7/test/test_str.pyc
 #usr/lib/python2.7/test/test_str.pyo
@@ -3883,6 +4101,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_subprocess.py
 #usr/lib/python2.7/test/test_subprocess.pyc
 #usr/lib/python2.7/test/test_subprocess.pyo
+#usr/lib/python2.7/test/test_sunau.py
+#usr/lib/python2.7/test/test_sunau.pyc
+#usr/lib/python2.7/test/test_sunau.pyo
 #usr/lib/python2.7/test/test_sunaudiodev.py
 #usr/lib/python2.7/test/test_sunaudiodev.pyc
 #usr/lib/python2.7/test/test_sunaudiodev.pyo
@@ -3955,6 +4176,9 @@ usr/lib/python2.7/tempfile.pyc
 #usr/lib/python2.7/test/test_tokenize.py
 #usr/lib/python2.7/test/test_tokenize.pyc
 #usr/lib/python2.7/test/test_tokenize.pyo
+#usr/lib/python2.7/test/test_tools.py
+#usr/lib/python2.7/test/test_tools.pyc
+#usr/lib/python2.7/test/test_tools.pyo
 #usr/lib/python2.7/test/test_trace.py
 #usr/lib/python2.7/test/test_trace.pyc
 #usr/lib/python2.7/test/test_trace.pyo
@@ -4400,4 +4624,6 @@ usr/lib/python2.7/xmlrpclib.pyc
 #usr/lib/python2.7/zipfile.py
 usr/lib/python2.7/zipfile.pyc
 #usr/lib/python2.7/zipfile.pyo
+#usr/share/man/man1/python.1
+#usr/share/man/man1/python2.1
 #usr/share/man/man1/python2.7.1
diff --git a/config/rootfiles/core/91/filelists/python b/config/rootfiles/core/91/filelists/python
new file mode 120000
index 0000000..ffe6e2c
--- /dev/null
+++ b/config/rootfiles/core/91/filelists/python
@@ -0,0 +1 @@
+../../../common/python
\ No newline at end of file
diff --git a/lfs/python b/lfs/python
index 6095e5e..acd230c 100644
--- a/lfs/python
+++ b/lfs/python
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2011  IPFire Team  <info(a)ipfire.org>                     #
+# Copyright (C) 2007-2015  IPFire Team  <info(a)ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.7.3
+VER        = 2.7.9
 
 THISAPP    = Python-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 62c4c1699170078c469f79ddfed21bc0
+$(DL_FILE)_MD5 = 38d530f7efc373d64a8fb1637e3baaa7
 
 install : $(TARGET)
 
diff --git a/lfs/python-optional-src b/lfs/python-optional-src
index 3b9f1c5..d09f4a4 100644
--- a/lfs/python-optional-src
+++ b/lfs/python-optional-src
@@ -24,7 +24,7 @@
 
 include Config
 
-VER	   = 2.7.3
+VER	   = 2.7.9
 
 include python
 
diff --git a/src/patches/Python-2.7.9-gdbm-1.patch b/src/patches/Python-2.7.9-gdbm-1.patch
new file mode 100644
index 0000000..c72b452
--- /dev/null
+++ b/src/patches/Python-2.7.9-gdbm-1.patch
@@ -0,0 +1,21 @@
+diff -Naur Python-2.7-org/setup.py Python-2.7/setup.py
+--- Python-2.7-org/setup.py	2010-06-27 14:36:16.000000000 +0200
++++ Python-2.7/setup.py	2010-07-13 22:23:04.000000000 +0200
+@@ -1125,7 +1125,7 @@
+                                                                'ndbm'):
+                             ndbm_libs = ['ndbm']
+                         else:
+-                            ndbm_libs = []
++                            ndbm_libs = ['gdbm', 'gdbm_compat' ]
+                         print "building dbm using ndbm"
+                         dbmext = Extension('dbm', ['dbmmodule.c'],
+                                            define_macros=[
+@@ -1140,7 +1140,7 @@
+                         if self.compiler.find_library_file(lib_dirs,
+                                                                'gdbm_compat'):
+                             gdbm_libs.append('gdbm_compat')
+-                        if find_file("gdbm/ndbm.h", inc_dirs, []) is not None:
++                        if find_file("ndbm.h", inc_dirs, []) is not None:
+                             print "building dbm using gdbm"
+                             dbmext = Extension(
+                                 'dbm', ['dbmmodule.c'],
-- 
1.8.5.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/3] python: Build libffi before python and link against it
  2015-06-16 15:57 [PATCH 1/3] Python: Update to 2.7.9 Michael Tremer
@ 2015-06-16 15:57 ` Michael Tremer
  2015-06-16 15:57 ` [PATCH 3/3] python: Update to 2.7.10 Michael Tremer
  2015-06-16 16:43 ` [PATCH 1/3] Python: Update to 2.7.9 Michael Tremer
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Tremer @ 2015-06-16 15:57 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 5560 bytes --]

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 lfs/python                                       |  4 +-
 make.sh                                          |  2 +-
 src/patches/python-2.7rc1-ctypes-noexecmem.patch | 85 ++++++++++++++++++++++++
 3 files changed, 89 insertions(+), 2 deletions(-)
 create mode 100644 src/patches/python-2.7rc1-ctypes-noexecmem.patch

diff --git a/lfs/python b/lfs/python
index acd230c..cd47d7e 100644
--- a/lfs/python
+++ b/lfs/python
@@ -70,8 +70,10 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
+	rm -rf $(DIR_APP)/Modules/_ctypes/{darwin,libffi,libffi_arm_wince,libffi_msvc,libffi_osx}
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-gdbm-1.patch
-	cd $(DIR_APP) && OPT="$(CFLAGS)" ./configure --prefix=/usr --enable-shared
+	cd $(DIR_APP) && OPT="$(CFLAGS)" ./configure \
+		--prefix=/usr --enable-shared --with-system-ffi
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)
diff --git a/make.sh b/make.sh
index 29245bc..b6217a7 100755
--- a/make.sh
+++ b/make.sh
@@ -476,6 +476,7 @@ buildipfire() {
   ipfiremake curl
   ipfiremake tcl
   ipfiremake sqlite
+  ipfiremake libffi
   ipfiremake python
   ipfiremake fireinfo
   ipfiremake libnet
@@ -579,7 +580,6 @@ buildipfire() {
   ipfiremake python-mechanize
   ipfiremake python-feedparser
   ipfiremake python-rssdler
-  ipfiremake libffi
   ipfiremake glib
   ipfiremake GeoIP
   ipfiremake fwhits
diff --git a/src/patches/python-2.7rc1-ctypes-noexecmem.patch b/src/patches/python-2.7rc1-ctypes-noexecmem.patch
new file mode 100644
index 0000000..ccc2e68
--- /dev/null
+++ b/src/patches/python-2.7rc1-ctypes-noexecmem.patch
@@ -0,0 +1,85 @@
+diff -up Python-2.7rc1/Modules/_ctypes/callbacks.c.selinux Python-2.7rc1/Modules/_ctypes/callbacks.c
+--- Python-2.7rc1/Modules/_ctypes/callbacks.c.selinux	2010-05-09 10:46:46.000000000 -0400
++++ Python-2.7rc1/Modules/_ctypes/callbacks.c	2010-06-08 08:44:18.357366200 -0400
+@@ -21,8 +21,8 @@ CThunkObject_dealloc(PyObject *_self)
+     Py_XDECREF(self->converters);
+     Py_XDECREF(self->callable);
+     Py_XDECREF(self->restype);
+-    if (self->pcl)
+-        _ctypes_free_closure(self->pcl);
++    if (self->pcl_write)
++        ffi_closure_free(self->pcl_write);
+     PyObject_GC_Del(self);
+ }
+ 
+@@ -391,7 +391,8 @@ static CThunkObject* CThunkObject_new(Py
+         return NULL;
+     }
+ 
+-    p->pcl = NULL;
++    p->pcl_exec = NULL;
++    p->pcl_write = NULL;
+     memset(&p->cif, 0, sizeof(p->cif));
+     p->converters = NULL;
+     p->callable = NULL;
+@@ -421,8 +422,9 @@ CThunkObject *_ctypes_alloc_callback(PyO
+ 
+     assert(CThunk_CheckExact(p));
+ 
+-    p->pcl = _ctypes_alloc_closure();
+-    if (p->pcl == NULL) {
++    p->pcl_write = ffi_closure_alloc(sizeof(ffi_closure),
++                                     &p->pcl_exec);
++    if (p->pcl_write == NULL) {
+         PyErr_NoMemory();
+         goto error;
+     }
+@@ -467,7 +469,9 @@ CThunkObject *_ctypes_alloc_callback(PyO
+                      "ffi_prep_cif failed with %d", result);
+         goto error;
+     }
+-    result = ffi_prep_closure(p->pcl, &p->cif, closure_fcn, p);
++    result = ffi_prep_closure_loc(p->pcl_write, &p->cif, closure_fcn,
++                                  p,
++                                  p->pcl_exec);
+     if (result != FFI_OK) {
+         PyErr_Format(PyExc_RuntimeError,
+                      "ffi_prep_closure failed with %d", result);
+diff -up Python-2.7rc1/Modules/_ctypes/_ctypes.c.selinux Python-2.7rc1/Modules/_ctypes/_ctypes.c
+--- Python-2.7rc1/Modules/_ctypes/_ctypes.c.selinux	2010-05-09 10:46:46.000000000 -0400
++++ Python-2.7rc1/Modules/_ctypes/_ctypes.c	2010-06-07 23:19:39.950146038 -0400
+@@ -3463,7 +3463,7 @@ PyCFuncPtr_new(PyTypeObject *type, PyObj
+     self->callable = callable;
+ 
+     self->thunk = thunk;
+-    *(void **)self->b_ptr = (void *)thunk->pcl;
++    *(void **)self->b_ptr = (void *)thunk->pcl_exec;
+ 
+     Py_INCREF((PyObject *)thunk); /* for KeepRef */
+     if (-1 == KeepRef((CDataObject *)self, 0, (PyObject *)thunk)) {
+diff -up Python-2.7rc1/Modules/_ctypes/ctypes.h.selinux Python-2.7rc1/Modules/_ctypes/ctypes.h
+--- Python-2.7rc1/Modules/_ctypes/ctypes.h.selinux	2010-05-09 10:46:46.000000000 -0400
++++ Python-2.7rc1/Modules/_ctypes/ctypes.h	2010-06-07 23:19:39.950146038 -0400
+@@ -95,7 +95,8 @@ struct tagCDataObject {
+ 
+ typedef struct {
+     PyObject_VAR_HEAD
+-    ffi_closure *pcl; /* the C callable */
++    ffi_closure *pcl_write; /* the C callable, writeable */
++    void *pcl_exec;         /* the C callable, executable */
+     ffi_cif cif;
+     int flags;
+     PyObject *converters;
+diff -up Python-2.7rc1/setup.py.selinux Python-2.7rc1/setup.py
+--- Python-2.7rc1/setup.py.selinux	2010-06-07 23:19:39.922147795 -0400
++++ Python-2.7rc1/setup.py	2010-06-07 23:19:39.951145942 -0400
+@@ -1864,8 +1864,7 @@ class PyBuildExt(build_ext):
+                    '_ctypes/callbacks.c',
+                    '_ctypes/callproc.c',
+                    '_ctypes/stgdict.c',
+-                   '_ctypes/cfield.c',
+-                   '_ctypes/malloc_closure.c']
++                   '_ctypes/cfield.c']
+         depends = ['_ctypes/ctypes.h']
+ 
+         if sys.platform == 'darwin':
-- 
1.8.5.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 3/3] python: Update to 2.7.10
  2015-06-16 15:57 [PATCH 1/3] Python: Update to 2.7.9 Michael Tremer
  2015-06-16 15:57 ` [PATCH 2/3] python: Build libffi before python and link against it Michael Tremer
@ 2015-06-16 15:57 ` Michael Tremer
  2015-06-16 16:43 ` [PATCH 1/3] Python: Update to 2.7.9 Michael Tremer
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Tremer @ 2015-06-16 15:57 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 lfs/python | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lfs/python b/lfs/python
index cd47d7e..22613e6 100644
--- a/lfs/python
+++ b/lfs/python
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.7.9
+VER        = 2.7.10
 
 THISAPP    = Python-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 38d530f7efc373d64a8fb1637e3baaa7
+$(DL_FILE)_MD5 = c685ef0b8e9f27b5e3db5db12b268ac6
 
 install : $(TARGET)
 
-- 
1.8.5.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/3] Python: Update to 2.7.9
  2015-06-16 15:57 [PATCH 1/3] Python: Update to 2.7.9 Michael Tremer
  2015-06-16 15:57 ` [PATCH 2/3] python: Build libffi before python and link against it Michael Tremer
  2015-06-16 15:57 ` [PATCH 3/3] python: Update to 2.7.10 Michael Tremer
@ 2015-06-16 16:43 ` Michael Tremer
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Tremer @ 2015-06-16 16:43 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 29484 bytes --]

@Arne: Should this patchset be merged for Core Update 92?

On Tue, 2015-06-16 at 17:57 +0200, Michael Tremer wrote:
> This reverts commit 3d9b9dd30e86b03dce4e31103099a6a0bdc97a98.
> 
> Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
> ---
>  config/rootfiles/common/python            | 234 +++++++++++++++++++++++++++++-
>  config/rootfiles/core/91/filelists/python |   1 +
>  lfs/python                                |   6 +-
>  lfs/python-optional-src                   |   2 +-
>  src/patches/Python-2.7.9-gdbm-1.patch     |  21 +++
>  5 files changed, 256 insertions(+), 8 deletions(-)
>  create mode 120000 config/rootfiles/core/91/filelists/python
>  create mode 100644 src/patches/Python-2.7.9-gdbm-1.patch
> 
> diff --git a/config/rootfiles/common/python b/config/rootfiles/common/python
> index 3472e25..4f11c56 100644
> --- a/config/rootfiles/common/python
> +++ b/config/rootfiles/common/python
> @@ -171,12 +171,18 @@ usr/lib/python2.7/__phello__.foo.pyc
>  #usr/lib/python2.7/_abcoll.py
>  usr/lib/python2.7/_abcoll.pyc
>  #usr/lib/python2.7/_abcoll.pyo
> +#usr/lib/python2.7/_osx_support.py
> +#usr/lib/python2.7/_osx_support.pyc
> +#usr/lib/python2.7/_osx_support.pyo
>  #usr/lib/python2.7/_pyio.py
>  usr/lib/python2.7/_pyio.pyc
>  #usr/lib/python2.7/_pyio.pyo
>  #usr/lib/python2.7/_strptime.py
>  usr/lib/python2.7/_strptime.pyc
>  #usr/lib/python2.7/_strptime.pyo
> +#usr/lib/python2.7/_sysconfigdata.py
> +#usr/lib/python2.7/_sysconfigdata.pyc
> +#usr/lib/python2.7/_sysconfigdata.pyo
>  #usr/lib/python2.7/_threading_local.py
>  usr/lib/python2.7/_threading_local.pyc
>  #usr/lib/python2.7/_threading_local.pyo
> @@ -605,6 +611,9 @@ usr/lib/python2.7/ctypes/macholib/framework.pyc
>  #usr/lib/python2.7/ctypes/test/test_win32.py
>  #usr/lib/python2.7/ctypes/test/test_win32.pyc
>  #usr/lib/python2.7/ctypes/test/test_win32.pyo
> +#usr/lib/python2.7/ctypes/test/test_wintypes.py
> +#usr/lib/python2.7/ctypes/test/test_wintypes.pyc
> +#usr/lib/python2.7/ctypes/test/test_wintypes.pyo
>  #usr/lib/python2.7/ctypes/util.py
>  usr/lib/python2.7/ctypes/util.pyc
>  #usr/lib/python2.7/ctypes/util.pyo
> @@ -1452,6 +1461,19 @@ usr/lib/python2.7/encodings/uu_codec.pyc
>  #usr/lib/python2.7/encodings/zlib_codec.py
>  usr/lib/python2.7/encodings/zlib_codec.pyc
>  #usr/lib/python2.7/encodings/zlib_codec.pyo
> +#usr/lib/python2.7/ensurepip
> +#usr/lib/python2.7/ensurepip/__init__.py
> +#usr/lib/python2.7/ensurepip/__init__.pyc
> +#usr/lib/python2.7/ensurepip/__init__.pyo
> +#usr/lib/python2.7/ensurepip/__main__.py
> +#usr/lib/python2.7/ensurepip/__main__.pyc
> +#usr/lib/python2.7/ensurepip/__main__.pyo
> +#usr/lib/python2.7/ensurepip/_bundled
> +#usr/lib/python2.7/ensurepip/_bundled/pip-1.5.6-py2.py3-none-any.whl
> +#usr/lib/python2.7/ensurepip/_bundled/setuptools-7.0-py2.py3-none-any.whl
> +#usr/lib/python2.7/ensurepip/_uninstall.py
> +#usr/lib/python2.7/ensurepip/_uninstall.pyc
> +#usr/lib/python2.7/ensurepip/_uninstall.pyo
>  #usr/lib/python2.7/filecmp.py
>  usr/lib/python2.7/filecmp.pyc
>  #usr/lib/python2.7/filecmp.pyo
> @@ -1583,6 +1605,13 @@ usr/lib/python2.7/httplib.pyc
>  #usr/lib/python2.7/idlelib/Icons
>  #usr/lib/python2.7/idlelib/Icons/folder.gif
>  #usr/lib/python2.7/idlelib/Icons/idle.icns
> +#usr/lib/python2.7/idlelib/Icons/idle.ico
> +#usr/lib/python2.7/idlelib/Icons/idle_16.gif
> +#usr/lib/python2.7/idlelib/Icons/idle_16.png
> +#usr/lib/python2.7/idlelib/Icons/idle_32.gif
> +#usr/lib/python2.7/idlelib/Icons/idle_32.png
> +#usr/lib/python2.7/idlelib/Icons/idle_48.gif
> +#usr/lib/python2.7/idlelib/Icons/idle_48.png
>  #usr/lib/python2.7/idlelib/Icons/minusnode.gif
>  #usr/lib/python2.7/idlelib/Icons/openfolder.gif
>  #usr/lib/python2.7/idlelib/Icons/plusnode.gif
> @@ -1701,6 +1730,77 @@ usr/lib/python2.7/httplib.pyc
>  #usr/lib/python2.7/idlelib/idle.pyc
>  #usr/lib/python2.7/idlelib/idle.pyo
>  #usr/lib/python2.7/idlelib/idle.pyw
> +#usr/lib/python2.7/idlelib/idle_test
> +#usr/lib/python2.7/idlelib/idle_test/README.txt
> +#usr/lib/python2.7/idlelib/idle_test/__init__.py
> +#usr/lib/python2.7/idlelib/idle_test/__init__.pyc
> +#usr/lib/python2.7/idlelib/idle_test/__init__.pyo
> +#usr/lib/python2.7/idlelib/idle_test/htest.py
> +#usr/lib/python2.7/idlelib/idle_test/htest.pyc
> +#usr/lib/python2.7/idlelib/idle_test/htest.pyo
> +#usr/lib/python2.7/idlelib/idle_test/mock_idle.py
> +#usr/lib/python2.7/idlelib/idle_test/mock_idle.pyc
> +#usr/lib/python2.7/idlelib/idle_test/mock_idle.pyo
> +#usr/lib/python2.7/idlelib/idle_test/mock_tk.py
> +#usr/lib/python2.7/idlelib/idle_test/mock_tk.pyc
> +#usr/lib/python2.7/idlelib/idle_test/mock_tk.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_autocomplete.py
> +#usr/lib/python2.7/idlelib/idle_test/test_autocomplete.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_autocomplete.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_autoexpand.py
> +#usr/lib/python2.7/idlelib/idle_test/test_autoexpand.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_autoexpand.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_calltips.py
> +#usr/lib/python2.7/idlelib/idle_test/test_calltips.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_calltips.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_config_name.py
> +#usr/lib/python2.7/idlelib/idle_test/test_config_name.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_config_name.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_configdialog.py
> +#usr/lib/python2.7/idlelib/idle_test/test_configdialog.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_configdialog.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_delegator.py
> +#usr/lib/python2.7/idlelib/idle_test/test_delegator.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_delegator.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_formatparagraph.py
> +#usr/lib/python2.7/idlelib/idle_test/test_formatparagraph.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_formatparagraph.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_grep.py
> +#usr/lib/python2.7/idlelib/idle_test/test_grep.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_grep.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_hyperparser.py
> +#usr/lib/python2.7/idlelib/idle_test/test_hyperparser.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_hyperparser.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_idlehistory.py
> +#usr/lib/python2.7/idlelib/idle_test/test_idlehistory.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_idlehistory.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_parenmatch.py
> +#usr/lib/python2.7/idlelib/idle_test/test_parenmatch.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_parenmatch.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_pathbrowser.py
> +#usr/lib/python2.7/idlelib/idle_test/test_pathbrowser.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_pathbrowser.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_rstrip.py
> +#usr/lib/python2.7/idlelib/idle_test/test_rstrip.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_rstrip.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_searchdialogbase.py
> +#usr/lib/python2.7/idlelib/idle_test/test_searchdialogbase.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_searchdialogbase.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_searchengine.py
> +#usr/lib/python2.7/idlelib/idle_test/test_searchengine.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_searchengine.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_text.py
> +#usr/lib/python2.7/idlelib/idle_test/test_text.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_text.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_textview.py
> +#usr/lib/python2.7/idlelib/idle_test/test_textview.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_textview.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_warning.py
> +#usr/lib/python2.7/idlelib/idle_test/test_warning.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_warning.pyo
> +#usr/lib/python2.7/idlelib/idle_test/test_widgetredir.py
> +#usr/lib/python2.7/idlelib/idle_test/test_widgetredir.pyc
> +#usr/lib/python2.7/idlelib/idle_test/test_widgetredir.pyo
>  #usr/lib/python2.7/idlelib/idlever.py
>  #usr/lib/python2.7/idlelib/idlever.pyc
>  #usr/lib/python2.7/idlelib/idlever.pyo
> @@ -1809,6 +1909,9 @@ usr/lib/python2.7/json/scanner.pyc
>  #usr/lib/python2.7/json/tests/test_speedups.py
>  #usr/lib/python2.7/json/tests/test_speedups.pyc
>  #usr/lib/python2.7/json/tests/test_speedups.pyo
> +#usr/lib/python2.7/json/tests/test_tool.py
> +#usr/lib/python2.7/json/tests/test_tool.pyc
> +#usr/lib/python2.7/json/tests/test_tool.pyo
>  #usr/lib/python2.7/json/tests/test_unicode.py
>  #usr/lib/python2.7/json/tests/test_unicode.pyc
>  #usr/lib/python2.7/json/tests/test_unicode.pyo
> @@ -1819,7 +1922,7 @@ usr/lib/python2.7/json/tool.pyc
>  usr/lib/python2.7/keyword.pyc
>  #usr/lib/python2.7/keyword.pyo
>  #usr/lib/python2.7/lib-dynload
> -usr/lib/python2.7/lib-dynload/Python-2.7.3-py2.7.egg-info
> +usr/lib/python2.7/lib-dynload/Python-2.7.9-py2.7.egg-info
>  usr/lib/python2.7/lib-dynload/_bisect.so
>  usr/lib/python2.7/lib-dynload/_bsddb.so
>  usr/lib/python2.7/lib-dynload/_codecs_cn.so
> @@ -1860,7 +1963,7 @@ usr/lib/python2.7/lib-dynload/cStringIO.so
>  usr/lib/python2.7/lib-dynload/cmath.so
>  usr/lib/python2.7/lib-dynload/crypt.so
>  usr/lib/python2.7/lib-dynload/datetime.so
> -usr/lib/python2.7/lib-dynload/dbm.so
> +#usr/lib/python2.7/lib-dynload/dbm_failed.so
>  usr/lib/python2.7/lib-dynload/dl.so
>  usr/lib/python2.7/lib-dynload/fcntl.so
>  usr/lib/python2.7/lib-dynload/future_builtins.so
> @@ -1926,12 +2029,27 @@ usr/lib/python2.7/lib-dynload/zlib.so
>  #usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.py
>  #usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.pyc
>  #usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.pyo
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_font.py
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_font.pyc
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_font.pyo
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.py
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyc
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyo
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_images.py
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_images.pyc
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_images.pyo
>  #usr/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.py
>  #usr/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyc
>  #usr/lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyo
>  #usr/lib/python2.7/lib-tk/test/test_tkinter/test_text.py
>  #usr/lib/python2.7/lib-tk/test/test_tkinter/test_text.pyc
>  #usr/lib/python2.7/lib-tk/test/test_tkinter/test_text.pyo
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_variables.py
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_variables.pyc
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_variables.pyo
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_widgets.py
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_widgets.pyc
> +#usr/lib/python2.7/lib-tk/test/test_tkinter/test_widgets.pyo
>  #usr/lib/python2.7/lib-tk/test/test_ttk
>  #usr/lib/python2.7/lib-tk/test/test_ttk/__init__.py
>  #usr/lib/python2.7/lib-tk/test/test_ttk/__init__.pyc
> @@ -1951,6 +2069,9 @@ usr/lib/python2.7/lib-dynload/zlib.so
>  #usr/lib/python2.7/lib-tk/test/test_ttk/test_widgets.py
>  #usr/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyc
>  #usr/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyo
> +#usr/lib/python2.7/lib-tk/test/widget_tests.py
> +#usr/lib/python2.7/lib-tk/test/widget_tests.pyc
> +#usr/lib/python2.7/lib-tk/test/widget_tests.pyo
>  #usr/lib/python2.7/lib-tk/tkColorChooser.py
>  #usr/lib/python2.7/lib-tk/tkColorChooser.pyc
>  #usr/lib/python2.7/lib-tk/tkColorChooser.pyo
> @@ -1977,9 +2098,9 @@ usr/lib/python2.7/lib-dynload/zlib.so
>  #usr/lib/python2.7/lib-tk/turtle.pyo
>  #usr/lib/python2.7/lib2to3
>  #usr/lib/python2.7/lib2to3/Grammar.txt
> -#usr/lib/python2.7/lib2to3/Grammar2.7.3.final.0.pickle
> +#usr/lib/python2.7/lib2to3/Grammar2.7.9.final.0.pickle
>  #usr/lib/python2.7/lib2to3/PatternGrammar.txt
> -#usr/lib/python2.7/lib2to3/PatternGrammar2.7.3.final.0.pickle
> +#usr/lib/python2.7/lib2to3/PatternGrammar2.7.9.final.0.pickle
>  #usr/lib/python2.7/lib2to3/__init__.py
>  #usr/lib/python2.7/lib2to3/__init__.pyc
>  #usr/lib/python2.7/lib2to3/__init__.pyo
> @@ -2005,6 +2126,9 @@ usr/lib/python2.7/lib-dynload/zlib.so
>  #usr/lib/python2.7/lib2to3/fixes/fix_apply.py
>  #usr/lib/python2.7/lib2to3/fixes/fix_apply.pyc
>  #usr/lib/python2.7/lib2to3/fixes/fix_apply.pyo
> +#usr/lib/python2.7/lib2to3/fixes/fix_asserts.py
> +#usr/lib/python2.7/lib2to3/fixes/fix_asserts.pyc
> +#usr/lib/python2.7/lib2to3/fixes/fix_asserts.pyo
>  #usr/lib/python2.7/lib2to3/fixes/fix_basestring.py
>  #usr/lib/python2.7/lib2to3/fixes/fix_basestring.pyc
>  #usr/lib/python2.7/lib2to3/fixes/fix_basestring.pyo
> @@ -2207,6 +2331,7 @@ usr/lib/python2.7/lib-dynload/zlib.so
>  #usr/lib/python2.7/lib2to3/tests/data/bom.py
>  #usr/lib/python2.7/lib2to3/tests/data/crlf.py
>  #usr/lib/python2.7/lib2to3/tests/data/different_encoding.py
> +#usr/lib/python2.7/lib2to3/tests/data/false_encoding.py
>  #usr/lib/python2.7/lib2to3/tests/data/fixers
>  #usr/lib/python2.7/lib2to3/tests/data/fixers/bad_order.py
>  #usr/lib/python2.7/lib2to3/tests/data/fixers/myfixes
> @@ -2628,12 +2753,33 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/__init__.py
>  #usr/lib/python2.7/test/__init__.pyc
>  #usr/lib/python2.7/test/__init__.pyo
> +#usr/lib/python2.7/test/_mock_backport.py
> +#usr/lib/python2.7/test/_mock_backport.pyc
> +#usr/lib/python2.7/test/_mock_backport.pyo
> +#usr/lib/python2.7/test/audiodata
> +#usr/lib/python2.7/test/audiodata/pluck-pcm16.aiff
> +#usr/lib/python2.7/test/audiodata/pluck-pcm16.au
> +#usr/lib/python2.7/test/audiodata/pluck-pcm16.wav
> +#usr/lib/python2.7/test/audiodata/pluck-pcm24.aiff
> +#usr/lib/python2.7/test/audiodata/pluck-pcm24.wav
> +#usr/lib/python2.7/test/audiodata/pluck-pcm32.aiff
> +#usr/lib/python2.7/test/audiodata/pluck-pcm32.au
> +#usr/lib/python2.7/test/audiodata/pluck-pcm32.wav
> +#usr/lib/python2.7/test/audiodata/pluck-pcm8.aiff
> +#usr/lib/python2.7/test/audiodata/pluck-pcm8.au
> +#usr/lib/python2.7/test/audiodata/pluck-pcm8.wav
> +#usr/lib/python2.7/test/audiodata/pluck-ulaw.aifc
> +#usr/lib/python2.7/test/audiodata/pluck-ulaw.au
>  #usr/lib/python2.7/test/audiotest.au
> +#usr/lib/python2.7/test/audiotests.py
> +#usr/lib/python2.7/test/audiotests.pyc
> +#usr/lib/python2.7/test/audiotests.pyo
>  #usr/lib/python2.7/test/autotest.py
>  #usr/lib/python2.7/test/autotest.pyc
>  #usr/lib/python2.7/test/autotest.pyo
>  #usr/lib/python2.7/test/bad_coding.py
>  #usr/lib/python2.7/test/bad_coding2.py
> +#usr/lib/python2.7/test/bad_coding3.py
>  #usr/lib/python2.7/test/badcert.pem
>  #usr/lib/python2.7/test/badkey.pem
>  #usr/lib/python2.7/test/badsyntax_future3.py
> @@ -2647,6 +2793,11 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/buffer_tests.py
>  #usr/lib/python2.7/test/buffer_tests.pyc
>  #usr/lib/python2.7/test/buffer_tests.pyo
> +#usr/lib/python2.7/test/capath
> +#usr/lib/python2.7/test/capath/4e1295a3.0
> +#usr/lib/python2.7/test/capath/5ed36f99.0
> +#usr/lib/python2.7/test/capath/6e88d7b8.0
> +#usr/lib/python2.7/test/capath/99d0fa06.0
>  #usr/lib/python2.7/test/cfgparser.1
>  #usr/lib/python2.7/test/check_soundcard.vbs
>  #usr/lib/python2.7/test/cjkencodings
> @@ -2830,6 +2981,7 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/decimaltestdata/tointegral.decTest
>  #usr/lib/python2.7/test/decimaltestdata/tointegralx.decTest
>  #usr/lib/python2.7/test/decimaltestdata/xor.decTest
> +#usr/lib/python2.7/test/dh512.pem
>  #usr/lib/python2.7/test/doctest_aliases.py
>  #usr/lib/python2.7/test/doctest_aliases.pyc
>  #usr/lib/python2.7/test/doctest_aliases.pyo
> @@ -2849,6 +3001,18 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/greyrgb.uue
>  #usr/lib/python2.7/test/https_svn_python_org_root.pem
>  #usr/lib/python2.7/test/ieee754.txt
> +#usr/lib/python2.7/test/imghdrdata
> +#usr/lib/python2.7/test/imghdrdata/python.bmp
> +#usr/lib/python2.7/test/imghdrdata/python.gif
> +#usr/lib/python2.7/test/imghdrdata/python.jpg
> +#usr/lib/python2.7/test/imghdrdata/python.pbm
> +#usr/lib/python2.7/test/imghdrdata/python.pgm
> +#usr/lib/python2.7/test/imghdrdata/python.png
> +#usr/lib/python2.7/test/imghdrdata/python.ppm
> +#usr/lib/python2.7/test/imghdrdata/python.ras
> +#usr/lib/python2.7/test/imghdrdata/python.sgi
> +#usr/lib/python2.7/test/imghdrdata/python.tiff
> +#usr/lib/python2.7/test/imghdrdata/python.xbm
>  #usr/lib/python2.7/test/infinite_reload.py
>  #usr/lib/python2.7/test/infinite_reload.pyc
>  #usr/lib/python2.7/test/infinite_reload.pyo
> @@ -2858,18 +3022,29 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/inspect_fodder2.py
>  #usr/lib/python2.7/test/inspect_fodder2.pyc
>  #usr/lib/python2.7/test/inspect_fodder2.pyo
> +#usr/lib/python2.7/test/keycert.passwd.pem
>  #usr/lib/python2.7/test/keycert.pem
> +#usr/lib/python2.7/test/keycert2.pem
> +#usr/lib/python2.7/test/keycert3.pem
> +#usr/lib/python2.7/test/keycert4.pem
>  #usr/lib/python2.7/test/list_tests.py
>  #usr/lib/python2.7/test/list_tests.pyc
>  #usr/lib/python2.7/test/list_tests.pyo
>  #usr/lib/python2.7/test/lock_tests.py
>  #usr/lib/python2.7/test/lock_tests.pyc
>  #usr/lib/python2.7/test/lock_tests.pyo
> +#usr/lib/python2.7/test/make_ssl_certs.py
> +#usr/lib/python2.7/test/make_ssl_certs.pyc
> +#usr/lib/python2.7/test/make_ssl_certs.pyo
>  #usr/lib/python2.7/test/mapping_tests.py
>  #usr/lib/python2.7/test/mapping_tests.pyc
>  #usr/lib/python2.7/test/mapping_tests.pyo
>  #usr/lib/python2.7/test/math_testcases.txt
> +#usr/lib/python2.7/test/mp_fork_bomb.py
> +#usr/lib/python2.7/test/mp_fork_bomb.pyc
> +#usr/lib/python2.7/test/mp_fork_bomb.pyo
>  #usr/lib/python2.7/test/nokia.pem
> +#usr/lib/python2.7/test/nullbytecert.pem
>  #usr/lib/python2.7/test/nullcert.pem
>  #usr/lib/python2.7/test/outstanding_bugs.py
>  #usr/lib/python2.7/test/outstanding_bugs.pyc
> @@ -2880,6 +3055,7 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/profilee.py
>  #usr/lib/python2.7/test/profilee.pyc
>  #usr/lib/python2.7/test/profilee.pyo
> +#usr/lib/python2.7/test/pycacert.pem
>  #usr/lib/python2.7/test/pyclbr_input.py
>  #usr/lib/python2.7/test/pyclbr_input.pyc
>  #usr/lib/python2.7/test/pyclbr_input.pyo
> @@ -2907,12 +3083,20 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/reperf.py
>  #usr/lib/python2.7/test/reperf.pyc
>  #usr/lib/python2.7/test/reperf.pyo
> +#usr/lib/python2.7/test/revocation.crl
>  #usr/lib/python2.7/test/sample_doctest.py
>  #usr/lib/python2.7/test/sample_doctest.pyc
>  #usr/lib/python2.7/test/sample_doctest.pyo
> +#usr/lib/python2.7/test/sample_doctest_no_docstrings.py
> +#usr/lib/python2.7/test/sample_doctest_no_docstrings.pyc
> +#usr/lib/python2.7/test/sample_doctest_no_docstrings.pyo
> +#usr/lib/python2.7/test/sample_doctest_no_doctests.py
> +#usr/lib/python2.7/test/sample_doctest_no_doctests.pyc
> +#usr/lib/python2.7/test/sample_doctest_no_doctests.pyo
>  #usr/lib/python2.7/test/script_helper.py
>  #usr/lib/python2.7/test/script_helper.pyc
>  #usr/lib/python2.7/test/script_helper.pyo
> +#usr/lib/python2.7/test/selfsigned_pythontestdotnet.pem
>  #usr/lib/python2.7/test/seq_tests.py
>  #usr/lib/python2.7/test/seq_tests.pyc
>  #usr/lib/python2.7/test/seq_tests.pyo
> @@ -2922,7 +3106,11 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/sortperf.pyc
>  #usr/lib/python2.7/test/sortperf.pyo
>  #usr/lib/python2.7/test/ssl_cert.pem
> +#usr/lib/python2.7/test/ssl_key.passwd.pem
>  #usr/lib/python2.7/test/ssl_key.pem
> +#usr/lib/python2.7/test/ssl_servers.py
> +#usr/lib/python2.7/test/ssl_servers.pyc
> +#usr/lib/python2.7/test/ssl_servers.pyo
>  #usr/lib/python2.7/test/string_tests.py
>  #usr/lib/python2.7/test/string_tests.pyc
>  #usr/lib/python2.7/test/string_tests.pyo
> @@ -2930,6 +3118,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/subprocessdata/sigchild_ignore.py
>  #usr/lib/python2.7/test/subprocessdata/sigchild_ignore.pyc
>  #usr/lib/python2.7/test/subprocessdata/sigchild_ignore.pyo
> +#usr/lib/python2.7/test/symlink_support.py
> +#usr/lib/python2.7/test/symlink_support.pyc
> +#usr/lib/python2.7/test/symlink_support.pyo
>  #usr/lib/python2.7/test/test_MimeWriter.py
>  #usr/lib/python2.7/test/test_MimeWriter.pyc
>  #usr/lib/python2.7/test/test_MimeWriter.pyo
> @@ -2948,6 +3139,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test__locale.py
>  #usr/lib/python2.7/test/test__locale.pyc
>  #usr/lib/python2.7/test/test__locale.pyo
> +#usr/lib/python2.7/test/test__osx_support.py
> +#usr/lib/python2.7/test/test__osx_support.pyc
> +#usr/lib/python2.7/test/test__osx_support.pyo
>  #usr/lib/python2.7/test/test_abc.py
>  #usr/lib/python2.7/test/test_abc.pyc
>  #usr/lib/python2.7/test/test_abc.pyo
> @@ -3280,6 +3474,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_email_renamed.py
>  #usr/lib/python2.7/test/test_email_renamed.pyc
>  #usr/lib/python2.7/test/test_email_renamed.pyo
> +#usr/lib/python2.7/test/test_ensurepip.py
> +#usr/lib/python2.7/test/test_ensurepip.pyc
> +#usr/lib/python2.7/test/test_ensurepip.pyo
>  #usr/lib/python2.7/test/test_enumerate.py
>  #usr/lib/python2.7/test/test_enumerate.pyc
>  #usr/lib/python2.7/test/test_enumerate.pyo
> @@ -3310,6 +3507,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_file2k.py
>  #usr/lib/python2.7/test/test_file2k.pyc
>  #usr/lib/python2.7/test/test_file2k.pyo
> +#usr/lib/python2.7/test/test_file_eintr.py
> +#usr/lib/python2.7/test/test_file_eintr.pyc
> +#usr/lib/python2.7/test/test_file_eintr.pyo
>  #usr/lib/python2.7/test/test_filecmp.py
>  #usr/lib/python2.7/test/test_filecmp.pyc
>  #usr/lib/python2.7/test/test_filecmp.pyo
> @@ -3445,6 +3645,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_httpservers.py
>  #usr/lib/python2.7/test/test_httpservers.pyc
>  #usr/lib/python2.7/test/test_httpservers.pyo
> +#usr/lib/python2.7/test/test_idle.py
> +#usr/lib/python2.7/test/test_idle.pyc
> +#usr/lib/python2.7/test/test_idle.pyo
>  #usr/lib/python2.7/test/test_imageop.py
>  #usr/lib/python2.7/test/test_imageop.pyc
>  #usr/lib/python2.7/test/test_imageop.pyo
> @@ -3454,6 +3657,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_imgfile.py
>  #usr/lib/python2.7/test/test_imgfile.pyc
>  #usr/lib/python2.7/test/test_imgfile.pyo
> +#usr/lib/python2.7/test/test_imghdr.py
> +#usr/lib/python2.7/test/test_imghdr.pyc
> +#usr/lib/python2.7/test/test_imghdr.pyo
>  #usr/lib/python2.7/test/test_imp.py
>  #usr/lib/python2.7/test/test_imp.pyc
>  #usr/lib/python2.7/test/test_imp.pyo
> @@ -3541,6 +3747,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_macpath.py
>  #usr/lib/python2.7/test/test_macpath.pyc
>  #usr/lib/python2.7/test/test_macpath.pyo
> +#usr/lib/python2.7/test/test_macurl2path.py
> +#usr/lib/python2.7/test/test_macurl2path.pyc
> +#usr/lib/python2.7/test/test_macurl2path.pyo
>  #usr/lib/python2.7/test/test_mailbox.py
>  #usr/lib/python2.7/test/test_mailbox.pyc
>  #usr/lib/python2.7/test/test_mailbox.pyo
> @@ -3610,6 +3819,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_nis.py
>  #usr/lib/python2.7/test/test_nis.pyc
>  #usr/lib/python2.7/test/test_nis.pyo
> +#usr/lib/python2.7/test/test_nntplib.py
> +#usr/lib/python2.7/test/test_nntplib.pyc
> +#usr/lib/python2.7/test/test_nntplib.pyo
>  #usr/lib/python2.7/test/test_normalization.py
>  #usr/lib/python2.7/test/test_normalization.pyc
>  #usr/lib/python2.7/test/test_normalization.pyo
> @@ -3841,6 +4053,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_sort.py
>  #usr/lib/python2.7/test/test_sort.pyc
>  #usr/lib/python2.7/test/test_sort.pyo
> +#usr/lib/python2.7/test/test_spwd.py
> +#usr/lib/python2.7/test/test_spwd.pyc
> +#usr/lib/python2.7/test/test_spwd.pyo
>  #usr/lib/python2.7/test/test_sqlite.py
>  #usr/lib/python2.7/test/test_sqlite.pyc
>  #usr/lib/python2.7/test/test_sqlite.pyo
> @@ -3850,6 +4065,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_startfile.py
>  #usr/lib/python2.7/test/test_startfile.pyc
>  #usr/lib/python2.7/test/test_startfile.pyo
> +#usr/lib/python2.7/test/test_stat.py
> +#usr/lib/python2.7/test/test_stat.pyc
> +#usr/lib/python2.7/test/test_stat.pyo
>  #usr/lib/python2.7/test/test_str.py
>  #usr/lib/python2.7/test/test_str.pyc
>  #usr/lib/python2.7/test/test_str.pyo
> @@ -3883,6 +4101,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_subprocess.py
>  #usr/lib/python2.7/test/test_subprocess.pyc
>  #usr/lib/python2.7/test/test_subprocess.pyo
> +#usr/lib/python2.7/test/test_sunau.py
> +#usr/lib/python2.7/test/test_sunau.pyc
> +#usr/lib/python2.7/test/test_sunau.pyo
>  #usr/lib/python2.7/test/test_sunaudiodev.py
>  #usr/lib/python2.7/test/test_sunaudiodev.pyc
>  #usr/lib/python2.7/test/test_sunaudiodev.pyo
> @@ -3955,6 +4176,9 @@ usr/lib/python2.7/tempfile.pyc
>  #usr/lib/python2.7/test/test_tokenize.py
>  #usr/lib/python2.7/test/test_tokenize.pyc
>  #usr/lib/python2.7/test/test_tokenize.pyo
> +#usr/lib/python2.7/test/test_tools.py
> +#usr/lib/python2.7/test/test_tools.pyc
> +#usr/lib/python2.7/test/test_tools.pyo
>  #usr/lib/python2.7/test/test_trace.py
>  #usr/lib/python2.7/test/test_trace.pyc
>  #usr/lib/python2.7/test/test_trace.pyo
> @@ -4400,4 +4624,6 @@ usr/lib/python2.7/xmlrpclib.pyc
>  #usr/lib/python2.7/zipfile.py
>  usr/lib/python2.7/zipfile.pyc
>  #usr/lib/python2.7/zipfile.pyo
> +#usr/share/man/man1/python.1
> +#usr/share/man/man1/python2.1
>  #usr/share/man/man1/python2.7.1
> diff --git a/config/rootfiles/core/91/filelists/python b/config/rootfiles/core/91/filelists/python
> new file mode 120000
> index 0000000..ffe6e2c
> --- /dev/null
> +++ b/config/rootfiles/core/91/filelists/python
> @@ -0,0 +1 @@
> +../../../common/python
> \ No newline at end of file
> diff --git a/lfs/python b/lfs/python
> index 6095e5e..acd230c 100644
> --- a/lfs/python
> +++ b/lfs/python
> @@ -1,7 +1,7 @@
>  ###############################################################################
>  #                                                                             #
>  # IPFire.org - A linux based firewall                                         #
> -# Copyright (C) 2007-2011  IPFire Team  <info(a)ipfire.org>                     #
> +# Copyright (C) 2007-2015  IPFire Team  <info(a)ipfire.org>                     #
>  #                                                                             #
>  # This program is free software: you can redistribute it and/or modify        #
>  # it under the terms of the GNU General Public License as published by        #
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 2.7.3
> +VER        = 2.7.9
>  
>  THISAPP    = Python-$(VER)
>  DL_FILE    = $(THISAPP).tar.xz
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = 62c4c1699170078c469f79ddfed21bc0
> +$(DL_FILE)_MD5 = 38d530f7efc373d64a8fb1637e3baaa7
>  
>  install : $(TARGET)
>  
> diff --git a/lfs/python-optional-src b/lfs/python-optional-src
> index 3b9f1c5..d09f4a4 100644
> --- a/lfs/python-optional-src
> +++ b/lfs/python-optional-src
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER	   = 2.7.3
> +VER	   = 2.7.9
>  
>  include python
>  
> diff --git a/src/patches/Python-2.7.9-gdbm-1.patch b/src/patches/Python-2.7.9-gdbm-1.patch
> new file mode 100644
> index 0000000..c72b452
> --- /dev/null
> +++ b/src/patches/Python-2.7.9-gdbm-1.patch
> @@ -0,0 +1,21 @@
> +diff -Naur Python-2.7-org/setup.py Python-2.7/setup.py
> +--- Python-2.7-org/setup.py	2010-06-27 14:36:16.000000000 +0200
> ++++ Python-2.7/setup.py	2010-07-13 22:23:04.000000000 +0200
> +@@ -1125,7 +1125,7 @@
> +                                                                'ndbm'):
> +                             ndbm_libs = ['ndbm']
> +                         else:
> +-                            ndbm_libs = []
> ++                            ndbm_libs = ['gdbm', 'gdbm_compat' ]
> +                         print "building dbm using ndbm"
> +                         dbmext = Extension('dbm', ['dbmmodule.c'],
> +                                            define_macros=[
> +@@ -1140,7 +1140,7 @@
> +                         if self.compiler.find_library_file(lib_dirs,
> +                                                                'gdbm_compat'):
> +                             gdbm_libs.append('gdbm_compat')
> +-                        if find_file("gdbm/ndbm.h", inc_dirs, []) is not None:
> ++                        if find_file("ndbm.h", inc_dirs, []) is not None:
> +                             print "building dbm using gdbm"
> +                             dbmext = Extension(
> +                                 'dbm', ['dbmmodule.c'],

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-16 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-16 15:57 [PATCH 1/3] Python: Update to 2.7.9 Michael Tremer
2015-06-16 15:57 ` [PATCH 2/3] python: Build libffi before python and link against it Michael Tremer
2015-06-16 15:57 ` [PATCH 3/3] python: Update to 2.7.10 Michael Tremer
2015-06-16 16:43 ` [PATCH 1/3] Python: Update to 2.7.9 Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox