Tue Feb 16 19:40:34 2021 UTC ()
python37 py37-html-docs: updated to 3.7.10

Python 3.7.10

Security
bpo-42967: Fix web cache poisoning vulnerability by defaulting the query args separator to &, and allowing the user to choose a custom separator.
bpo-42938: Avoid static buffers when computing the repr of ctypes.c_double and ctypes.c_longdouble values.
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.

Library
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-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

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

Tests
bpo-42794: Update test_nntplib to use offical group name of news.aioe.org for testing. Patch by Dong-hee Na.
bpo-41944: Tests for CJK codecs no longer call eval() on content received via HTTP.


(adam)
diff -r1.10 -r1.11 pkgsrc/lang/py37-html-docs/Makefile
diff -r1.10 -r1.11 pkgsrc/lang/py37-html-docs/distinfo
diff -r1.25 -r1.26 pkgsrc/lang/python37/Makefile
diff -r1.10 -r1.11 pkgsrc/lang/python37/dist.mk
diff -r1.24 -r1.25 pkgsrc/lang/python37/distinfo

cvs diff -r1.10 -r1.11 pkgsrc/lang/py37-html-docs/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/py37-html-docs/Makefile 2020/08/19 07:08:34 1.10
+++ pkgsrc/lang/py37-html-docs/Makefile 2021/02/16 19:40:34 1.11
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.10 2020/08/19 07:08:34 adam Exp $ 1# $NetBSD: Makefile,v 1.11 2021/02/16 19:40:34 adam Exp $
2 2
3VERS= 3.7.9 3VERS= 3.7.10
4DISTNAME= python-${VERS}-docs-html 4DISTNAME= python-${VERS}-docs-html
5PKGNAME= py37-html-docs-${VERS} 5PKGNAME= py37-html-docs-${VERS}
6CATEGORIES= lang python 6CATEGORIES= lang python
7MASTER_SITES= https://www.python.org/ftp/python/doc/${VERS}/ 7MASTER_SITES= https://www.python.org/ftp/python/doc/${VERS}/
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10MAINTAINER= leot@NetBSD.org 10MAINTAINER= leot@NetBSD.org
11HOMEPAGE= https://www.python.org/doc/ 11HOMEPAGE= https://www.python.org/doc/
12COMMENT= HTML Documentation for Python 3.7 12COMMENT= HTML Documentation for Python 3.7
13LICENSE= python-software-foundation 13LICENSE= python-software-foundation
14 14
15USE_TOOLS+= pax 15USE_TOOLS+= pax
16 16

cvs diff -r1.10 -r1.11 pkgsrc/lang/py37-html-docs/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/py37-html-docs/distinfo 2020/08/19 07:08:34 1.10
+++ pkgsrc/lang/py37-html-docs/distinfo 2021/02/16 19:40:34 1.11
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.10 2020/08/19 07:08:34 adam Exp $ 1$NetBSD: distinfo,v 1.11 2021/02/16 19:40:34 adam Exp $
2 2
3SHA1 (python-3.7.9-docs-html.tar.bz2) = b45e05bc0fd7eabb69475f5c4e2d504285df85be 3SHA1 (python-3.7.10-docs-html.tar.bz2) = f0fd74f55801dd8518ba61937eba795b9f54f17c
4RMD160 (python-3.7.9-docs-html.tar.bz2) = db72e7a9ccde04a6196e985d5123f96d06682b88 4RMD160 (python-3.7.10-docs-html.tar.bz2) = a68f6dcff3e9752fae41cfd32780574bf9e1e7aa
5SHA512 (python-3.7.9-docs-html.tar.bz2) = 243327bdcb85b696fccf20b3cb841b398a672f07e34f441323418651ead58ab3346eff39e78501130b5d97e5d87fb72c945a9c4b9082b26577f33bd095791d55 5SHA512 (python-3.7.10-docs-html.tar.bz2) = c303561ce3b758df1ee017ab8dad862adad116eedf1f2d0ed1180529e0af06526c9293810fe086f8223ec97b2c935cb08ca7e74bc20b9be93dc4e97909f5f561
6Size (python-3.7.9-docs-html.tar.bz2) = 6285801 bytes 6Size (python-3.7.10-docs-html.tar.bz2) = 6289108 bytes

