Skip to content

Commit f8509b6

Browse files
author
Dan McDonald
committed
Update Python 2.7 to 2.7.13
1 parent d1feaea commit f8509b6

File tree

5 files changed

+13
-129
lines changed

5 files changed

+13
-129
lines changed

build/python27/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CC=gcc
3131
CXX=g++
3232

3333
PROG=Python
34-
VER=2.7.12
34+
VER=2.7.13
3535
PKG=runtime/python-27
3636
SUMMARY="$PROG"
3737
DESC="$SUMMARY"

build/python27/patches/14-py_db.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
This patch adds Python debugger support. It may be contributed upstream at
22
some point, but the suitability (or lack thereof) has not yet been determined.
33

4-
--- Python-2.7.9/Makefile.pre.in.~3~ 2014-12-11 09:28:46.856724815 -0800
5-
+++ Python-2.7.9/Makefile.pre.in 2014-12-11 09:30:15.502371832 -0800
6-
@@ -410,7 +410,7 @@
4+
--- Python-2.7.13/Makefile.pre.in.~2~ 2016-12-19 19:45:55.359307641 +0300
5+
+++ Python-2.7.13/Makefile.pre.in 2016-12-19 19:46:55.550550819 +0300
6+
@@ -431,7 +431,7 @@
77

88
# Default target
9-
all: build_all
9+
all: @DEF_MAKE_ALL_RULE@
1010
-build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks
1111
+build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks build-py_db
1212

13-
# Compile a binary with gcc profile guided optimization.
13+
# Compile a binary with profile guided optimization.
1414
profile-opt:
15-
@@ -791,6 +791,15 @@
15+
@@ -856,6 +856,15 @@
1616

1717
$(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS)
1818

@@ -28,7 +28,7 @@ some point, but the suitability (or lack thereof) has not yet been determined.
2828

2929
######################################################################
3030

31-
@@ -855,7 +864,7 @@
31+
@@ -920,7 +929,7 @@
3232
$(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS)
3333

3434
# Install everything

build/python27/patches/20-bsddb-harmful.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ Starting with 2.7.4, the behavior is different, and it causes tests to
33
dump core. So skip it. The module is removed in Python 3, so this patch
44
is not being submitted upstream.
55

6-
--- Python-2.7.6/Makefile.pre.in.~4~ 2014-05-14 16:20:56.889089787 -0700
7-
+++ Python-2.7.6/Makefile.pre.in 2014-05-14 16:21:12.651500578 -0700
8-
@@ -972,7 +972,7 @@
9-
email email/mime email/test email/test/data \
6+
--- Python-2.7.13/Makefile.pre.in.~3~ 2016-12-19 19:49:29.882892296 +0300
7+
+++ Python-2.7.13/Makefile.pre.in 2016-12-19 19:49:29.987869375 +0300
8+
@@ -1073,7 +1073,7 @@
9+
ensurepip ensurepip/_bundled \
1010
json json/tests \
1111
sqlite3 sqlite3/test \
1212
- logging bsddb bsddb/test csv importlib wsgiref \
1313
+ logging csv importlib wsgiref \
1414
lib2to3 lib2to3/fixes lib2to3/pgen2 lib2to3/tests \
1515
lib2to3/tests/data lib2to3/tests/data/fixers lib2to3/tests/data/fixers/myfixes \
16-
ctypes ctypes/test ctypes/macholib idlelib idlelib/Icons \
16+
ctypes ctypes/test ctypes/macholib \
1717
--- Python-2.7.6/setup.py.~6~ 2014-05-14 17:15:45.315760008 -0700
1818
+++ Python-2.7.6/setup.py 2014-05-14 17:16:27.440642039 -0700
1919
@@ -1065,7 +1065,8 @@

build/python27/patches/21-CVE-2016-1000110.patch

Lines changed: 0 additions & 115 deletions
This file was deleted.

build/python27/patches/series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@
1818
18-osconf-long.patch
1919
19-recvfrom_into.patch
2020
20-bsddb-harmful.patch
21-
21-CVE-2016-1000110.patch
2221
ncurses-setup.patch

0 commit comments

Comments
 (0)