pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/python27



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Sep 17 09:54:53 UTC 2017

Modified Files:
        pkgsrc/lang/python27: Makefile PLIST.common dist.mk distinfo
Added Files:
        pkgsrc/lang/python27/patches: patch-Makefile.pre.in
Removed Files:
        pkgsrc/lang/python27/patches: patch-au

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/lang/python27/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/python27/PLIST.common
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/python27/dist.mk
cvs rdiff -u -r1.65 -r1.66 pkgsrc/lang/python27/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/python27/patches/patch-Makefile.pre.in
cvs rdiff -u -r1.9 -r0 pkgsrc/lang/python27/patches/patch-au

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python27/Makefile
diff -u pkgsrc/lang/python27/Makefile:1.71 pkgsrc/lang/python27/Makefile:1.72
--- pkgsrc/lang/python27/Makefile:1.71  Sun Sep  3 08:53:10 2017
+++ pkgsrc/lang/python27/Makefile       Sun Sep 17 09:54:52 2017
@@ -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

Index: pkgsrc/lang/python27/PLIST.common
diff -u pkgsrc/lang/python27/PLIST.common:1.17 pkgsrc/lang/python27/PLIST.common:1.18
--- pkgsrc/lang/python27/PLIST.common:1.17      Thu Jan 26 23:10:35 2017
+++ pkgsrc/lang/python27/PLIST.common   Sun Sep 17 09:54:52 2017
@@ -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/Sine-100
 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/badsynta
 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/math_tes
 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/pydocfod
 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/string_t
 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_imp
 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_msi
 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_re.
 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_tel
 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

Index: pkgsrc/lang/python27/dist.mk
diff -u pkgsrc/lang/python27/dist.mk:1.13 pkgsrc/lang/python27/dist.mk:1.14
--- pkgsrc/lang/python27/dist.mk:1.13   Fri Dec 30 10:53:21 2016
+++ pkgsrc/lang/python27/dist.mk        Sun Sep 17 09:54:52 2017
@@ -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

Index: pkgsrc/lang/python27/distinfo
diff -u pkgsrc/lang/python27/distinfo:1.65 pkgsrc/lang/python27/distinfo:1.66
--- pkgsrc/lang/python27/distinfo:1.65  Mon May 22 16:45:19 2017
+++ pkgsrc/lang/python27/distinfo       Sun Sep 17 09:54:52 2017
@@ -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-al) = 541936b79f281db06761f4
 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

Added files:

Index: pkgsrc/lang/python27/patches/patch-Makefile.pre.in
diff -u /dev/null pkgsrc/lang/python27/patches/patch-Makefile.pre.in:1.1
--- /dev/null   Sun Sep 17 09:54:53 2017
+++ pkgsrc/lang/python27/patches/patch-Makefile.pre.in  Sun Sep 17 09:54:53 2017
@@ -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



Home | Main Index | Thread Index | Old Index