pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jan  2 09:51:49 UTC 2021

Modified Files:
        pkgsrc/lang/py38-html-docs: Makefile distinfo
        pkgsrc/lang/python38: Makefile PLIST dist.mk distinfo
        pkgsrc/lang/python38/patches: patch-configure
Removed Files:
        pkgsrc/lang/python38/patches: patch-configure.ac

Log Message:
python38 py38-html-docs: updated to 3.8.7

Python 3.8.7

Core and Builtins
bpo-32381: Fix encoding name when running a .pyc file on Windows: PyRun_SimpleFileExFlags() now uses the correct encoding to decode the filename.
bpo-42536: Several built-in and standard library types now ensure that their internal result tuples are always tracked by the garbage collector:

collections.OrderedDict.items()
dict.items()
enumerate()
functools.reduce()
itertools.combinations()
itertools.combinations_with_replacement()
itertools.permutations()
itertools.product()
itertools.zip_longest()
zip()
Previously, they could have become untracked by a prior garbage collection. Patch by Brandt Bucher.

Library
bpo-42630: tkinter functions and constructors which need a default root window raise now RuntimeError with descriptive message instead of obscure AttributeError or NameError if it is not created yet 
or cannot be created automatically.
bpo-42644: logging.disable will now validate the types and value of its parameter. It also now accepts strings representing the levels (as does loging.setLevel) instead of only the numerical values.
bpo-36541: Fixed lib2to3.pgen2 to be able to parse PEP-570 positional only argument syntax.
bpo-42375: subprocess module update for DragonFlyBSD support.
bpo-39825: Windows: Change sysconfig.get_config_var('EXT_SUFFIX') to the expected full platform_tag.extension format. Previously it was hard-coded to .pyd, now it is compatible with 
distutils.sysconfig and will result in something like .cp38-win_amd64.pyd. This brings windows into conformance with the other platforms.
bpo-39101: Fixed tests using IsolatedAsyncioTestCase from hanging on BaseExceptions.
bpo-41907: fix format() behavior for IntFlag
bpo-41889: Enum: fix regression involving inheriting a multiply-inherited enum
bpo-41891: Ensure asyncio.wait_for waits for task completion
bpo-40219: Lowered tkinter.ttk.LabeledScale dummy widget to prevent hiding part of the content label.
bpo-40084: Fix Enum.__dir__: dir(Enum.member) now includes attributes as well as methods.

Documentation
bpo-17140: Add documentation for the multiprocessing.pool.ThreadPool class.

Build
bpo-42604: Now all platforms use a value for the “EXT_SUFFIX” build variable derived from SOABI (for instance in freeBSD, “EXT_SUFFIX” is now “.cpython-310d.so” instead of “.so”). Previosuly only 
Linux, Mac and VxWorks were using a value for “EXT_SUFFIX” that included “SOABI”.
bpo-42598: Fix implicit function declarations in configure which could have resulted in incorrect configuration checks. Patch contributed by Joshua Root.

Tools/Demos
bpo-42613: Fix freeze.py tool to use the prope config and library directories. Patch by Victor Stinner.

Python 3.8.7 release candidate 1

Security
bpo-42103: Prevented potential DoS attack via CPU and RAM exhaustion when processing malformed Apple Property List files in binary format.
bpo-42051: The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities. This should not affect users as entity declarations are not used in regular plist 
files.
bpo-40791: Add volatile to the accumulator variable in hmac.compare_digest, making constant-time-defeating optimizations less likely.

Core and Builtins
bpo-41686: On Windows, the SIGINT event, _PyOS_SigintEvent(), is now created even if Python is configured to not install signal handlers (if PyConfig.install_signal_handlers equals to 0, or 
Py_InitializeEx(0)).
bpo-42143: Fix handling of errors during creation of PyFunctionObject, which resulted in operations on uninitialized memory. Patch by Yonatan Goldschmidt.
bpo-41984: The garbage collector now tracks all user-defined classes. Patch by Brandt Bucher.
bpo-41909: Fixed stack overflow in issubclass() and isinstance() when getting the __bases__ attribute leads to infinite recursion.
bpo-41894: When loading a native module and a load failure occurs, prevent a possible UnicodeDecodeError when not running in a UTF-8 locale by decoding the load error message using the current 
locale’s encoding.

