pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2016Q2]: pkgsrc/lang/python35 Pullup ticket #5092 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d23a46b36e0
branches:  pkgsrc-2016Q2
changeset: 408880:3d23a46b36e0
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue Sep 06 19:11:16 2016 +0000

description:
Pullup ticket #5092 - requested by sevan
lang/python35: security fix

Revisions pulled up:
- lang/python35/Makefile                                        1.5
- lang/python35/PLIST                                           1.4
- lang/python35/dist.mk                                         1.3
- lang/python35/distinfo                                        1.6
- lang/python35/patches/patch-Makefile.pre.in                   1.2
- lang/python35/patches/patch-setup.py                          1.2

---
   Module Name:    pkgsrc
   Committed By:   adam
   Date:           Sat Jul  2 15:07:48 UTC 2016

   Modified Files:
           pkgsrc/lang/python35: Makefile PLIST dist.mk distinfo
           pkgsrc/lang/python35/patches: patch-Makefile.pre.in patch-setup.py

   Log Message:
   Changes 3.5.2:
   Issue 27066: Fixed SystemError if a custom opener (for open()) returns a negative number without setting an exception.
   Issue 20041: Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye.
   Issue 26168: Fixed possible refleaks in failing Py_BuildValue() with the ?N? format unit.
   Issue 26991: Fix possible refleak when creating a function with annotations.
   Issue 27039: Fixed bytearray.remove() for values greater than 127. Patch by Joe Jevnik.
   Issue 23640: int.from_bytes() no longer bypasses constructors for subclasses.
   Issue 26811: gc.get_objects() no longer contains a broken tuple with NULL pointer.
   Issue 20120: Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files,
   matching behavior in Python 2.7 and Setuptools 19.0.
   Issue 26659: Make the builtin slice type support cycle collection.
   Issue 26718: super.__init__ no longer leaks memory if called multiple times. NOTE: A direct call of super.__init__ is not endorsed!
   Issue 25339: PYTHONIOENCODING now has priority over locale in setting the error handler for stdin and stdout.
   Issue 26494: Fixed crash on iterating exhausting iterators. Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict,
   corresponding views and os.scandir() iterator.
   Issue 26581: If coding cookie is specified multiple times on a line in Python source code file, only the first one is taken to account.
   Issue 26464: Fix str.translate() when string is ASCII and first replacements removes character, but next replacement uses a non-ASCII character or a string longer than 1 character. Regression
   introduced in Python 3.5.0.
   Issue 22836: Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable() are sensible even when formatting them produces secondary errors. This affects the reports produced by
   sys.__excepthook__() and when __del__() raises an exception.
   Issue 26302: Correct behavior to reject comma as a legal character for cookie names.
   Issue 4806: Avoid masking the original TypeError exception when using star (*) unpacking in function calls. Based on patch by Hagen Fu:rstenau and Daniel Urban.
   Issue 27138: Fix the doc comment for FileFinder.find_spec().
   Issue 26154: Add a new private _PyThreadState_UncheckedGet() function to get the current Python thread state, but don?t issue a fatal error if it is NULL. This new function must be used instead of
   accessing directly the _PyThreadState_Current variable. The variable is no more exposed since Python 3.5.1 to hide the exact implementation of atomic C types, to avoid compiler issues.
   Issue 26194: Deque.insert() gave odd results for bounded deques that had reached their maximum size. Now an IndexError will be raised when attempting to insert into a full deque.
   Issue 25843: When compiling code, don?t merge constants if they are equal but have a different types. For example, f1, f2 = lambda: 1, lambda: 1.0 is now correctly compiled to two different
   functions: f1() returns 1 (int) and f2() returns 1.0 (int), even if 1 and 1.0 are equal.
   Issue 22995: [UPDATE] Comment out the one of the pickleability tests in _PyObject_GetState() due to regressions observed in Cython-based projects.
   Issue 25961: Disallowed null characters in the type name.
   Issue 25973: Fix segfault when an invalid nonlocal statement binds a name starting with two underscores.
   Issue 22995: Instances of extension types with a state that aren?t subclasses of list or dict and haven?t implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__,
   __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview.
   Issue 20440: Massive replacing unsafe attribute setting code with special macro Py_SETREF.
   Issue 25766: Special method __bytes__() now works in str subclasses.
   Issue 25421: __sizeof__ methods of builtin types now use dynamic basic size. This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
   Issue 25709: Fixed problem with in-place string concatenation and utf-8 cache.
   Issue 27147: Mention PEP 420 in the importlib docs.
   Issue 24097: Fixed crash in object.__reduce__() if slot name is freed inside __getattr__.
   Issue 24731: Fixed crash on converting objects with special methods __bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and
   float correspondingly.
   Issue 26478: Fix semantic bugs when using binary operators with dictionary views and tuples.
   Issue 26171: Fix possible integer overflow and heap corruption in zipimporter.get_data().
   Issue 25660: Fix TAB key behaviour in REPL with readline.
   Issue 25887: Raise a RuntimeError when a coroutine object is awaited more than once.
   Issue 27243: Update the __aiter__ protocol: instead of returning an awaitable that resolves to an asynchronous iterator, the asynchronous iterator should be returned directly. Doing the former will
   trigger a PendingDeprecationWarning.
   more...

