pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python27 Changes 2.7.4:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca4944d617c9
branches:  trunk
changeset: 617266:ca4944d617c9
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Apr 12 09:03:41 2013 +0000

description:
Changes 2.7.4:
This is a 2.7 series bugfix release.
It includes hundreds of bugfixes over 2.7.3.

diffstat:

 lang/python27/Makefile                                          |   7 +-
 lang/python27/PLIST.common                                      |  33 +++-
 lang/python27/dist.mk                                           |   6 +-
 lang/python27/distinfo                                          |  27 +-
 lang/python27/patches/patch-Mac_Modules_fm___Fmmodule.c         |  61 ------
 lang/python27/patches/patch-Mac_Modules_qd___Qdmodule.c         |  88 ----------
 lang/python27/patches/patch-Mac_Modules_qdoffs___Qdoffsmodule.c |  75 --------
 lang/python27/patches/patch-ah                                  |  16 +-
 lang/python27/patches/patch-al                                  |  18 +-
 lang/python27/patches/patch-am                                  |  42 ++--
 lang/python27/patches/patch-ao                                  |  12 +-
 lang/python27/patches/patch-au                                  |  12 +-
 lang/python27/patches/patch-ax                                  |  12 +-
 lang/python27/patches/patch-az                                  |   4 +-
 lang/python27/patches/patch-pyconfig.h.in                       |   4 +-
 15 files changed, 109 insertions(+), 308 deletions(-)

diffs (truncated from 829 to 300 lines):

diff -r 901e1a12fcd5 -r ca4944d617c9 lang/python27/Makefile
--- a/lang/python27/Makefile    Fri Apr 12 08:27:15 2013 +0000
+++ b/lang/python27/Makefile    Fri Apr 12 09:03:41 2013 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2013/02/08 12:23:24 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2013/04/12 09:03:41 adam Exp $
 
 .include "dist.mk"
 
 PKGNAME=       python27-${PY_DISTVERSION}
-PKGREVISION=   3
 CATEGORIES=    lang python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -54,9 +53,9 @@
 PLIST_SRC+=    ${.CURDIR}/../../lang/python27/PLIST.common_end
 
 .if ${OPSYS} == "NetBSD"
-.if !defined(USE_DESTDIR) || empty(USE_DESTDIR:M[Yy][Ee][Ss])
+.  if !defined(USE_DESTDIR) || empty(USE_DESTDIR:M[Yy][Ee][Ss])
 PRIVILEGED_STAGES+=    clean
-.endif
+.  endif
 # XXX work around a botched autoconf check which ignores libintl
 CONFIGURE_ENV+=                ac_cv_func_bind_textdomain_codeset=yes
 .endif
diff -r 901e1a12fcd5 -r ca4944d617c9 lang/python27/PLIST.common
--- a/lang/python27/PLIST.common        Fri Apr 12 08:27:15 2013 +0000
+++ b/lang/python27/PLIST.common        Fri Apr 12 09:03:41 2013 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.3 2012/04/13 18:47:27 adam Exp $
+@comment $NetBSD: PLIST.common,v 1.4 2013/04/12 09:03:41 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -163,6 +163,9 @@
 lib/python${PY_VER_SUFFIX}/_abcoll.py
 lib/python${PY_VER_SUFFIX}/_abcoll.pyc
 lib/python${PY_VER_SUFFIX}/_abcoll.pyo
+lib/python${PY_VER_SUFFIX}/_osx_support.py
+lib/python${PY_VER_SUFFIX}/_osx_support.pyc
+lib/python${PY_VER_SUFFIX}/_osx_support.pyo
 lib/python${PY_VER_SUFFIX}/_pyio.py
 lib/python${PY_VER_SUFFIX}/_pyio.pyc
 lib/python${PY_VER_SUFFIX}/_pyio.pyo
@@ -1779,6 +1782,9 @@
 lib/python${PY_VER_SUFFIX}/json/tests/test_speedups.py
 lib/python${PY_VER_SUFFIX}/json/tests/test_speedups.pyc
 lib/python${PY_VER_SUFFIX}/json/tests/test_speedups.pyo