Library
bpo-17735: inspect.findsource() now raises OSError instead of IndexError when co_lineno of a code object is greater than the file length. This can happen, for example, when a file is edited after it 
was imported. PR by Irit Katriel.
bpo-42116: Fix handling of trailing comments by inspect.getsource().
bpo-42482: TracebackException no longer holds a reference to the exception’s traceback object. Consequently, instances of TracebackException for equivalent but non-equal exceptions now compare as 
equal.
bpo-42406: We fixed an issue in pickle.whichmodule in which importing multiprocessing could change the how pickle identifies which module an object belongs to, potentially breaking the unpickling of 
those objects.
bpo-42328: Fixed tkinter.ttk.Style.map(). The function accepts now the representation of the default state as empty sequence (as returned by Style.map()). The structure of the result is now the same 
on all platform and does not depend on the value of wantobjects.
bpo-42014: The onerror callback from shutil.rmtree now receives correct function when os.open fails.
bpo-42237: Fix os.sendfile() on illumos.
bpo-42249: Fixed writing binary Plist files larger than 4 GiB.
bpo-35455: On Solaris, thread_time() is now implemented with gethrvtime() because clock_gettime(CLOCK_THREAD_CPUTIME_ID) is not always available. Patch by Jakub Kulik.
bpo-41754: webbrowser: Ignore NotADirectoryError when calling xdg-settings.
bpo-29566: binhex.binhex() consisently writes macOS 9 line endings.
bpo-42183: Fix a stack overflow error for asyncio Task or Future repr().

The overflow occurs under some circumstances when a Task or Future recursively returns itself.
bpo-42103: InvalidFileException and RecursionError are now the only errors caused by loading malformed binary Plist file (previously ValueError and TypeError could be raised in some specific cases).
bpo-41491: plistlib: fix parsing XML plists with hexadecimal integer values
bpo-32498: Clearer exception message when passing an argument of type bytes to urllib.parse.unquote(). This is only for 3.8; in 3.9 and later this function accepts bytes inputs as well. PR by Irit 
Katriel.
bpo-42065: Fix an incorrectly formatted error from _codecs.charmap_decode() when called with a mapped value outside the range of valid Unicode code points. PR by Max Bernstein.
bpo-41966: Fix pickling pure Python datetime.time subclasses. Patch by Dean Inwood.
bpo-41976: Fixed a bug that was causing ctypes.util.find_library() to return None when triying to locate a library in an environment when gcc>=9 is available and ldconfig is not. Patch by Pablo 
Galindo
bpo-41900: C14N 2.0 serialisation in xml.etree.ElementTree failed for unprefixed attributes when a default namespace was defined.
bpo-41855: In importlib.metadata, fix issue where multiple children can be returned from FastPath.zip_children(). Backport of python-devs/importlib_metadata#117.
bpo-41840: Fix a bug in the symtable module that was causing module-scope global variables to not be reported as both local and global. Patch by Pablo Galindo.
bpo-41831: str() for the type attribute of the tkinter.Event object always returns now the numeric code returned by Tk instead of the name of the event type.
bpo-41662: No longer override exceptions raised in __len__() of a sequence of parameters in sqlite3 with ProgrammingError.
bpo-41662: Fixed crash when mutate list of parameters during iteration in sqlite3.
bpo-34215: Clarify the error message for asyncio.IncompleteReadError when expected is None.
bpo-41316: Fix the tarfile module to write only basename of TAR file to GZIP compression header.
bpo-12800: Extracting a symlink from a tarball should succeed and overwrite the symlink if it already exists. The fix is to remove the existing file or symlink before extraction. Based on patch by 
Chris AtLee, Jeffrey Kintscher, and Senthil Kumaran.
bpo-16936: Allow ctypes.wintypes to be imported on non-Windows systems.
bpo-40592: shutil.which() now ignores empty entries in PATHEXT instead of treating them as a match.
bpo-40492: Fix --outfile for cProfile / profile not writing the output file in the original directory when the program being profiled changes the working directory. PR by Anthony Sottile.
bpo-40105: ZipFile truncates files to avoid corruption when a shorter comment is provided in append (“a”) mode. Patch by Jan Mazur.
bpo-27321: Fixed KeyError exception when flattening an email to a string attempts to replace a non-existent Content-Transfer-Encoding header.
bpo-32793: Fix a duplicated debug message when smtplib.SMTP.connect() is called.