cvs diff -r1.25 -r1.26 pkgsrc/lang/python37/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/python37/Makefile 2020/12/07 13:14:38 1.25
+++ pkgsrc/lang/python37/Makefile 2021/02/16 19:40:33 1.26
@@ -1,19 +1,18 @@ @@ -1,19 +1,18 @@
1# $NetBSD: Makefile,v 1.25 2020/12/07 13:14:38 nia Exp $ 1# $NetBSD: Makefile,v 1.26 2021/02/16 19:40:33 adam Exp $
2 2
3.include "dist.mk" 3.include "dist.mk"
4 4
5PKGNAME= python37-${PY_DISTVERSION} 5PKGNAME= python37-${PY_DISTVERSION}
6PKGREVISION= 2 
7CATEGORIES= lang python 6CATEGORIES= lang python
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.python.org/ 9HOMEPAGE= https://www.python.org/
11COMMENT= Interpreted, interactive, object-oriented programming language 10COMMENT= Interpreted, interactive, object-oriented programming language
12LICENSE= python-software-foundation 11LICENSE= python-software-foundation
13 12
14CONFLICTS+= python-[0-9]* 13CONFLICTS+= python-[0-9]*
15 14
16PLIST_AWK= -f ${PKGSRCDIR}/lang/python/plist-python.awk 15PLIST_AWK= -f ${PKGSRCDIR}/lang/python/plist-python.awk
17PLIST_AWK_ENV+= PYVERS=37 16PLIST_AWK_ENV+= PYVERS=37
18PRINT_PLIST_AWK+= /^[^@]/ && /[^\/]+\.pyc$$/ { 17PRINT_PLIST_AWK+= /^[^@]/ && /[^\/]+\.pyc$$/ {
19PRINT_PLIST_AWK+= sub(/__pycache__\//, "") 18PRINT_PLIST_AWK+= sub(/__pycache__\//, "")

cvs diff -r1.10 -r1.11 pkgsrc/lang/python37/dist.mk (expand / switch to unified diff)

--- pkgsrc/lang/python37/dist.mk 2020/08/19 07:08:34 1.10
+++ pkgsrc/lang/python37/dist.mk 2021/02/16 19:40:33 1.11
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1# $NetBSD: dist.mk,v 1.10 2020/08/19 07:08:34 adam Exp $ 1# $NetBSD: dist.mk,v 1.11 2021/02/16 19:40:33 adam Exp $
2 2
3PY_DISTVERSION= 3.7.9 3PY_DISTVERSION= 3.7.10
4DISTNAME= Python-${PY_DISTVERSION} 4DISTNAME= Python-${PY_DISTVERSION}
5EXTRACT_SUFX= .tar.xz 5EXTRACT_SUFX= .tar.xz
6DISTINFO_FILE= ${.CURDIR}/../../lang/python37/distinfo 6DISTINFO_FILE= ${.CURDIR}/../../lang/python37/distinfo
7PATCHDIR= ${.CURDIR}/../../lang/python37/patches 7PATCHDIR= ${.CURDIR}/../../lang/python37/patches
8MASTER_SITES= http://www.python.org/ftp/python/${PY_DISTVERSION}/ 8MASTER_SITES= http://www.python.org/ftp/python/${PY_DISTVERSION}/

cvs diff -r1.24 -r1.25 pkgsrc/lang/python37/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/python37/distinfo 2020/11/19 16:29:42 1.24
+++ pkgsrc/lang/python37/distinfo 2021/02/16 19:40:33 1.25
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1$NetBSD: distinfo,v 1.24 2020/11/19 16:29:42 bsiegert Exp $ 1$NetBSD: distinfo,v 1.25 2021/02/16 19:40:33 adam Exp $
2 2
3SHA1 (Python-3.7.9.tar.xz) = e1de02779a89a94000c0ed340ec126de25825f2f 3SHA1 (Python-3.7.10.tar.xz) = 847305e6b25f83b80096314fdfdfa7a8cc07016e
4RMD160 (Python-3.7.9.tar.xz) = 6ff3676f84b1a103b0e3161dcc7257936c914daf 4RMD160 (Python-3.7.10.tar.xz) = ae83786be55bf99889d9fe25826e7b4333dd8a52
5SHA512 (Python-3.7.9.tar.xz) = e4217b25529b5336e43b63d17f3758a8177a58184564cf02bd92a312f58dba9e096485c9e3cb3544f966e847ea15b3ab30ed065d28a6ca52a6d7e0faddf7d9f9 5SHA512 (Python-3.7.10.tar.xz) = 5cb61739acbd29f526d25073443398b2ca0eef30d01d134e8236c8bbc7ab0586c44ec00689f5a75e6aedc0170acf4551721ada5e967e4b99a146cfcaad949128
6Size (Python-3.7.9.tar.xz) = 17389636 bytes 6Size (Python-3.7.10.tar.xz) = 17392580 bytes
7SHA1 (patch-Lib___osx__support.py) = dbec9925c1a0b6b845101df9825af52d83317773 7SHA1 (patch-Lib___osx__support.py) = dbec9925c1a0b6b845101df9825af52d83317773
8SHA1 (patch-Lib_ctypes_____init____.py) = ded12eb372028288d85ba88b43e45549c6f48144 8SHA1 (patch-Lib_ctypes_____init____.py) = ded12eb372028288d85ba88b43e45549c6f48144
9SHA1 (patch-Lib_ctypes_macholib_dyld.py) = 267f0b39f116bc9df0b24c277b48ce59cfecd397 9SHA1 (patch-Lib_ctypes_macholib_dyld.py) = 267f0b39f116bc9df0b24c277b48ce59cfecd397
10SHA1 (patch-Lib_ctypes_test_test__macholib.py) = 76bb73619e5a27aa1009d4c65e3be1f69b9b6e91 10SHA1 (patch-Lib_ctypes_test_test__macholib.py) = 76bb73619e5a27aa1009d4c65e3be1f69b9b6e91
11SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3 11SHA1 (patch-Lib_ctypes_util.py) = 032cc99ebad93ddddfd89073c60424a952e3faa3
12SHA1 (patch-Lib_distutils_command_install.py) = 6fc6f5d918b7581fc62cd0fe55857ee932c3a341 12SHA1 (patch-Lib_distutils_command_install.py) = 6fc6f5d918b7581fc62cd0fe55857ee932c3a341
13SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf 13SHA1 (patch-Lib_distutils_sysconfig.py) = 6822eafb4dfded86d7f7353831816aeb8119e6cf
14SHA1 (patch-Lib_distutils_unixccompiler.py) = 2e65a8dd5dd3fe25957206c062106fa7a6fc4e69 14SHA1 (patch-Lib_distutils_unixccompiler.py) = 2e65a8dd5dd3fe25957206c062106fa7a6fc4e69
15SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 5d6dab14197f27363394ff1aeee22a8ced8026d2 15SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 5d6dab14197f27363394ff1aeee22a8ced8026d2
16SHA1 (patch-Lib_sysconfig.py) = a4f009ed73ebbd9d9c4bf7e12b7981182ed8fd7c 16SHA1 (patch-Lib_sysconfig.py) = a4f009ed73ebbd9d9c4bf7e12b7981182ed8fd7c
17SHA1 (patch-Lib_test_test__bytes.py) = 9b97cd1cd753a0a7afdc601b606367655d4c47b1 17SHA1 (patch-Lib_test_test__bytes.py) = 9b97cd1cd753a0a7afdc601b606367655d4c47b1
18SHA1 (patch-Lib_test_test__platform.py) = b473d766ecdbba93cdcc66a4550c2d02bf37ae79 18SHA1 (patch-Lib_test_test__platform.py) = b473d766ecdbba93cdcc66a4550c2d02bf37ae79
19SHA1 (patch-Lib_test_test__posix.py) = 3fcc7b483f1797d273b2337daeac514bd60a1e78 19SHA1 (patch-Lib_test_test__posix.py) = 3fcc7b483f1797d273b2337daeac514bd60a1e78