+lib/python${PY_VER_SUFFIX}/json/tests/test_tool.py
+lib/python${PY_VER_SUFFIX}/json/tests/test_tool.pyc
+lib/python${PY_VER_SUFFIX}/json/tests/test_tool.pyo
 lib/python${PY_VER_SUFFIX}/json/tests/test_unicode.py
 lib/python${PY_VER_SUFFIX}/json/tests/test_unicode.pyc
 lib/python${PY_VER_SUFFIX}/json/tests/test_unicode.pyo
@@ -2799,6 +2805,9 @@
 lib/python${PY_VER_SUFFIX}/test/mapping_tests.pyc
 lib/python${PY_VER_SUFFIX}/test/mapping_tests.pyo
 lib/python${PY_VER_SUFFIX}/test/math_testcases.txt
+lib/python${PY_VER_SUFFIX}/test/mp_fork_bomb.py
+lib/python${PY_VER_SUFFIX}/test/mp_fork_bomb.pyc
+lib/python${PY_VER_SUFFIX}/test/mp_fork_bomb.pyo
 lib/python${PY_VER_SUFFIX}/test/nokia.pem
 lib/python${PY_VER_SUFFIX}/test/nullcert.pem
 lib/python${PY_VER_SUFFIX}/test/outstanding_bugs.py
@@ -2840,6 +2849,12 @@
 lib/python${PY_VER_SUFFIX}/test/sample_doctest.py
 lib/python${PY_VER_SUFFIX}/test/sample_doctest.pyc
 lib/python${PY_VER_SUFFIX}/test/sample_doctest.pyo
+lib/python${PY_VER_SUFFIX}/test/sample_doctest_no_docstrings.py
+lib/python${PY_VER_SUFFIX}/test/sample_doctest_no_docstrings.pyc
+lib/python${PY_VER_SUFFIX}/test/sample_doctest_no_docstrings.pyo
+lib/python${PY_VER_SUFFIX}/test/sample_doctest_no_doctests.py
+lib/python${PY_VER_SUFFIX}/test/sample_doctest_no_doctests.pyc
+lib/python${PY_VER_SUFFIX}/test/sample_doctest_no_doctests.pyo
 lib/python${PY_VER_SUFFIX}/test/script_helper.py
 lib/python${PY_VER_SUFFIX}/test/script_helper.pyc
 lib/python${PY_VER_SUFFIX}/test/script_helper.pyo
@@ -2851,14 +2866,15 @@
 lib/python${PY_VER_SUFFIX}/test/sortperf.py
 lib/python${PY_VER_SUFFIX}/test/sortperf.pyc
 lib/python${PY_VER_SUFFIX}/test/sortperf.pyo
-lib/python${PY_VER_SUFFIX}/test/ssl_cert.pem
-lib/python${PY_VER_SUFFIX}/test/ssl_key.pem
 lib/python${PY_VER_SUFFIX}/test/string_tests.py
 lib/python${PY_VER_SUFFIX}/test/string_tests.pyc
 lib/python${PY_VER_SUFFIX}/test/string_tests.pyo
 lib/python${PY_VER_SUFFIX}/test/subprocessdata/sigchild_ignore.py
 lib/python${PY_VER_SUFFIX}/test/subprocessdata/sigchild_ignore.pyc
 lib/python${PY_VER_SUFFIX}/test/subprocessdata/sigchild_ignore.pyo
+lib/python${PY_VER_SUFFIX}/test/symlink_support.py
+lib/python${PY_VER_SUFFIX}/test/symlink_support.pyc
+lib/python${PY_VER_SUFFIX}/test/symlink_support.pyo
 lib/python${PY_VER_SUFFIX}/test/test_MimeWriter.py
 lib/python${PY_VER_SUFFIX}/test/test_MimeWriter.pyc
 lib/python${PY_VER_SUFFIX}/test/test_MimeWriter.pyo
@@ -2877,6 +2893,9 @@
 lib/python${PY_VER_SUFFIX}/test/test__locale.py
 lib/python${PY_VER_SUFFIX}/test/test__locale.pyc
 lib/python${PY_VER_SUFFIX}/test/test__locale.pyo