Documentation
bpo-42153: Fix the URL for the IMAP protocol documents.
bpo-41910: Document the default implementation of object.__eq__.
bpo-41774: In Programming FAQ “Sequences (Tuples/Lists)” section, add “How do you remove multiple items from a list”.
bpo-39416: Document some restrictions on the default string representations of numeric classes.

Tests
bpo-41473: Reenable test_gdb on gdb 9.2 and newer: https://bugzilla.redhat.com/show_bug.cgi?id=1866884 bug is fixed in gdb 10.1.
bpo-42553: Fix test_asyncio.test_call_later() race condition: don’t measure asyncio performance in the call_later() unit test. The test failed randomly on the CI.
bpo-40754: Include _testinternalcapi module in Windows installer for test suite
bpo-41739: Fix test_logging.test_race_between_set_target_and_flush(): the test now waits until all threads complete to avoid leaking running threads.
bpo-41944: Tests for CJK codecs no longer call eval() on content received via HTTP.
bpo-41939: Fix test_site.test_license_exists_at_url(): call urllib.request.urlcleanup() to reset the global urllib.request._opener. Patch by Victor Stinner.
bpo-41561: test_ssl: skip test_min_max_version_mismatch when TLS 1.0 is not available
bpo-41602: Add tests for SIGINT handling in the runpy module.
bpo-41306: Fixed a failure in test_tk.test_widgets.ScaleTest happening when executing the test with Tk 8.6.10.

Build
bpo-42398: Fix a race condition in “make regen-all” when make -jN option is used to run jobs in parallel. The clinic.py script now only use atomic write to write files. Moveover, generated files are 
now left unchanged if the content does not change, to not change the file modification time.

Windows
bpo-42120: Remove macro definition of copysign (to _copysign) in headers.
bpo-38439: Updates the icons for IDLE in the Windows Store package.
bpo-41557: Update Windows installer to use SQLite 3.33.0.
bpo-38324: Avoid Unicode errors when accessing certain locale data on Windows.

macOS
bpo-38443: The --enable-universalsdk and --with-universal-archs options for the configure script now check that the specified architectures can be used.
bpo-41471: Ignore invalid prefix lengths in system proxy excludes.
bpo-41557: Update macOS installer to use SQLite 3.33.0.

IDLE
bpo-42426: Fix reporting offset of the RE error in searchengine.
bpo-42415: Get docstrings for IDLE calltips more often by using inspect.getdoc.
bpo-33987: Mostly finish using ttk widgets, mainly for editor, settings, and searches. Some patches by Mark Roseman.
bpo-41775: Use ‘IDLE Shell’ as shell title
bpo-40511: Typing opening and closing parentheses inside the parentheses of a function call will no longer cause unnecessary “flashing” off and on of an existing open call-tip, e.g. when typed in a 
string literal.
bpo-38439: Add a 256×256 pixel IDLE icon to the Windows .ico file. Created by Andrew Clover. Remove the low-color gif variations from the .ico file.

C API
bpo-41986: Py_FileSystemDefaultEncodeErrors and Py_UTF8Mode are available again in limited API.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/py38-html-docs/Makefile \
    pkgsrc/lang/py38-html-docs/distinfo
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/python38/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/python38/PLIST \
    pkgsrc/lang/python38/dist.mk
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/python38/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/python38/patches/patch-configure
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/python38/patches/patch-configure.ac

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

Modified files:

Index: pkgsrc/lang/py38-html-docs/Makefile
diff -u pkgsrc/lang/py38-html-docs/Makefile:1.7 pkgsrc/lang/py38-html-docs/Makefile:1.8
--- pkgsrc/lang/py38-html-docs/Makefile:1.7     Mon Sep 28 19:31:55 2020
+++ pkgsrc/lang/py38-html-docs/Makefile Sat Jan  2 09:51:49 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/09/28 19:31:55 adam Exp $
+# $NetBSD: Makefile,v 1.8 2021/01/02 09:51:49 adam Exp $
 
-VERS=          3.8.6
+VERS=          3.8.7
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py38-html-docs-${VERS}
 CATEGORIES=    lang python
