Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] Python 3.11
@ 2022-09-18 17:36 ahesford
  2022-09-18 18:05 ` [PR PATCH] [Updated] " ahesford
                   ` (115 more replies)
  0 siblings, 116 replies; 117+ messages in thread
From: ahesford @ 2022-09-18 17:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is a new pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages py311
https://github.com/void-linux/void-packages/pull/39346

[WIP] Python 3.11
Tracking the Python 3.11 version bump.

A patch file from https://github.com/void-linux/void-packages/pull/39346.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py311-39346.patch --]
[-- Type: text/x-diff, Size: 4351 bytes --]

From e3e6c3955b18031cad668ddda0d055c1558f31d3 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Sun, 18 Sep 2022 13:34:27 -0400
Subject: [PATCH 1/2] python3: update to 3.11.0.

---
 common/environment/setup/python.sh              | 2 +-
 common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
 common/shlibs                                   | 2 +-
 srcpkgs/python3/template                        | 8 ++++----
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/common/environment/setup/python.sh b/common/environment/setup/python.sh
index 43ee4d08a54d..606a4bc6f9a8 100644
--- a/common/environment/setup/python.sh
+++ b/common/environment/setup/python.sh
@@ -7,7 +7,7 @@ py2_lib="usr/lib/python${py2_ver}"
 py2_sitelib="${py2_lib}/site-packages"
 py2_inc="usr/include/python${py2_ver}"
 
-py3_ver="3.10"
+py3_ver="3.11"
 py3_abiver=""
 py3_lib="usr/lib/python${py3_ver}"
 py3_sitelib="${py3_lib}/site-packages"
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 09c796001ea3..641d7ab762c0 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -236,7 +236,7 @@ hook() {
 	generic_wrapper3 libetpan-config
 	generic_wrapper3 giblib-config
 	python_wrapper python-config 2.7
-	python_wrapper python3-config 3.10
+	python_wrapper python3-config 3.11
 	apr_apu_wrapper apr-1-config
 	apr_apu_wrapper apu-1-config
 }
diff --git a/common/shlibs b/common/shlibs
index a8013ef13c82..6767afdab2a1 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1733,7 +1733,7 @@ libportaudiocpp.so.0 portaudio-cpp-19.20140130_1
 libdar.so.6000 libdar-2.6.6_1
 libdar64.so.6000 libdar-2.6.6_1
 libpython3.so python3-3.9.2_2
-libpython3.10.so.1.0 python3-3.10.0_1
+libpython3.11.so.1.0 python3-3.11.0_1
 libbrscandec2.so.1 brother-brscan3-0.2.11_2
 libpyglib-2.0-python.so.0 python-gobject2-2.28.6_11
 libxmlrpc_server_abyss.so.3 xmlrpc-c-1.51.06_2
diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template
index 3cb53a43f1bc..9993e168ed37 100644
--- a/srcpkgs/python3/template
+++ b/srcpkgs/python3/template
@@ -3,9 +3,9 @@
 # THIS PACKAGE MUST BE SYNCHRONIZED WITH "srcpkgs/python3-tkinter".
 #
 pkgname=python3
-version=3.10.7
+version=3.11.0
 revision=1
-wrksrc="Python-${version}"
+wrksrc="Python-${version}rc2"
 build_style="gnu-configure"
 configure_args="--enable-shared --enable-ipv6
  --enable-loadable-sqlite-extensions --with-computed-gotos
@@ -21,8 +21,8 @@ short_desc="Python programming language (${version%.*} series)"
 maintainer="Andrew J. Hesford <ajh@sideband.org>"
 license="Python-2.0"
 homepage="https://www.python.org"
-distfiles="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz"
-checksum=6eed8415b7516fb2f260906db5d48dd4c06acc0cb24a7d6cc15296a604dcdc48
+distfiles="https://www.python.org/ftp/python/${version}/Python-${version}rc2.tar.xz"
+checksum=25b35cc7d82c5ad34d867b179a1c1695d129be5ed14a21e46b6b7f2350a8b490
 
 alternatives="
  python:idle:/usr/bin/idle${version%.*}

From b0a3853d726e9427e36665cd4107738d8ffdc494 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Sun, 18 Sep 2022 13:34:44 -0400
Subject: [PATCH 2/2] python3-tkinter: update to 3.11.0.

---
 srcpkgs/python3-tkinter/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-tkinter/template b/srcpkgs/python3-tkinter/template
index 89bca4de5bf2..a2110c18648b 100644
--- a/srcpkgs/python3-tkinter/template
+++ b/srcpkgs/python3-tkinter/template
@@ -8,9 +8,9 @@
 _desc="Python programming language"
 
 pkgname=python3-tkinter
-version=3.10.7
+version=3.11.0
 revision=1
-wrksrc="Python-${version}"
+wrksrc="Python-${version}rc2"
 build_style="gnu-configure"
 configure_args="--enable-shared --enable-ipv6
  --enable-loadable-sqlite-extensions --with-computed-gotos
@@ -28,7 +28,7 @@ short_desc="${_desc} - GUI toolkit for Python3"
 maintainer="Andrew J. Hesford <ajh@sideband.org>"
 homepage="https://www.python.org"
 license="Python-2.0"
-distfiles="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz"
+distfiles="https://www.python.org/ftp/python/${version}/Python-${version}rc2.tar.xz"
 checksum=6eed8415b7516fb2f260906db5d48dd4c06acc0cb24a7d6cc15296a604dcdc48
 
 if [ "$CROSS_BUILD" ]; then

^ permalink raw reply	[flat|nested] 117+ messages in thread