git: 50dd612ca9a1 - main - lang/python311: Update to 3.11.1

From: Wen Heping <wen_at_FreeBSD.org>
Date: Wed, 07 Dec 2022 14:03:10 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=50dd612ca9a19fe402451e8a08e4d2cee1913331

commit 50dd612ca9a19fe402451e8a08e4d2cee1913331
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-12-07 14:01:41 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-12-07 14:01:41 +0000

    lang/python311: Update to 3.11.1
---
 lang/python-doc-html/distinfo        | 18 +++++++++---------
 lang/python311/Makefile              |  1 -
 lang/python311/Makefile.version      |  2 +-
 lang/python311/distinfo              |  6 +++---
 lang/python311/files/patch-configure | 10 +++++-----
 lang/python311/pkg-plist             | 22 +++++++++-------------
 6 files changed, 27 insertions(+), 32 deletions(-)

diff --git a/lang/python-doc-html/distinfo b/lang/python-doc-html/distinfo
index b2e03e40672b..e70b0ee80efe 100644
--- a/lang/python-doc-html/distinfo
+++ b/lang/python-doc-html/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1666740564
+TIMESTAMP = 1670421082
 SHA256 (python/python-2.7.18-docs-html.tar.bz2) = 20445e9a571cacdd350f702f0980e4dc559b6ff81f1d69affe9b0a862fef2f0e
 SIZE (python/python-2.7.18-docs-html.tar.bz2) = 4634932
 SHA256 (python/python-2.7.18-docs-pdf-a4.tar.bz2) = dbac6953e48aac341351067ba0938393e415b10bf48ac8cbbc7247deaf13ab67
@@ -15,14 +15,14 @@ SHA256 (python/python-3.10.8-docs-pdf-letter.tar.bz2) = 41a91629661f741e12880a88
 SIZE (python/python-3.10.8-docs-pdf-letter.tar.bz2) = 16501568
 SHA256 (python/python-3.10.8-docs-text.tar.bz2) = 45476053077e8bc67acc36ae60bcbbfef89d7a2d02efb19127f65eaa9ae0819d
 SIZE (python/python-3.10.8-docs-text.tar.bz2) = 2659975
-SHA256 (python/python-3.11.0-docs-html.tar.bz2) = 81889d9ee5ec16f141a7e8d5b9f6a135f4c83994fdd9422d6b58faf5b45663d8
-SIZE (python/python-3.11.0-docs-html.tar.bz2) = 7663300
-SHA256 (python/python-3.11.0-docs-pdf-a4.tar.bz2) = 07b5b13fdd15bd651a1f8a33296aa1eccf1ca91b71a86103410a0825097a4bad
-SIZE (python/python-3.11.0-docs-pdf-a4.tar.bz2) = 16919727
-SHA256 (python/python-3.11.0-docs-pdf-letter.tar.bz2) = a54e632fdb69dd4ed4243f94b5f968e5187aac1a60a40773e5b6341c519e7fbc
-SIZE (python/python-3.11.0-docs-pdf-letter.tar.bz2) = 17029079
-SHA256 (python/python-3.11.0-docs-text.tar.bz2) = d19591faa47422f02375182cd0ce088c4cf0d2471bec781e4081953875d352f1
-SIZE (python/python-3.11.0-docs-text.tar.bz2) = 2770386
+SHA256 (python/python-3.11.1-docs-html.tar.bz2) = 32949cefd4125a7db02c6ee3a2bc8ea624e971ab2a39d74d3389826927168468
+SIZE (python/python-3.11.1-docs-html.tar.bz2) = 7701638
+SHA256 (python/python-3.11.1-docs-pdf-a4.tar.bz2) = ac18b6ea8657e392218e2d172a88d1d45ef938af47a70ff390fa3425f795e4a4
+SIZE (python/python-3.11.1-docs-pdf-a4.tar.bz2) = 16982843
+SHA256 (python/python-3.11.1-docs-pdf-letter.tar.bz2) = f68a90ac22842a06fe7f3152736f69ae1d7ce5eadabae382a4aacd7e3d2c760f
+SIZE (python/python-3.11.1-docs-pdf-letter.tar.bz2) = 17105728
+SHA256 (python/python-3.11.1-docs-text.tar.bz2) = ad67c599cfc59cb72b6c568ff3ae17a871210cdfaeaa9fcf53b81a26f992aed2
+SIZE (python/python-3.11.1-docs-text.tar.bz2) = 2785623
 SHA256 (python/python-3.7.15-docs-html.tar.bz2) = d7e1659c6555212fa8f7c9e4da651fe0128ea851b0561a258c3ddd02918f35fc
 SIZE (python/python-3.7.15-docs-html.tar.bz2) = 6275339
 SHA256 (python/python-3.7.15-docs-pdf-a4.tar.bz2) = 3e718943ae60ce953c9ab185015e9197c6d875f574a361c4fb1c9582c226ecb5