Index: pkgsrc/lang/py38-html-docs/distinfo
diff -u pkgsrc/lang/py38-html-docs/distinfo:1.7 pkgsrc/lang/py38-html-docs/distinfo:1.8
--- pkgsrc/lang/py38-html-docs/distinfo:1.7     Mon Sep 28 19:31:55 2020
+++ pkgsrc/lang/py38-html-docs/distinfo Sat Jan  2 09:51:49 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2020/09/28 19:31:55 adam Exp $
+$NetBSD: distinfo,v 1.8 2021/01/02 09:51:49 adam Exp $
 
-SHA1 (python-3.8.6-docs-html.tar.bz2) = e1e67021c57cc896ca710d1a426f00ee211265f0
-RMD160 (python-3.8.6-docs-html.tar.bz2) = c4634293aecb1378db97269633a1cda759a2ec94
-SHA512 (python-3.8.6-docs-html.tar.bz2) = be0d61a9556fbdd24ab124cfdf220b3bdb537cc02d5896f8f4c75cb73e3cfd5c2947c060d049b57bf5576b4b2d1c7f0f3987070d70ce883dea023e1feab1a630
-Size (python-3.8.6-docs-html.tar.bz2) = 6578280 bytes
+SHA1 (python-3.8.7-docs-html.tar.bz2) = d25b983a5da07515a119aa35279801798dd3efa5
+RMD160 (python-3.8.7-docs-html.tar.bz2) = 94bdc8bad0a8ede394d85f337cabc78c2a4f6040
+SHA512 (python-3.8.7-docs-html.tar.bz2) = 317217948168d870dee57f2b1633c5d3dbd1a54963f5595dda4cccdf902ea48bbc70369f98e2c03958047a76966aabf9842b87adade21bb1fc5ec01c3db694f1
+Size (python-3.8.7-docs-html.tar.bz2) = 6583700 bytes

Index: pkgsrc/lang/python38/Makefile
diff -u pkgsrc/lang/python38/Makefile:1.17 pkgsrc/lang/python38/Makefile:1.18
--- pkgsrc/lang/python38/Makefile:1.17  Mon Dec  7 13:14:38 2020
+++ pkgsrc/lang/python38/Makefile       Sat Jan  2 09:51:48 2021
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2020/12/07 13:14:38 nia Exp $
+# $NetBSD: Makefile,v 1.18 2021/01/02 09:51:48 adam Exp $
 
 .include "dist.mk"
 
 PKGNAME=       python38-${PY_DISTVERSION}
-PKGREVISION=   1
 CATEGORIES=    lang python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/lang/python38/PLIST
diff -u pkgsrc/lang/python38/PLIST:1.7 pkgsrc/lang/python38/PLIST:1.8
--- pkgsrc/lang/python38/PLIST:1.7      Mon Sep 28 19:31:55 2020
+++ pkgsrc/lang/python38/PLIST  Sat Jan  2 09:51:48 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2020/09/28 19:31:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2021/01/02 09:51:48 adam Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -1403,7 +1403,7 @@ lib/python${PY_VER_SUFFIX}/ensurepip/__i
 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-20.2.1-py2.py3-none-any.whl
+lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/pip-20.2.3-py2.py3-none-any.whl
 lib/python${PY_VER_SUFFIX}/ensurepip/_bundled/setuptools-49.2.1-py3-none-any.whl
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.py
 lib/python${PY_VER_SUFFIX}/ensurepip/_uninstall.pyc
@@ -3236,6 +3236,9 @@ lib/python${PY_VER_SUFFIX}/test/test_asy
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/functional.py
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/functional.pyc
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/functional.pyo
+lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_asyncio_waitfor.py
+lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_asyncio_waitfor.pyc
+lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_asyncio_waitfor.pyo
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_base_events.py
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_base_events.pyc
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_base_events.pyo
@@ -3251,6 +3254,9 @@ lib/python${PY_VER_SUFFIX}/test/test_asy
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_futures.py
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_futures.pyc
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_futures.pyo
+lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_futures2.py
+lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_futures2.pyc
+lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_futures2.pyo
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_locks.py
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_locks.pyc
 lib/python${PY_VER_SUFFIX}/test/test_asyncio/test_locks.pyo
@@ -5200,6 +5206,9 @@ lib/python${PY_VER_SUFFIX}/tkinter/test/
 lib/python${PY_VER_SUFFIX}/tkinter/test/test_tkinter/test_misc.py
 lib/python${PY_VER_SUFFIX}/tkinter/test/test_tkinter/test_misc.pyc
 lib/python${PY_VER_SUFFIX}/tkinter/test/test_tkinter/test_misc.pyo