diffstat:

 lang/python35/Makefile                      |   3 +-
 lang/python35/PLIST                         |  40 +++++++++++++++++++++-------
 lang/python35/dist.mk                       |   4 +-
 lang/python35/distinfo                      |  14 +++++-----
 lang/python35/patches/patch-Makefile.pre.in |  26 +++++++++---------
 lang/python35/patches/patch-setup.py        |  24 ++++++++--------
 6 files changed, 65 insertions(+), 46 deletions(-)

diffs (truncated from 344 to 300 lines):

diff -r 1a020095447c -r 3d23a46b36e0 lang/python35/Makefile
--- a/lang/python35/Makefile    Tue Sep 06 19:07:05 2016 +0000
+++ b/lang/python35/Makefile    Tue Sep 06 19:11:16 2016 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2016/03/05 11:28:44 jperkin Exp $
+# $NetBSD: Makefile,v 1.4.4.1 2016/09/06 19:11:16 bsiegert Exp $
 
 .include "dist.mk"
 
 PKGNAME=       python35-${PY_DISTVERSION}
-PKGREVISION=   2
 CATEGORIES=    lang python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 1a020095447c -r 3d23a46b36e0 lang/python35/PLIST
--- a/lang/python35/PLIST       Tue Sep 06 19:07:05 2016 +0000
+++ b/lang/python35/PLIST       Tue Sep 06 19:11:16 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2015/12/13 21:33:14 kamil Exp $
+@comment $NetBSD: PLIST,v 1.3.6.1 2016/09/06 19:11:16 bsiegert Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -1341,8 +1341,8 @@
 lib/python${PY_VER_SUFFIX}/ensurepip/__main__.py
 lib/python${PY_VER_SUFFIX}/ensurepip/__main__.pyc
 lib/python${PY_VER_SUFFIX}/ensurepip/__main__.pyo
-lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-7.1.2-py2.py3-none-any.whl
-lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/setuptools-18.2-py2.py3-none-any.whl
+lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-8.1.1-py2.py3-none-any.whl
+lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/setuptools-20.10.1-py2.py3-none-any.whl
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.py
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.pyc
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.pyo
@@ -1631,6 +1631,9 @@
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_calltips.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_calltips.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_calltips.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_config_help.py
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_config_help.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_config_help.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_config_name.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_config_name.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_config_name.pyo
@@ -1640,6 +1643,9 @@
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_delegator.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_delegator.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_delegator.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_editmenu.py
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_editmenu.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_editmenu.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_editor.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_editor.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_editor.pyo
@@ -1664,9 +1670,18 @@
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_pathbrowser.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_pathbrowser.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_pathbrowser.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_percolator.py
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_percolator.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_percolator.pyc
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_replacedialog.py
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_replacedialog.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_replacedialog.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_rstrip.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_rstrip.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_rstrip.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_searchdialog.py
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_searchdialog.pyc
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_searchdialog.pyo
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_searchdialogbase.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_searchdialogbase.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_searchdialogbase.pyo
@@ -1679,6 +1694,9 @@
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_textview.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_textview.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_textview.pyo
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_undodelegator.py
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_undodelegator.pyc
+lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_undodelegator.pyo
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_warning.py
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_warning.pyc
 lib/python${PY_VER_SUFFIX}/idlelib/idle_test/test_warning.pyo
@@ -2484,16 +2502,15 @@
 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_pep3120.py
-lib/python${PY_VER_SUFFIX}/test/buffer_tests.py
-lib/python${PY_VER_SUFFIX}/test/buffer_tests.pyc
-lib/python${PY_VER_SUFFIX}/test/buffer_tests.pyo
 lib/python${PY_VER_SUFFIX}/test/bytecode_helper.py
 lib/python${PY_VER_SUFFIX}/test/bytecode_helper.pyc
 lib/python${PY_VER_SUFFIX}/test/bytecode_helper.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
 lib/python${PY_VER_SUFFIX}/test/capath/6e88d7b8.0
 lib/python${PY_VER_SUFFIX}/test/capath/99d0fa06.0