diff --git a/lang/python311/Makefile b/lang/python311/Makefile
index 900776860f1f..81b31ae90b5c 100644
--- a/lang/python311/Makefile
+++ b/lang/python311/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	python
 DISTVERSION=	${PYTHON_DISTVERSION}
-PORTREVISION=	1
 CATEGORIES=	lang python
 MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
 PKGNAMESUFFIX=	${PYTHON_SUFFIX}
diff --git a/lang/python311/Makefile.version b/lang/python311/Makefile.version
index 814ac4872030..5794993c58d1 100644
--- a/lang/python311/Makefile.version
+++ b/lang/python311/Makefile.version
@@ -4,4 +4,4 @@
 # 1. Update python documentation (lang/python-doc-*)
 #    Run "make -C lang/python-doc-html makesum"
 # 2. Remove PORTREVISION in Makefile
-PYTHON_DISTVERSION=	3.11.0
+PYTHON_DISTVERSION=	3.11.1
diff --git a/lang/python311/distinfo b/lang/python311/distinfo
index d86ff496dbc3..be573a8d5acb 100644
--- a/lang/python311/distinfo
+++ b/lang/python311/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1666739665
-SHA256 (python/Python-3.11.0.tar.xz) = a57dc82d77358617ba65b9841cee1e3b441f386c3789ddc0676eca077f2951c3
-SIZE (python/Python-3.11.0.tar.xz) = 19819768
+TIMESTAMP = 1670414884
+SHA256 (python/Python-3.11.1.tar.xz) = 85879192f2cffd56cb16c092905949ebf3e5e394b7f764723529637901dfb58f
+SIZE (python/Python-3.11.1.tar.xz) = 19856648
diff --git a/lang/python311/files/patch-configure b/lang/python311/files/patch-configure
index aa89baed8cc0..4aa2a57ef300 100644
--- a/lang/python311/files/patch-configure
+++ b/lang/python311/files/patch-configure
@@ -1,11 +1,11 @@
---- configure.orig	2022-02-23 19:32:58 UTC
+--- configure.orig	2022-12-07 13:31:07 UTC
 +++ configure
-@@ -7244,7 +7244,7 @@ fi
+@@ -7630,7 +7630,7 @@ if test "$Py_LTO" = 'true' ; then
  
  if test "$Py_LTO" = 'true' ; then
    case $CC in
 -    *clang*)
 +    *clang*|cc)
-             LDFLAGS_NOLTO="-fno-lto"
- 
-       if test -n "$ac_tool_prefix"; then
+       LDFLAGS_NOLTO="-fno-lto"
+                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -flto=thin" >&5
+ $as_echo_n "checking whether C compiler accepts -flto=thin... " >&6; }
diff --git a/lang/python311/pkg-plist b/lang/python311/pkg-plist
index b40b22a2dd93..1512108f8996 100644
--- a/lang/python311/pkg-plist
+++ b/lang/python311/pkg-plist
@@ -2205,7 +2205,7 @@ lib/python%%XYDOT%%/ensurepip/__pycache__/__main__.cpython-%%XY%%.pyc
 lib/python%%XYDOT%%/ensurepip/__pycache__/_uninstall.cpython-%%XY%%.opt-1.pyc
 lib/python%%XYDOT%%/ensurepip/__pycache__/_uninstall.cpython-%%XY%%.opt-2.pyc
 lib/python%%XYDOT%%/ensurepip/__pycache__/_uninstall.cpython-%%XY%%.pyc
-lib/python%%XYDOT%%/ensurepip/_bundled/pip-22.3-py3-none-any.whl
+lib/python%%XYDOT%%/ensurepip/_bundled/pip-22.3.1-py3-none-any.whl
 lib/python%%XYDOT%%/ensurepip/_bundled/setuptools-65.5.0-py3-none-any.whl
 lib/python%%XYDOT%%/ensurepip/_uninstall.py
 lib/python%%XYDOT%%/enum.py