+lib/python${PY_VER_SUFFIX}/tkinter/test/test_tkinter/test_simpledialog.py
+lib/python${PY_VER_SUFFIX}/tkinter/test/test_tkinter/test_simpledialog.pyc
+lib/python${PY_VER_SUFFIX}/tkinter/test/test_tkinter/test_simpledialog.pyo
 lib/python${PY_VER_SUFFIX}/tkinter/test/test_tkinter/test_text.py
 lib/python${PY_VER_SUFFIX}/tkinter/test/test_tkinter/test_text.pyc
 lib/python${PY_VER_SUFFIX}/tkinter/test/test_tkinter/test_text.pyo
Index: pkgsrc/lang/python38/dist.mk
diff -u pkgsrc/lang/python38/dist.mk:1.7 pkgsrc/lang/python38/dist.mk:1.8
--- pkgsrc/lang/python38/dist.mk:1.7    Mon Sep 28 19:31:55 2020
+++ pkgsrc/lang/python38/dist.mk        Sat Jan  2 09:51:48 2021
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.7 2020/09/28 19:31:55 adam Exp $
+# $NetBSD: dist.mk,v 1.8 2021/01/02 09:51:48 adam Exp $
 
-PY_DISTVERSION=        3.8.6
+PY_DISTVERSION=        3.8.7
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python38/distinfo

Index: pkgsrc/lang/python38/distinfo
diff -u pkgsrc/lang/python38/distinfo:1.15 pkgsrc/lang/python38/distinfo:1.16
--- pkgsrc/lang/python38/distinfo:1.15  Thu Nov 19 16:29:42 2020
+++ pkgsrc/lang/python38/distinfo       Sat Jan  2 09:51:48 2021
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.15 2020/11/19 16:29:42 bsiegert Exp $
+$NetBSD: distinfo,v 1.16 2021/01/02 09:51:48 adam Exp $
 
-SHA1 (Python-3.8.6.tar.xz) = 6ee446eaacf901a3305565bd6569e2de135168e3
-RMD160 (Python-3.8.6.tar.xz) = 89c134d2d1bc02975cf959cc4a7ee63dba5c5388
-SHA512 (Python-3.8.6.tar.xz) = 22faec84f6e172e1ac7c6bd6fd37e9b6ae4afc91cf5136aa8cac8ebbed8d18793f9196e8749b8ccc43447cb6c41cb450f65ea72dd363c06dfaeb14e0455f5560
-Size (Python-3.8.6.tar.xz) = 18233864 bytes
+SHA1 (Python-3.8.7.tar.xz) = 1b1525811ea4bcf237622e5f1751a4dfc429e3a3
+RMD160 (Python-3.8.7.tar.xz) = 13b0ff22ed547e6979e846775c222278f856899f
+SHA512 (Python-3.8.7.tar.xz) = 6a27d8eab3076930df46b0cf127f9b664f8d4147349b2b98132f464deb7f69d87e0167e8ee8e6c64249125ad73760d965ecbc81c252b63a1e7aac95594c62b74
+Size (Python-3.8.7.tar.xz) = 18261096 bytes
 SHA1 (patch-Lib___osx__support.py) = 95c729132e5bdbda72789f02b37ed111d0d9d11e
 SHA1 (patch-Lib_ctypes_macholib_dyld.py) = 3acfa836e06bb1ca994357bc4b687af1ce1641e0
 SHA1 (patch-Lib_ctypes_test_test__macholib.py) = db352894c47cbb4bed4905b4a7dde272577c65d8
@@ -35,7 +35,6 @@ SHA1 (patch-Modules_timemodule.c) = 10dc
 SHA1 (patch-Python_bootstrap__hash.c) = 2e7d24ded1369624b2983b15784988517a9697a5
 SHA1 (patch-Python_pytime.c) = 41981f821e0b420abcb0334312148deb9a9fed5e
 SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
-SHA1 (patch-configure) = c63ae7364c69fed98d366fd2b6a727a71b10defc
-SHA1 (patch-configure.ac) = 2b341061350671d820d696a659176a35a93d800d
+SHA1 (patch-configure) = 35f0a5f94837ce84eee30756f349ea39c6b5ef8b
 SHA1 (patch-pyconfig.h.in) = 6e24f401286768641c7d69dd75cfe18f1d8df1e7
 SHA1 (patch-setup.py) = f5cd4ec25c8a5725a39970a097ddfb7068370db8

