pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python27 lang/python27: update to 2.7.14
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e2b03827da6
branches: trunk
changeset: 368497:7e2b03827da6
user: adam <adam%pkgsrc.org@localhost>
date: Sun Sep 17 09:54:52 2017 +0000
description:
lang/python27: update to 2.7.14
Python 2.7.14:
Core and Builtins
- bpo-30657: Fixed possible integer overflow in PyString_DecodeEscape.
- bpo-27945: Fixed various segfaults with dict when input collections are
mutated during searching, inserting or comparing. Based on patches by
Duane Griffin and Tim Mitchell.
- bpo-25794: Fixed type.__setattr__() and type.__delattr__() for
non-interned or unicode attribute names. Based on patch by Eryk Sun.
- bpo-29935: Fixed error messages in the index() method of tuple and list
when pass indices of wrong type.
- bpo-28598: Support __rmod__ for subclasses of str being called before
str.__mod__. Patch by Martijn Pieters.
- bpo-29602: Fix incorrect handling of signed zeros in complex constructor for
complex subclasses and for inputs having a __complex__ method. Patch
by Serhiy Storchaka.
- bpo-29347: Fixed possibly dereferencing undefined pointers
when creating weakref objects.
- Issue 14376: Allow sys.exit to accept longs as well as ints. Patch
by Gareth Rees.
- Issue 29028: Fixed possible use-after-free bugs in the subscription of the
buffer object with custom index object.
- Issue 29145: Fix overflow checks in string, bytearray and unicode.
Patch by jan matejek and Xiang Zhang.
- Issue 28932: Do not include <sys/random.h> if it does not exist.
Extension Modules
- bpo-31170: Update vendorized expat to 2.2.4.
- Issue 29169: Update zlib to 1.2.11.
diffstat:
lang/python27/Makefile | 3 +-
lang/python27/PLIST.common | 32 ++++++++++++++++++++++---
lang/python27/dist.mk | 4 +-
lang/python27/distinfo | 12 ++++----
lang/python27/patches/patch-Makefile.pre.in | 25 ++++++++++++++++++++
lang/python27/patches/patch-au | 36 -----------------------------
6 files changed, 62 insertions(+), 50 deletions(-)
diffs (228 lines):
diff -r 22082ebe4b0e -r 7e2b03827da6 lang/python27/Makefile
--- a/lang/python27/Makefile Sun Sep 17 09:50:33 2017 +0000
+++ b/lang/python27/Makefile Sun Sep 17 09:54:52 2017 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.71 2017/09/03 08:53:10 wiz Exp $
+# $NetBSD: Makefile,v 1.72 2017/09/17 09:54:52 adam Exp $
.include "dist.mk"
PKGNAME= python27-${PY_DISTVERSION}
-PKGREVISION= 1
CATEGORIES= lang python
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
diff -r 22082ebe4b0e -r 7e2b03827da6 lang/python27/PLIST.common
--- a/lang/python27/PLIST.common Sun Sep 17 09:50:33 2017 +0000
+++ b/lang/python27/PLIST.common Sun Sep 17 09:54:52 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.17 2017/01/26 23:10:35 wiz Exp $
+@comment $NetBSD: PLIST.common,v 1.18 2017/09/17 09:54:52 adam Exp $
bin/2to3-${PY_VER_SUFFIX}
bin/pydoc${PY_VER_SUFFIX}
bin/python${PY_VER_SUFFIX}
@@ -2681,6 +2681,9 @@
lib/python${PY_VER_SUFFIX}/test/__init__.py
lib/python${PY_VER_SUFFIX}/test/__init__.pyc
lib/python${PY_VER_SUFFIX}/test/__init__.pyo
+lib/python${PY_VER_SUFFIX}/test/__main__.py
+lib/python${PY_VER_SUFFIX}/test/__main__.pyc
+lib/python${PY_VER_SUFFIX}/test/__main__.pyo
lib/python${PY_VER_SUFFIX}/test/_mock_backport.py
lib/python${PY_VER_SUFFIX}/test/_mock_backport.pyc
lib/python${PY_VER_SUFFIX}/test/_mock_backport.pyo
@@ -2718,6 +2721,9 @@
lib/python${PY_VER_SUFFIX}/test/badsyntax_future8.py
lib/python${PY_VER_SUFFIX}/test/badsyntax_future9.py
lib/python${PY_VER_SUFFIX}/test/badsyntax_nocaret.py
+lib/python${PY_VER_SUFFIX}/test/bisect.py
+lib/python${PY_VER_SUFFIX}/test/bisect.pyc
+lib/python${PY_VER_SUFFIX}/test/bisect.pyo
lib/python${PY_VER_SUFFIX}/test/capath/0e4015b9.0
lib/python${PY_VER_SUFFIX}/test/capath/4e1295a3.0
lib/python${PY_VER_SUFFIX}/test/capath/5ed36f99.0
@@ -2963,6 +2969,9 @@
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/multibytecodec_support.py
+lib/python${PY_VER_SUFFIX}/test/multibytecodec_support.pyc
+lib/python${PY_VER_SUFFIX}/test/multibytecodec_support.pyo
lib/python${PY_VER_SUFFIX}/test/nokia.pem
lib/python${PY_VER_SUFFIX}/test/nullbytecert.pem
lib/python${PY_VER_SUFFIX}/test/nullcert.pem
@@ -2988,6 +2997,9 @@
lib/python${PY_VER_SUFFIX}/test/pystone.py
lib/python${PY_VER_SUFFIX}/test/pystone.pyc
lib/python${PY_VER_SUFFIX}/test/pystone.pyo
+lib/python${PY_VER_SUFFIX}/test/pythoninfo.py
+lib/python${PY_VER_SUFFIX}/test/pythoninfo.pyc
+lib/python${PY_VER_SUFFIX}/test/pythoninfo.pyo
lib/python${PY_VER_SUFFIX}/test/randv2_32.pck
lib/python${PY_VER_SUFFIX}/test/randv2_64.pck
lib/python${PY_VER_SUFFIX}/test/randv3.pck
@@ -3040,6 +3052,12 @@
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/support/__init__.py
+lib/python${PY_VER_SUFFIX}/test/support/__init__.pyc
+lib/python${PY_VER_SUFFIX}/test/support/__init__.pyo
+lib/python${PY_VER_SUFFIX}/test/support/script_helper.py
+lib/python${PY_VER_SUFFIX}/test/support/script_helper.pyc
+lib/python${PY_VER_SUFFIX}/test/support/script_helper.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
@@ -3585,6 +3603,9 @@
lib/python${PY_VER_SUFFIX}/test/test_import.py
lib/python${PY_VER_SUFFIX}/test/test_import.pyc
lib/python${PY_VER_SUFFIX}/test/test_import.pyo
+lib/python${PY_VER_SUFFIX}/test/test_import_magic.py
+lib/python${PY_VER_SUFFIX}/test/test_import_magic.pyc
+lib/python${PY_VER_SUFFIX}/test/test_import_magic.pyo
lib/python${PY_VER_SUFFIX}/test/test_importhooks.py
lib/python${PY_VER_SUFFIX}/test/test_importhooks.pyc
lib/python${PY_VER_SUFFIX}/test/test_importhooks.pyo
@@ -3714,9 +3735,6 @@
lib/python${PY_VER_SUFFIX}/test/test_multibytecodec.py
lib/python${PY_VER_SUFFIX}/test/test_multibytecodec.pyc
lib/python${PY_VER_SUFFIX}/test/test_multibytecodec.pyo
-lib/python${PY_VER_SUFFIX}/test/test_multibytecodec_support.py
-lib/python${PY_VER_SUFFIX}/test/test_multibytecodec_support.pyc
-lib/python${PY_VER_SUFFIX}/test/test_multibytecodec_support.pyo
lib/python${PY_VER_SUFFIX}/test/test_multifile.py
lib/python${PY_VER_SUFFIX}/test/test_multifile.pyc
lib/python${PY_VER_SUFFIX}/test/test_multifile.pyo
@@ -3885,6 +3903,9 @@
lib/python${PY_VER_SUFFIX}/test/test_readline.py
lib/python${PY_VER_SUFFIX}/test/test_readline.pyc
lib/python${PY_VER_SUFFIX}/test/test_readline.pyo
+lib/python${PY_VER_SUFFIX}/test/test_regrtest.py
+lib/python${PY_VER_SUFFIX}/test/test_regrtest.pyc
+lib/python${PY_VER_SUFFIX}/test/test_regrtest.pyo
lib/python${PY_VER_SUFFIX}/test/test_repr.py
lib/python${PY_VER_SUFFIX}/test/test_repr.pyc
lib/python${PY_VER_SUFFIX}/test/test_repr.pyo
@@ -4062,6 +4083,9 @@
lib/python${PY_VER_SUFFIX}/test/test_tempfile.py
lib/python${PY_VER_SUFFIX}/test/test_tempfile.pyc
lib/python${PY_VER_SUFFIX}/test/test_tempfile.pyo
+lib/python${PY_VER_SUFFIX}/test/test_test_support.py
+lib/python${PY_VER_SUFFIX}/test/test_test_support.pyc
+lib/python${PY_VER_SUFFIX}/test/test_test_support.pyo
lib/python${PY_VER_SUFFIX}/test/test_textwrap.py
lib/python${PY_VER_SUFFIX}/test/test_textwrap.pyc
lib/python${PY_VER_SUFFIX}/test/test_textwrap.pyo
diff -r 22082ebe4b0e -r 7e2b03827da6 lang/python27/dist.mk
--- a/lang/python27/dist.mk Sun Sep 17 09:50:33 2017 +0000
+++ b/lang/python27/dist.mk Sun Sep 17 09:54:52 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.13 2016/12/30 10:53:21 adam Exp $
+# $NetBSD: dist.mk,v 1.14 2017/09/17 09:54:52 adam Exp $
-PY_DISTVERSION= 2.7.13
+PY_DISTVERSION= 2.7.14
DISTNAME= Python-${PY_DISTVERSION}
EXTRACT_SUFX= .tar.xz
DISTINFO_FILE= ${.CURDIR}/../../lang/python27/distinfo
diff -r 22082ebe4b0e -r 7e2b03827da6 lang/python27/distinfo
--- a/lang/python27/distinfo Sun Sep 17 09:50:33 2017 +0000
+++ b/lang/python27/distinfo Sun Sep 17 09:54:52 2017 +0000
@@ -1,13 +1,14 @@
-$NetBSD: distinfo,v 1.65 2017/05/22 16:45:19 jperkin Exp $
+$NetBSD: distinfo,v 1.66 2017/09/17 09:54:52 adam Exp $
-SHA1 (Python-2.7.13.tar.xz) = 18a8f30a0356c751b8d0ea6f76e764cab13ee046
-RMD160 (Python-2.7.13.tar.xz) = be09518cdc335314de1c5ebe181690082ce780d7
-SHA512 (Python-2.7.13.tar.xz) = f37c9a28ce129d01e63c84d7db627a06402854578f62d17927334ea21ede318e04bbf66e890e3f47c85333e6b19f6e5581fb3f3e27efd24be27017d1b6529c4b
-Size (Python-2.7.13.tar.xz) = 12495628 bytes
+SHA1 (Python-2.7.14.tar.xz) = cf146474fc988b4b6b53fdd81b71c2815873b469
+RMD160 (Python-2.7.14.tar.xz) = 816553f988c661cfe31b6e89a513fdfbf87963d5
+SHA512 (Python-2.7.14.tar.xz) = 78310b0be6388ffa15f29a80afb9ab3c03a572cb094e9da00cfe391afadb51696e41f592eb658d6a31a2f422fdac8a55214a382cbb8cfb43d4a127d5b35ea7f9
+Size (Python-2.7.14.tar.xz) = 12576112 bytes
SHA1 (patch-Include_pyerrors.h) = 0d2cd52d18cc719b895fa32ed7e11c6cb15bae54
SHA1 (patch-Include_pyport.h) = f3e4ddbc954425a65301465410911222ca471320
SHA1 (patch-Lib_distutils_unixccompiler.py) = db16c9aca2f29730945f28247b88b18828739bbb
SHA1 (patch-Lib_multiprocessing_process.py) = 15699bd8ec822bf54a0631102e00e0a34f882803
+SHA1 (patch-Makefile.pre.in) = ceaf34237588b527478ce1f9163c9168382fa201
SHA1 (patch-Modules___multiprocessing_multiprocessing.h) = 7ca8fe22ba4bdcde6d39dd50fe2e86c25994c146
SHA1 (patch-Modules___multiprocessing_semaphore.c) = 03b9c33ef38da383d5f7c2c84c17fe38cdd2911e
SHA1 (patch-Modules__ssl.c) = 6e68f88ad205106691900f091a897ffe0a4c363c
@@ -24,7 +25,6 @@
SHA1 (patch-am) = 25c29f3799cb02db962d5c42d71ec59b4748466f
SHA1 (patch-an) = 9aad78714c4fe1a21cf66a6627d97d164ecea196
SHA1 (patch-ao) = 5bcfad96f8e490351160f1a7c1f4ece7706a33fa
-SHA1 (patch-au) = 0ecdb937cbd58e3dbfa6fb94d1af5838619c77fd
SHA1 (patch-av) = e6aef090b444b455fe351308d251e670329b7dc3
SHA1 (patch-aw) = d07129531ec1427669092c504c12247206408c2d
SHA1 (patch-ax) = 8a7a0e5cbfec279a05945dffafea1b1131a76f0e
diff -r 22082ebe4b0e -r 7e2b03827da6 lang/python27/patches/patch-Makefile.pre.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python27/patches/patch-Makefile.pre.in Sun Sep 17 09:54:52 2017 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-Makefile.pre.in,v 1.1 2017/09/17 09:54:53 adam Exp $
+
+Fix for unpriviliged build.
+
+--- Makefile.pre.in.orig 2017-09-16 17:38:35.000000000 +0000
++++ Makefile.pre.in
+@@ -554,7 +554,7 @@ gdbhooks: $(BUILDPYTHON)-gdb.py
+
+ SRC_GDB_HOOKS=$(srcdir)/Tools/gdb/libpython.py
+ $(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS)
+- $(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
++ cp $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
+
+ # This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
+ # minimal framework (not including the Lib directory and such) in the current
+@@ -993,7 +993,8 @@ altbininstall: $(BUILDPYTHON)
+ (cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) $(LDLIBRARY)) \
+ fi \
+ fi; \
+- else true; \
++ elif test -f $(INSTSONAME); then \
++ $(INSTALL_SHARED) $(INSTSONAME) $(DESTDIR)$(LIBDIR); \
+ fi
+
+ # Install the versioned manual page
diff -r 22082ebe4b0e -r 7e2b03827da6 lang/python27/patches/patch-au
--- a/lang/python27/patches/patch-au Sun Sep 17 09:50:33 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-$NetBSD: patch-au,v 1.9 2015/12/06 18:22:35 adam Exp $
-
-Fix for unpriviliged build.
-Avoid opcode generator; it requires Python binary, and the file is already generated.
-http://hg.python.org/cpython/rev/a0f43f4481e0
-
---- Makefile.pre.in.orig 2015-12-05 19:47:10.000000000 +0000
-+++ Makefile.pre.in
-@@ -537,7 +537,7 @@ gdbhooks: $(BUILDPYTHON)-gdb.py
-
- SRC_GDB_HOOKS=$(srcdir)/Tools/gdb/libpython.py
- $(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS)
-- $(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
-+ cp $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
-
- # This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
- # minimal framework (not including the Lib directory and such) in the current
-@@ -696,8 +696,6 @@ Objects/bytearrayobject.o: $(srcdir)/Obj
- Objects/stringobject.o: $(srcdir)/Objects/stringobject.c \
- $(STRINGLIB_HEADERS)
-
--$(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES)
-- $(OPCODETARGETGEN) $(OPCODETARGETS_H)
-
- Python/ceval.o: $(OPCODETARGETS_H)
-
-@@ -952,7 +950,8 @@ altbininstall: $(BUILDPYTHON)
- (cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) $(LDLIBRARY)) \
- fi \
- fi; \
-- else true; \
-+ elif test -f $(INSTSONAME); then \
-+ $(INSTALL_SHARED) $(INSTSONAME) $(DESTDIR)$(LIBDIR); \
- fi
-
- # Install the versioned manual page
Home |
Main Index |
Thread Index |
Old Index