+lib/python${PY_VER_SUFFIX}/test/capath/ce7b8643.0
 lib/python${PY_VER_SUFFIX}/test/cfgparser.1
 lib/python${PY_VER_SUFFIX}/test/cfgparser.2
 lib/python${PY_VER_SUFFIX}/test/cfgparser.3
@@ -2726,7 +2743,6 @@
 lib/python${PY_VER_SUFFIX}/test/gdb_sample.py
 lib/python${PY_VER_SUFFIX}/test/gdb_sample.pyc
 lib/python${PY_VER_SUFFIX}/test/gdb_sample.pyo
-lib/python${PY_VER_SUFFIX}/test/https_svn_python_org_root.pem
 lib/python${PY_VER_SUFFIX}/test/ieee754.txt
 lib/python${PY_VER_SUFFIX}/test/imghdrdata/python.bmp
 lib/python${PY_VER_SUFFIX}/test/imghdrdata/python.exr
@@ -3961,6 +3977,8 @@
 lib/python${PY_VER_SUFFIX}/test/test_optparse.py
 lib/python${PY_VER_SUFFIX}/test/test_optparse.pyc
 lib/python${PY_VER_SUFFIX}/test/test_optparse.pyo
+lib/python${PY_VER_SUFFIX}/test/test_ordered_dict.pyc
+lib/python${PY_VER_SUFFIX}/test/test_ordered_dict.pyo
 lib/python${PY_VER_SUFFIX}/test/test_os.py
 lib/python${PY_VER_SUFFIX}/test/test_os.pyc
 lib/python${PY_VER_SUFFIX}/test/test_os.pyo
@@ -3988,9 +4006,6 @@
 lib/python${PY_VER_SUFFIX}/test/test_pep277.py
 lib/python${PY_VER_SUFFIX}/test/test_pep277.pyc
 lib/python${PY_VER_SUFFIX}/test/test_pep277.pyo
-lib/python${PY_VER_SUFFIX}/test/test_pep292.py
-lib/python${PY_VER_SUFFIX}/test/test_pep292.pyc
-lib/python${PY_VER_SUFFIX}/test/test_pep292.pyo
 lib/python${PY_VER_SUFFIX}/test/test_pep3120.py
 lib/python${PY_VER_SUFFIX}/test/test_pep3120.pyc
 lib/python${PY_VER_SUFFIX}/test/test_pep3120.pyo
@@ -4345,6 +4360,10 @@
 lib/python${PY_VER_SUFFIX}/test/test_tuple.py
 lib/python${PY_VER_SUFFIX}/test/test_tuple.pyc
 lib/python${PY_VER_SUFFIX}/test/test_tuple.pyo
+lib/python${PY_VER_SUFFIX}/test/test_ordered_dict.py
+lib/python${PY_VER_SUFFIX}/test/test_turtle.py
+lib/python${PY_VER_SUFFIX}/test/test_turtle.pyc
+lib/python${PY_VER_SUFFIX}/test/test_turtle.pyo
 lib/python${PY_VER_SUFFIX}/test/test_typechecks.py
 lib/python${PY_VER_SUFFIX}/test/test_typechecks.pyc
 lib/python${PY_VER_SUFFIX}/test/test_typechecks.pyo
@@ -4513,6 +4532,7 @@
 lib/python${PY_VER_SUFFIX}/test/win_console_handler.py
 lib/python${PY_VER_SUFFIX}/test/win_console_handler.pyc
 lib/python${PY_VER_SUFFIX}/test/win_console_handler.pyo
+lib/python${PY_VER_SUFFIX}/test/wrongcert.pem
 lib/python${PY_VER_SUFFIX}/test/xmltestdata/simple-ns.xml
 lib/python${PY_VER_SUFFIX}/test/xmltestdata/simple.xml
 lib/python${PY_VER_SUFFIX}/test/xmltestdata/test.xml
diff -r 1a020095447c -r 3d23a46b36e0 lang/python35/dist.mk
--- a/lang/python35/dist.mk     Tue Sep 06 19:07:05 2016 +0000
+++ b/lang/python35/dist.mk     Tue Sep 06 19:11:16 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.2 2015/12/07 14:36:26 adam Exp $
+# $NetBSD: dist.mk,v 1.2.6.1 2016/09/06 19:11:16 bsiegert Exp $
 