Index: pkgsrc/lang/python38/patches/patch-configure
diff -u pkgsrc/lang/python38/patches/patch-configure:1.5 pkgsrc/lang/python38/patches/patch-configure:1.6
--- pkgsrc/lang/python38/patches/patch-configure:1.5    Tue Nov 17 19:33:15 2020
+++ pkgsrc/lang/python38/patches/patch-configure        Sat Jan  2 09:51:49 2021
@@ -1,13 +1,13 @@
-$NetBSD: patch-configure,v 1.5 2020/11/17 19:33:15 sjmulder Exp $
+$NetBSD: patch-configure,v 1.6 2021/01/02 09:51:49 adam Exp $
 
- - Use gnu99 instead of c99 to avoid "alloca() undefined" problems.
- - Fix linking on Darwin; don't use -stack_size.
- - Changes for consistency across pkgsrc platforms.
- - Simplify _sysconfigdata to include only platform name.
- - Support for macOS 11 and Apple Silicon (ARM). Mostly backported from:
-   https://github.com/python/cpython/pull/22855
+- Use gnu99 instead of c99 to avoid "alloca() undefined" problems.
+- Fix linking on Darwin; don't use -stack_size.
+- Changes for consistency across pkgsrc platforms.
+- Simplify _sysconfigdata to include only platform name.
+- Support for macOS 11 and Apple Silicon (ARM). Mostly backported from:
+  https://github.com/python/cpython/pull/22855
 
---- configure.orig     2020-09-23 12:36:32.000000000 +0000
+--- configure.orig     2020-12-21 16:25:24.000000000 +0000
 +++ configure
 @@ -1502,9 +1502,11 @@ Optional Packages:
    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -54,7 +54,7 @@ $NetBSD: patch-configure,v 1.5 2020/11/1
                 ;;
              esac
  
-@@ -9263,6 +9270,9 @@ fi
+@@ -9288,6 +9295,9 @@ fi
                ;;
        ppc)
                MACOSX_DEFAULT_ARCH="ppc64"
@@ -64,7 +64,7 @@ $NetBSD: patch-configure,v 1.5 2020/11/1
                ;;
        *)
                as_fn_error $? "Unexpected output of 'arch' on OSX" "$LINENO" 5
-@@ -9536,7 +9546,6 @@ then
+@@ -9561,7 +9571,6 @@ then
                # to ensure that tests don't crash
                # Note: This matches the value of THREAD_STACK_SIZE in
                # thread_pthread.h
@@ -72,7 +72,7 @@ $NetBSD: patch-configure,v 1.5 2020/11/1
  
                if test "$enable_framework"
                then
-@@ -11824,6 +11833,31 @@ $as_echo "no" >&6; }
+@@ -11849,6 +11858,31 @@ $as_echo "no" >&6; }
  
  fi
  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
@@ -104,7 +104,7 @@ $NetBSD: patch-configure,v 1.5 2020/11/1
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memfd_create" >&5
  $as_echo_n "checking for memfd_create... " >&6; }
-@@ -14303,10 +14337,10 @@ _ACEOF
+@@ -14328,10 +14362,10 @@ _ACEOF
  if ac_fn_c_try_compile "$LINENO"; then :
  
  
@@ -117,16 +117,16 @@ $NetBSD: patch-configure,v 1.5 2020/11/1
    if test "$ax_cv_c_float_words_bigendian" = unknown; then
      ax_cv_c_float_words_bigendian=no
    else
-@@ -15192,8 +15226,6 @@ fi
+@@ -15215,7 +15249,7 @@ _ACEOF
  
+ fi
+ 
+-EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX}
++EXT_SUFFIX=${SHLIB_SUFFIX}
  
- case $ac_sys_system in
--    Linux*|GNU*|Darwin|VxWorks)
--      EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX};;
-     *)
-       EXT_SUFFIX=${SHLIB_SUFFIX};;
- esac
-@@ -15213,11 +15245,7 @@ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
+ $as_echo_n "checking LDVERSION... " >&6; }
+@@ -15232,11 +15266,7 @@ else
  fi
  
  



Home | Main Index | Thread Index | Old Index