python: update to 2.7.3
This commit is contained in:
parent
48c8301013
commit
fcfbf1307d
@ -4,7 +4,9 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/idle
|
||||
-rwxr-xr-x root/root usr/bin/pydoc
|
||||
lrwxrwxrwx root/root usr/bin/python -> python2.7
|
||||
lrwxrwxrwx root/root usr/bin/python-config -> python2.7-config
|
||||
lrwxrwxrwx root/root usr/bin/python-config -> python2-config
|
||||
lrwxrwxrwx root/root usr/bin/python2 -> python2.7
|
||||
lrwxrwxrwx root/root usr/bin/python2-config -> python2.7-config
|
||||
-rwxr-xr-x root/root usr/bin/python2.7
|
||||
-rwxr-xr-x root/root usr/bin/python2.7-config
|
||||
-rwxr-xr-x root/root usr/bin/smtpd.py
|
||||
@ -108,7 +110,8 @@ lrwxrwxrwx root/root usr/lib/libpython2.7.so -> libpython2.7.so.1.0
|
||||
-r-xr-xr-x root/root usr/lib/libpython2.7.so.1.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/python-2.7.pc
|
||||
lrwxrwxrwx root/root usr/lib/pkgconfig/python.pc -> python-2.7.pc
|
||||
lrwxrwxrwx root/root usr/lib/pkgconfig/python.pc -> python2.pc
|
||||
lrwxrwxrwx root/root usr/lib/pkgconfig/python2.pc -> python-2.7.pc
|
||||
lrwxrwxrwx root/root usr/lib/python -> python2.7
|
||||
drwxr-xr-x root/root usr/lib/python2.7/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/BaseHTTPServer.py
|
||||
@ -1329,7 +1332,7 @@ drwxr-xr-x root/root usr/lib/python2.7/json/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/keyword.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/keyword.pyo
|
||||
drwxr-xr-x root/root usr/lib/python2.7/lib-dynload/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib-dynload/Python-2.7.2-py2.7.egg-info
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib-dynload/Python-2.7.3-py2.7.egg-info
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/_bisect.so
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/_bsddb.so
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/_codecs_cn.so
|
||||
@ -1361,6 +1364,7 @@ drwxr-xr-x root/root usr/lib/python2.7/lib-dynload/
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/_ssl.so
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/_struct.so
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/_testcapi.so
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/_tkinter.so
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/array.so
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/audioop.so
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/binascii.so
|
||||
@ -1487,9 +1491,9 @@ drwxr-xr-x root/root usr/lib/python2.7/lib-tk/test/test_ttk/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib-tk/turtle.pyo
|
||||
drwxr-xr-x root/root usr/lib/python2.7/lib2to3/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib2to3/Grammar.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib2to3/Grammar2.7.2.final.0.pickle
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib2to3/Grammar2.7.3.final.0.pickle
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib2to3/PatternGrammar.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib2to3/PatternGrammar2.7.2.final.0.pickle
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib2to3/PatternGrammar2.7.3.final.0.pickle
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib2to3/__init__.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib2to3/__init__.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/lib2to3/__init__.pyo
|
||||
@ -2098,6 +2102,10 @@ drwxr-xr-x root/root usr/lib/python2.7/test/cjkencodings/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/gbk.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/hz-utf8.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/hz.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/iso2022_jp-utf8.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/iso2022_jp.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/iso2022_kr-utf8.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/iso2022_kr.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/johab-utf8.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/johab.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/cjkencodings/shift_jis-utf8.txt
|
||||
@ -2292,6 +2300,7 @@ drwxr-xr-x root/root usr/lib/python2.7/test/decimaltestdata/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/mapping_tests.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/mapping_tests.pyo
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/math_testcases.txt
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/nokia.pem
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/nullcert.pem (EMPTY)
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/outstanding_bugs.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/outstanding_bugs.pyc
|
||||
@ -2320,9 +2329,6 @@ drwxr-xr-x root/root usr/lib/python2.7/test/decimaltestdata/
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/test/re_tests.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/re_tests.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/re_tests.pyo
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/regex_tests.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/regex_tests.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/regex_tests.pyo
|
||||
-rwxr-xr-x root/root usr/lib/python2.7/test/regrtest.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/regrtest.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/regrtest.pyo
|
||||
@ -2355,7 +2361,6 @@ drwxr-xr-x root/root usr/lib/python2.7/test/subprocessdata/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/subprocessdata/sigchild_ignore.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/subprocessdata/sigchild_ignore.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/subprocessdata/sigchild_ignore.pyo
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/svn_python_org_https_cert.pem
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_MimeWriter.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_MimeWriter.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_MimeWriter.pyo
|
||||
@ -2524,6 +2529,9 @@ drwxr-xr-x root/root usr/lib/python2.7/test/subprocessdata/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_codecencodings_hk.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_codecencodings_hk.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_codecencodings_hk.pyo
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_codecencodings_iso2022.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_codecencodings_iso2022.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_codecencodings_iso2022.pyo
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_codecencodings_jp.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_codecencodings_jp.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_codecencodings_jp.pyo
|
||||
@ -3153,6 +3161,9 @@ drwxr-xr-x root/root usr/lib/python2.7/test/subprocessdata/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_py3kwarn.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_py3kwarn.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_py3kwarn.pyo
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_py_compile.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_py_compile.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_py_compile.pyo
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_pyclbr.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_pyclbr.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.7/test/test_pyclbr.pyo
|
||||
|
@ -1,2 +1 @@
|
||||
75c87a80c6ddb0b785a57ea3583e04fa Python-2.7.2.tar.xz
|
||||
8d95238b06f04e52b9d97d1b643aa937 configure_linux2.patch
|
||||
62c4c1699170078c469f79ddfed21bc0 Python-2.7.3.tar.xz
|
||||
|
@ -4,16 +4,12 @@
|
||||
# Depends on: db gdbm openssl bzip2 zlib sqlite3
|
||||
|
||||
name=python
|
||||
version=2.7.2
|
||||
release=2
|
||||
source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.xz
|
||||
configure_linux2.patch)
|
||||
version=2.7.3
|
||||
release=1
|
||||
source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.xz)
|
||||
|
||||
build () {
|
||||
cd Python-$version
|
||||
|
||||
# http://bugs.python.org/issue12326
|
||||
patch -p1 -i $SRC/configure_linux2.patch
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
|
@ -1,47 +0,0 @@
|
||||
|
||||
# HG changeset patch
|
||||
# User Victor Stinner <victor.stinner@haypocalc.com>
|
||||
# Date 1313841665 -7200
|
||||
# Node ID 265da863d0179d092850685250750512820bb592
|
||||
# Parent 6d3e82c3dc6e6d1bc62dd911584bdeb10dfb5772
|
||||
Issue #12326: sys.platform is now always 'linux2' on Linux
|
||||
|
||||
Even if Python is compiled on Linux 3.
|
||||
|
||||
diff --git a/Misc/NEWS b/Misc/NEWS
|
||||
--- a/Misc/NEWS
|
||||
+++ b/Misc/NEWS
|
||||
@@ -10,6 +10,10 @@ What's New in Python 3.2.2?
|
||||
Core and Builtins
|
||||
-----------------
|
||||
|
||||
+- Issue #12326: sys.platform is now always 'linux2' on Linux, even if Python
|
||||
+ is compiled on Linux 3.
|
||||
+
|
||||
+
|
||||
Library
|
||||
-------
|
||||
|
||||
diff --git a/configure b/configure
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -2997,6 +2997,7 @@ then
|
||||
MACHDEP="$ac_md_system$ac_md_release"
|
||||
|
||||
case $MACHDEP in
|
||||
+ linux*) MACHDEP="linux2";;
|
||||
cygwin*) MACHDEP="cygwin";;
|
||||
darwin*) MACHDEP="darwin";;
|
||||
irix646) MACHDEP="irix6";;
|
||||
diff --git a/configure.in b/configure.in
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -290,6 +290,7 @@ then
|
||||
MACHDEP="$ac_md_system$ac_md_release"
|
||||
|
||||
case $MACHDEP in
|
||||
+ linux*) MACHDEP="linux2";;
|
||||
cygwin*) MACHDEP="cygwin";;
|
||||
darwin*) MACHDEP="darwin";;
|
||||
irix646) MACHDEP="irix6";;
|
||||
|
Loading…
x
Reference in New Issue
Block a user