+lib/python${PY_VER_SUFFIX}/test/test__osx_support.py
+lib/python${PY_VER_SUFFIX}/test/test__osx_support.pyc
+lib/python${PY_VER_SUFFIX}/test/test__osx_support.pyo
 lib/python${PY_VER_SUFFIX}/test/test_abc.py
 lib/python${PY_VER_SUFFIX}/test/test_abc.pyc
 lib/python${PY_VER_SUFFIX}/test/test_abc.pyo
@@ -3239,6 +3258,9 @@
 lib/python${PY_VER_SUFFIX}/test/test_file2k.py
 lib/python${PY_VER_SUFFIX}/test/test_file2k.pyc
 lib/python${PY_VER_SUFFIX}/test/test_file2k.pyo
+lib/python${PY_VER_SUFFIX}/test/test_file_eintr.py
+lib/python${PY_VER_SUFFIX}/test/test_file_eintr.pyc
+lib/python${PY_VER_SUFFIX}/test/test_file_eintr.pyo
 lib/python${PY_VER_SUFFIX}/test/test_filecmp.py
 lib/python${PY_VER_SUFFIX}/test/test_filecmp.pyc
 lib/python${PY_VER_SUFFIX}/test/test_filecmp.pyo
@@ -3884,6 +3906,9 @@
 lib/python${PY_VER_SUFFIX}/test/test_tokenize.py
 lib/python${PY_VER_SUFFIX}/test/test_tokenize.pyc
 lib/python${PY_VER_SUFFIX}/test/test_tokenize.pyo
+lib/python${PY_VER_SUFFIX}/test/test_tools.py
+lib/python${PY_VER_SUFFIX}/test/test_tools.pyc
+lib/python${PY_VER_SUFFIX}/test/test_tools.pyo
 lib/python${PY_VER_SUFFIX}/test/test_trace.py
 lib/python${PY_VER_SUFFIX}/test/test_trace.pyc
 lib/python${PY_VER_SUFFIX}/test/test_trace.pyo
@@ -4043,6 +4068,7 @@
 lib/python${PY_VER_SUFFIX}/test/testall.py
 lib/python${PY_VER_SUFFIX}/test/testall.pyc
 lib/python${PY_VER_SUFFIX}/test/testall.pyo
+lib/python${PY_VER_SUFFIX}/test/testbz2_bigmem.bz2
 lib/python${PY_VER_SUFFIX}/test/testcodec.py
 lib/python${PY_VER_SUFFIX}/test/testcodec.pyc
 lib/python${PY_VER_SUFFIX}/test/testcodec.pyo
@@ -4319,3 +4345,4 @@
 lib/python${PY_VER_SUFFIX}/zipfile.py
 lib/python${PY_VER_SUFFIX}/zipfile.pyc
 lib/python${PY_VER_SUFFIX}/zipfile.pyo
+man/man1/python${PY_VER_SUFFIX}.1
diff -r 901e1a12fcd5 -r ca4944d617c9 lang/python27/dist.mk
--- a/lang/python27/dist.mk     Fri Apr 12 08:27:15 2013 +0000
+++ b/lang/python27/dist.mk     Fri Apr 12 09:03:41 2013 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: dist.mk,v 1.3 2012/04/13 18:47:27 adam Exp $
+# $NetBSD: dist.mk,v 1.4 2013/04/12 09:03:41 adam Exp $
 
-PY_DISTVERSION=        2.7.3
+PY_DISTVERSION=        2.7.4
 DISTNAME=      Python-${PY_DISTVERSION}
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python27/distinfo
 PATCHDIR=      ${.CURDIR}/../../lang/python27/patches
 MASTER_SITES=  http://www.python.org/ftp/python/${PY_DISTVERSION}/
diff -r 901e1a12fcd5 -r ca4944d617c9 lang/python27/distinfo
--- a/lang/python27/distinfo    Fri Apr 12 08:27:15 2013 +0000
+++ b/lang/python27/distinfo    Fri Apr 12 09:03:41 2013 +0000
@@ -1,24 +1,21 @@
-$NetBSD: distinfo,v 1.21 2012/12/21 20:26:42 dholland Exp $
+$NetBSD: distinfo,v 1.22 2013/04/12 09:03:41 adam Exp $
 