-PY_DISTVERSION=        3.5.1
+PY_DISTVERSION=        3.5.2
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python35/distinfo
diff -r 1a020095447c -r 3d23a46b36e0 lang/python35/distinfo
--- a/lang/python35/distinfo    Tue Sep 06 19:07:05 2016 +0000
+++ b/lang/python35/distinfo    Tue Sep 06 19:11:16 2016 +0000
@@ -1,16 +1,16 @@
-$NetBSD: distinfo,v 1.5 2016/02/23 15:07:36 joerg Exp $
+$NetBSD: distinfo,v 1.5.4.1 2016/09/06 19:11:16 bsiegert Exp $
 
-SHA1 (Python-3.5.1.tar.xz) = 0186da436db76776196612b98bb9c2f76acfe90e
-RMD160 (Python-3.5.1.tar.xz) = 9e63ee775b0bfebdbf4ea21969856b1f91c7e243
-SHA512 (Python-3.5.1.tar.xz) = 261c9e42ae351853c718707a8887817e308b3ba7a37e9463a0bc8f50ee9be9ac1a011b2891f8877ecdb40beab99279bcfa8e04f813b8998fcf6cefb7fd52d850
-Size (Python-3.5.1.tar.xz) = 14830408 bytes
+SHA1 (Python-3.5.2.tar.xz) = 4843aabacec5bc0cdd3e1f778faa926e532794d2
+RMD160 (Python-3.5.2.tar.xz) = 709be7df28045c4fc8ed40cadd299478439f9522
+SHA512 (Python-3.5.2.tar.xz) = c07c3366f1c81e214241444bb9da6db9d11da32ad66bfa29cdad5a3b2e34e4d870bda6d4ce3c3910b582942e91f1d8c8a1c1a7b9464cc147b83c9e0007012742
+Size (Python-3.5.2.tar.xz) = 15222676 bytes
 SHA1 (patch-Include_py__curses.h) = 14359f8d0527eff08073c0aea60dfe8961d9255d
 SHA1 (patch-Lib_distutils_command_install.py) = 9b44f339f65f029b7f17dbc654739a7ae3c12780
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 7d6df07921ad3357757d4681a964256b560b3f57
-SHA1 (patch-Makefile.pre.in) = 3ed3cf07d58ae15adf26d4bffb381eae0e080f21
+SHA1 (patch-Makefile.pre.in) = 5a27e9bc405b515f10b972ba9fc9421e05e4b7f1
 SHA1 (patch-Modules___cursesmodule.c) = 6bc66c9cb5320b4f90872024fc9c1e43d0b34928
 SHA1 (patch-Modules_makesetup) = c9b571eb54fdf0b1e93524a6de6780e8c4119221
 SHA1 (patch-Modules_nismodule.c) = bd290417c265846e238660180e60e76c0f5f696a
 SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
 SHA1 (patch-configure) = 069f7bb10d98e3616f52859a2cf90c7f5732425e
-SHA1 (patch-setup.py) = 1752a06fec7626af57e85b6cbd9b6cc38b99272f
+SHA1 (patch-setup.py) = 01e56057bb35225a513ef4a76a69f695f760c6ca
diff -r 1a020095447c -r 3d23a46b36e0 lang/python35/patches/patch-Makefile.pre.in
--- a/lang/python35/patches/patch-Makefile.pre.in       Tue Sep 06 19:07:05 2016 +0000
+++ b/lang/python35/patches/patch-Makefile.pre.in       Tue Sep 06 19:11:16 2016 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-Makefile.pre.in,v 1.1 2015/12/05 17:12:13 adam Exp $
+$NetBSD: patch-Makefile.pre.in,v 1.1.6.1 2016/09/06 19:11:17 bsiegert Exp $
 
 Use only one optimisation level; needed for PLIST and setuptools compatibility.
 
---- Makefile.pre.in.orig       2015-09-13 11:41:23.000000000 +0000
+--- Makefile.pre.in.orig       2016-06-25 21:38:37.000000000 +0000
 +++ Makefile.pre.in