@@ -3909,9 +3909,6 @@ lib/python%%XYDOT%%/test/__pycache__/test_calendar.cpython-%%XY%%.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_call.cpython-%%XY%%.opt-1.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_call.cpython-%%XY%%.opt-2.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_call.cpython-%%XY%%.pyc
-lib/python%%XYDOT%%/test/__pycache__/test_capi.cpython-%%XY%%.opt-1.pyc
-lib/python%%XYDOT%%/test/__pycache__/test_capi.cpython-%%XY%%.opt-2.pyc
-lib/python%%XYDOT%%/test/__pycache__/test_capi.cpython-%%XY%%.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_cgi.cpython-%%XY%%.opt-1.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_cgi.cpython-%%XY%%.opt-2.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_cgi.cpython-%%XY%%.pyc
@@ -4275,9 +4272,6 @@ lib/python%%XYDOT%%/test/__pycache__/test_genericpath.cpython-%%XY%%.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_genexps.cpython-%%XY%%.opt-1.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_genexps.cpython-%%XY%%.opt-2.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_genexps.cpython-%%XY%%.pyc
-lib/python%%XYDOT%%/test/__pycache__/test_getargs2.cpython-%%XY%%.opt-1.pyc
-lib/python%%XYDOT%%/test/__pycache__/test_getargs2.cpython-%%XY%%.opt-2.pyc
-lib/python%%XYDOT%%/test/__pycache__/test_getargs2.cpython-%%XY%%.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_getopt.cpython-%%XY%%.opt-1.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_getopt.cpython-%%XY%%.opt-2.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_getopt.cpython-%%XY%%.pyc
@@ -4779,9 +4773,6 @@ lib/python%%XYDOT%%/test/__pycache__/test_strtod.cpython-%%XY%%.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_struct.cpython-%%XY%%.opt-1.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_struct.cpython-%%XY%%.opt-2.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_struct.cpython-%%XY%%.pyc
-lib/python%%XYDOT%%/test/__pycache__/test_structmembers.cpython-%%XY%%.opt-1.pyc
-lib/python%%XYDOT%%/test/__pycache__/test_structmembers.cpython-%%XY%%.opt-2.pyc
-lib/python%%XYDOT%%/test/__pycache__/test_structmembers.cpython-%%XY%%.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_structseq.cpython-%%XY%%.opt-1.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_structseq.cpython-%%XY%%.opt-2.pyc
 lib/python%%XYDOT%%/test/__pycache__/test_structseq.cpython-%%XY%%.pyc
@@ -5773,7 +5764,6 @@ lib/python%%XYDOT%%/test/test_bz2.py
 lib/python%%XYDOT%%/test/test_c_locale_coercion.py
 lib/python%%XYDOT%%/test/test_calendar.py
 lib/python%%XYDOT%%/test/test_call.py
-lib/python%%XYDOT%%/test/test_capi.py
 lib/python%%XYDOT%%/test/test_cgi.py
 lib/python%%XYDOT%%/test/test_cgitb.py
 lib/python%%XYDOT%%/test/test_charmapcodec.py
@@ -6032,7 +6022,6 @@ lib/python%%XYDOT%%/test/test_genericalias.py
 lib/python%%XYDOT%%/test/test_genericclass.py
 lib/python%%XYDOT%%/test/test_genericpath.py
 lib/python%%XYDOT%%/test/test_genexps.py
-lib/python%%XYDOT%%/test/test_getargs2.py
 lib/python%%XYDOT%%/test/test_getopt.py
 lib/python%%XYDOT%%/test/test_getpass.py
 lib/python%%XYDOT%%/test/test_getpath.py
@@ -6767,7 +6756,6 @@ lib/python%%XYDOT%%/test/test_stringprep.py
 lib/python%%XYDOT%%/test/test_strptime.py
 lib/python%%XYDOT%%/test/test_strtod.py
 lib/python%%XYDOT%%/test/test_struct.py
-lib/python%%XYDOT%%/test/test_structmembers.py
 lib/python%%XYDOT%%/test/test_structseq.py
 lib/python%%XYDOT%%/test/test_subclassinit.py
 lib/python%%XYDOT%%/test/test_subprocess.py
@@ -6972,6 +6960,14 @@ lib/python%%XYDOT%%/test/tracedmodules/__pycache__/testmod.cpython-%%XY%%.opt-1.
 lib/python%%XYDOT%%/test/tracedmodules/__pycache__/testmod.cpython-%%XY%%.opt-2.pyc
 lib/python%%XYDOT%%/test/tracedmodules/__pycache__/testmod.cpython-%%XY%%.pyc
 lib/python%%XYDOT%%/test/tracedmodules/testmod.py
+lib/python%%XYDOT%%/test/typinganndata/__init__.py
+lib/python%%XYDOT%%/test/typinganndata/__pycache__/__init__.cpython-%%XY%%.opt-1.pyc
+lib/python%%XYDOT%%/test/typinganndata/__pycache__/__init__.cpython-%%XY%%.opt-2.pyc
+lib/python%%XYDOT%%/test/typinganndata/__pycache__/__init__.cpython-%%XY%%.pyc
+lib/python%%XYDOT%%/test/typinganndata/__pycache__/ann_module9.cpython-%%XY%%.opt-1.pyc
+lib/python%%XYDOT%%/test/typinganndata/__pycache__/ann_module9.cpython-%%XY%%.opt-2.pyc
+lib/python%%XYDOT%%/test/typinganndata/__pycache__/ann_module9.cpython-%%XY%%.pyc
+lib/python%%XYDOT%%/test/typinganndata/ann_module9.py
 lib/python%%XYDOT%%/test/win_console_handler.py
 lib/python%%XYDOT%%/test/xmltestdata/c14n-20/README
 lib/python%%XYDOT%%/test/xmltestdata/c14n-20/c14nComment.xml