-SHA1 (Python-2.7.3.tar.bz2) = 842c4e2aff3f016feea3c6e992c7fa96e49c9aa0
-RMD160 (Python-2.7.3.tar.bz2) = bfc511d54080898d7008d4b84d49f957859d66c3
-Size (Python-2.7.3.tar.bz2) = 11793433 bytes
-SHA1 (patch-Mac_Modules_fm___Fmmodule.c) = b9314bccb51b4fe672b81559068f7a79d2965f94
-SHA1 (patch-Mac_Modules_qd___Qdmodule.c) = 45c748b15b9436d45ba137460389638aa7108c8d
-SHA1 (patch-Mac_Modules_qdoffs___Qdoffsmodule.c) = 9994f0c1a908f18f1f3df3f05b184f082c018365
+SHA1 (Python-2.7.4.tar.xz) = 08e78ebeb6d9c799644f6d787ca424291c0fe03e
+RMD160 (Python-2.7.4.tar.xz) = 9d1a6db9a5373599afd509e1abb675a3dc5bdf58
+Size (Python-2.7.4.tar.xz) = 10250644 bytes
 SHA1 (patch-aa) = 990e4025bb6a37715e1f5df1831499f0ab08acfa
 SHA1 (patch-ab) = 0d0ae9802dfe3b85659adb16793affd8c4ffce43
 SHA1 (patch-ad) = de730b9f5a5efb56afa8bed05824b5f6579242ec
 SHA1 (patch-ae) = ff6d8c6164fe3c6dc4fb33d88eb8a49d5c5442f6
-SHA1 (patch-ah) = 8e9ee44c7a054f1387b6d8ef8dbe9c1b8dc8d891
-SHA1 (patch-al) = e28c7b31560523528a824241e6782b7561223aa7
-SHA1 (patch-am) = f56a53eb9f4694913d317c09e162bdd413f8f38f
+SHA1 (patch-ah) = ae3ce0656d890ca34292920bf0185f94ba847139
+SHA1 (patch-al) = bb492863afae88d1627b3caba13b73759adb2d15
+SHA1 (patch-am) = d1950d0b85e16d60b6a60e823884427e6e8d0984
 SHA1 (patch-an) = 6098fbf0fc31422196cc40d3a227934523db11ca
-SHA1 (patch-ao) = e14c3ddb136611835905fbe13c0b7ea2df8b6709
-SHA1 (patch-au) = 51b263d908db13c639fb275a5e58abe83f4d7324
+SHA1 (patch-ao) = 3a1cd2b255340fd23fc1fce8680e692581ffcec1
+SHA1 (patch-au) = 2a2a988ac92553d17eb898870d1adb3c30a59b66
 SHA1 (patch-av) = a14eaf4d5db6fc3b79ed896fbfcc34ca98051af2
 SHA1 (patch-aw) = 15652e241f371a22c7300f46771825ea74514fa0
-SHA1 (patch-ax) = 962fc8059867f55aaba2d32a53f25f4007658e0d
-SHA1 (patch-az) = 303f7b95494780b8fa54192663f0a192e3d46b59
-SHA1 (patch-pyconfig.h.in) = 7ebc0ed9ca9a37c5a6c8e04cc3f7fca4a5c90e8c
+SHA1 (patch-ax) = be7498a37a89c86d278d07c38666237215308498
+SHA1 (patch-az) = 56a3adedfc87cbbb0307ccb4b452665f79bde582
+SHA1 (patch-pyconfig.h.in) = c4544178ecceffb6ed911df39d3a64bff665cb34
 SHA1 (patch-xa) = 25f02b03f1c5534e1d839a5489d5a046071f32c0