-@@ -86,7 +86,7 @@ PY_CFLAGS_NODIST=$(CONFIGURE_CFLAGS_NODI
+@@ -91,7 +91,7 @@ PY_CFLAGS_NODIST=$(CONFIGURE_CFLAGS_NODI
  # be able to build extension modules using the directories specified in the
  # environment variables
  PY_CPPFLAGS=  $(BASECPPFLAGS) -I. -IInclude -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS)
@@ -13,16 +13,16 @@
  NO_AS_NEEDED= @NO_AS_NEEDED@
  LDLAST=               @LDLAST@
  SGI_ABI=      @SGI_ABI@
-@@ -700,7 +700,7 @@ Python/importlib_external.h: $(srcdir)/L
-       ./Programs/_freeze_importlib \
-               $(srcdir)/Lib/importlib/_bootstrap_external.py Python/importlib_external.h
+@@ -724,7 +724,7 @@ Python/importlib_external.h: $(srcdir)/L
+               $(srcdir)/Lib/importlib/_bootstrap_external.py Python/importlib_external.h; \
+       fi
  
 -Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_importlib
 +Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_importlib $(LIBRARY_OBJS_OMIT_FROZEN)
-       ./Programs/_freeze_importlib \
-               $(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h
- 
-@@ -845,7 +845,7 @@ Objects/setobject.o: $(srcdir)/Objects/s
+       if test "$(cross_compiling)" != "yes"; then \
+           ./Programs/_freeze_importlib \
+               $(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h; \
+@@ -882,7 +882,7 @@ Objects/setobject.o: $(srcdir)/Objects/s
  $(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES)
        $(OPCODETARGETGEN) $(OPCODETARGETS_H)
  
@@ -31,7 +31,7 @@
  
  Python/frozen.o: Python/importlib.h Python/importlib_external.h
  
-@@ -1085,7 +1085,8 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORK
+@@ -1122,7 +1122,8 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORK
                if test -n "$(PY3LIBRARY)"; then \
                        $(INSTALL_SHARED) $(PY3LIBRARY) $(DESTDIR)$(LIBDIR)/$(PY3LIBRARY); \
                fi; \
@@ -41,7 +41,7 @@
        fi
        if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \
                rm -f $(DESTDIR)$(BINDIR)python$(VERSION)-32$(EXE); \
-@@ -1271,11 +1272,6 @@ libinstall:     build_all $(srcdir)/Lib/$(PL
+@@ -1312,11 +1313,6 @@ libinstall:     build_all $(srcdir)/Lib/$(PL
                -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
                $(DESTDIR)$(LIBDEST)
        -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
@@ -53,7 +53,7 @@
                $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
                -d $(LIBDEST)/site-packages -f \
                -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
-@@ -1284,10 +1280,6 @@ libinstall:     build_all $(srcdir)/Lib/$(PL
+@@ -1325,10 +1321,6 @@ libinstall:     build_all $(srcdir)/Lib/$(PL
                -d $(LIBDEST)/site-packages -f \
                -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
        -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
diff -r 1a020095447c -r 3d23a46b36e0 lang/python35/patches/patch-setup.py
--- a/lang/python35/patches/patch-setup.py      Tue Sep 06 19:07:05 2016 +0000
+++ b/lang/python35/patches/patch-setup.py      Tue Sep 06 19:11:16 2016 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-setup.py,v 1.1 2015/12/05 17:12:13 adam Exp $
+$NetBSD: patch-setup.py,v 1.1.6.1 2016/09/06 19:11:17 bsiegert Exp $
 
---- setup.py.orig      2014-03-17 02:31:31.000000000 +0000
+--- setup.py.orig      2016-06-25 21:38:39.000000000 +0000
 +++ setup.py
-@@ -33,7 +33,8 @@ host_platform = get_platform()
+@@ -44,7 +44,8 @@ host_platform = get_platform()
  COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
  
  # This global variable is used to hold the list of modules to be disabled.
@@ -12,8 +12,8 @@
  
  def add_dir_to_list(dirlist, dir):
      """Add the directory 'dir' to the list 'dirlist' (after any relative
-@@ -441,15 +442,15 @@ class PyBuildExt(build_ext):
-             os.unlink(tmpfile)
+@@ -488,15 +489,15 @@ class PyBuildExt(build_ext):
+             return ['m']
  
      def detect_modules(self):
 -        # Ensure that /usr/local is always used, but the local build
@@ -37,7 +37,7 @@
          self.add_multiarch_paths()
  
          # Add paths specified in the environment variables LDFLAGS and
-@@ -751,8 +752,7 @@ class PyBuildExt(build_ext):
+@@ -809,8 +810,7 @@ class PyBuildExt(build_ext):
                                 depends = ['socketmodule.h']) )
          # Detect SSL support for the socket module (via _ssl)
          search_for_ssl_incs_in = [
@@ -47,7 +47,7 @@
                               ]
          ssl_incs = find_file('openssl/ssl.h', inc_dirs,
                               search_for_ssl_incs_in
-@@ -763,9 +763,7 @@ class PyBuildExt(build_ext):
+@@ -821,9 +821,7 @@ class PyBuildExt(build_ext):
              if krb5_h:
                  ssl_incs += krb5_h
          ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
@@ -58,7 +58,7 @@



Home | Main Index | Thread Index | Old Index