diff -r 901e1a12fcd5 -r ca4944d617c9 lang/python27/patches/patch-Mac_Modules_fm___Fmmodule.c
--- a/lang/python27/patches/patch-Mac_Modules_fm___Fmmodule.c   Fri Apr 12 08:27:15 2013 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-$NetBSD: patch-Mac_Modules_fm___Fmmodule.c,v 1.1 2011/09/30 08:37:24 yyamano Exp $
-
-Fix build errors on Mac OS XLion.
-
---- Mac/Modules/fm/_Fmmodule.c.orig    2010-05-09 15:15:40.000000000 +0000
-+++ Mac/Modules/fm/_Fmmodule.c
-@@ -3,8 +3,14 @@
- 
- #include "Python.h"
- 
--#ifndef __LP64__
-+#include <AvailabilityMacros.h>
-+#if (__MAC_OS_X_VERSION_MAX_ALLOWED >= 1070) || defined(__LP64__)
-+#undef HAVE_CARBON
-+#else
-+#define HAVE_CARBON
-+#endif
- 
-+#ifdef HAVE_CARBON
- 
- #include "pymactoolbox.h"
- 
-@@ -336,32 +342,32 @@ static PyMethodDef Fm_methods[] = {
-     {NULL, NULL, 0}
- };
- 
--#else  /* __LP64__ */
-+#else  /* HAVE_CARBON */
- 
- static PyMethodDef Fm_methods[] = {
-     {NULL, NULL, 0}
- };
- 
--#endif  /* __LP64__ */
-+#endif  /* HAVE_CARBON */
- 
- void init_Fm(void)
- {
-     PyObject *m;
--#ifndef __LP64__
-+#ifdef HAVE_CARBON
-     PyObject *d;
--#endif  /* __LP64__ */
-+#endif  /* HAVE_CARBON */
- 
- 
- 
- 
-     m = Py_InitModule("_Fm", Fm_methods);
--#ifndef __LP64__
-+#ifdef HAVE_CARBON
-     d = PyModule_GetDict(m);
-     Fm_Error = PyMac_GetOSErrException();
-     if (Fm_Error == NULL ||
-         PyDict_SetItemString(d, "Error", Fm_Error) != 0)
-         return;
--#endif  /* __LP64__ */
-+#endif  /* HAVE_CARBON */
- }
- 
- /* ========================= End module _Fm ========================= */
diff -r 901e1a12fcd5 -r ca4944d617c9 lang/python27/patches/patch-Mac_Modules_qd___Qdmodule.c
--- a/lang/python27/patches/patch-Mac_Modules_qd___Qdmodule.c   Fri Apr 12 08:27:15 2013 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,88 +0,0 @@
-$NetBSD: patch-Mac_Modules_qd___Qdmodule.c,v 1.1 2011/09/30 08:37:24 yyamano Exp $
-
-Fix build errors on Mac OS XLion.
-
---- Mac/Modules/qd/_Qdmodule.c.orig    2010-05-09 15:15:40.000000000 +0000
-+++ Mac/Modules/qd/_Qdmodule.c
-@@ -3,8 +3,14 @@
- 
- #include "Python.h"
- 
-+#include <AvailabilityMacros.h>
-+#if (__MAC_OS_X_VERSION_MAX_ALLOWED >= 1070) || defined(__LP64__)
-+#undef HAVE_CARBON
-+#else
-+#define HAVE_CARBON
-+#endif
- 
--#ifndef __LP64__
-+#ifdef HAVE_CARBON
- 
- #include "pymactoolbox.h"
- 
-@@ -6545,10 +6551,10 @@ static PyObject *Qd_RawBitMap(PyObject *
-     return _res;
- 
- }
--#endif /* __LP64__ */
-+#endif /* HAVE_CARBON */
- 
- static PyMethodDef Qd_methods[] = {
--#ifndef __LP64__
-+#ifdef HAVE_CARBON
-     {"GetPort", (PyCFunction)Qd_GetPort, 1,
-      PyDoc_STR("() -> (GrafPtr port)")},
-     {"GrafDevice", (PyCFunction)Qd_GrafDevice, 1,
-@@ -7083,12 +7089,12 @@ static PyMethodDef Qd_methods[] = {
-      PyDoc_STR("Take (string, int, Rect) argument and create BitMap")},



Home | Main Index | Thread Index | Old Index