Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] Python 3.13
Date: Wed, 09 Oct 2024 20:28:42 +0200	[thread overview]
Message-ID: <20241009182842.B293D2CB9E@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52580@inbox.vuxu.org>

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

There is an updated pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages python3.13
https://github.com/void-linux/void-packages/pull/52580

[WIP] Python 3.13
We're going to wait until 3.13.1 this year, so work won't start in earnest for another month, but here's the start.

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

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

From 73226f1e97a145eb4857caa09a26131a877f7c70 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 9 Oct 2024 14:03:12 -0400
Subject: [PATCH 1/2] python3: update to 3.13.0.

---
 common/environment/setup/python.sh            |  2 +-
 .../hooks/pre-configure/02-script-wrapper.sh  |  2 +-
 common/shlibs                                 |  4 +-
 srcpkgs/python3/patches/ppc-fixes.patch       | 45 -------------------
 srcpkgs/python3/template                      | 14 +++---
 5 files changed, 12 insertions(+), 55 deletions(-)
 delete mode 100644 srcpkgs/python3/patches/ppc-fixes.patch

diff --git a/common/environment/setup/python.sh b/common/environment/setup/python.sh
index ab5c47d52847b1..75b3399c109e30 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.12"
+py3_ver="3.13"
 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 004c68442c061c..796e126caa8d88 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -238,6 +238,6 @@ hook() {
 	generic_wrapper3 libetpan-config
 	generic_wrapper3 giblib-config
 	python_wrapper python-config 2.7
-	python_wrapper python3-config 3.12
+	python_wrapper python3-config 3.13
 	apr_apu_wrapper apu-1-config
 }
diff --git a/common/shlibs b/common/shlibs
index 95f5918baf9991..a9bca215936267 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1727,8 +1727,8 @@ libportaudio.so.2 portaudio-19.20140130_1
 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.12.0_1
-libpython3.12.so.1.0 python3-3.12.0_1
+libpython3.so python3-3.13.0_1
+libpython3.13.so.1.0 python3-3.13.0_1
 libbrscandec2.so.1 brother-brscan3-0.2.11_2
 libxmlrpc_server_abyss.so.3 xmlrpc-c-1.51.06_2
 libxmlrpc++.so.8 xmlrpc-c-1.51.06_2
diff --git a/srcpkgs/python3/patches/ppc-fixes.patch b/srcpkgs/python3/patches/ppc-fixes.patch
deleted file mode 100644
index fc5937725162e7..00000000000000
--- a/srcpkgs/python3/patches/ppc-fixes.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -ur a/configure b/configure
---- a/configure
-+++ b/configure
-@@ -5952,6 +5952,14 @@
- printf "%s\n" "$ac_cv_path_EGREP" >&6; }
-  EGREP="$ac_cv_path_EGREP"
- 
-+if test x$MULTIARCH = xpowerpc-linux-musl
-+then
-+	MULTIARCH="powerpc-linux-gnu"
-+fi
-+if test x$MULTIARCH = xpowerpcle-linux-musl
-+then
-+	MULTIARCH="powerpcle-linux-gnu"
-+fi
- 
- 
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CC compiler name" >&5
-@@ -6859,7 +6867,11 @@
-         powerpc64-linux-gnu
- #  endif
- # elif defined(__powerpc__)
-+#  if defined(__LITTLE_ENDIAN__)
-+        powerpcle-linux-gnu
-+#  else
-         powerpc-linux-gnu
-+#  endif
- # elif defined(__s390x__)
-         s390x-linux-gnu
- # elif defined(__s390__)
-diff -ur a/configure.ac b/configure.ac
---- a/configure.ac
-+++ b/configure.ac
-@@ -1039,7 +1039,11 @@
-         powerpc64-linux-gnu
- #  endif
- # elif defined(__powerpc__)
-+#  if defined(__LITTLE_ENDIAN__)
-+        powerpcle-linux-gnu
-+#  else
-         powerpc-linux-gnu
-+#  endif
- # elif defined(__s390x__)
-         s390x-linux-gnu
- # elif defined(__s390__)
diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template
index 460d07bb6c516d..579fe17207b28f 100644
--- a/srcpkgs/python3/template
+++ b/srcpkgs/python3/template
@@ -3,12 +3,12 @@
 # THIS PACKAGE MUST BE SYNCHRONIZED WITH "srcpkgs/python3-tkinter".
 #
 pkgname=python3
-version=3.12.7
+version=3.13.0
 revision=1
 build_style="gnu-configure"
-configure_args="--enable-shared --enable-ipv6 --enable-optimizations
+configure_args="--enable-shared --enable-ipv6
  --enable-loadable-sqlite-extensions --with-computed-gotos
- --with-dbmliborder=gdbm:ndbm --with-system-expat --with-system-ffi
+ --with-dbmliborder=gdbm:ndbm --with-system-expat
  --without-ensurepip ac_cv_working_tzset=yes"
 pycompile_dirs="usr/lib/python${version%.*}"
 hostmakedepends="pkgconf autoconf-archive automake"
@@ -20,13 +20,13 @@ short_desc="Python programming language (${version%.*} series)"
 maintainer="Andrew J. Hesford <ajh@sideband.org>"
 license="Python-2.0"
 homepage="https://www.python.org"
-_bluez="bluez-5.64"
+_bluez="bluez-5.76"
 distfiles="
  https://www.python.org/ftp/python/${version%rc*}/Python-${version}.tar.xz
  ${KERNEL_SITE}/bluetooth/${_bluez}.tar.xz
 "
-checksum="24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550
- ae437e65b6b3070c198bc5b0109fe9cdeb9eaa387380e2072f9de65fe8a1de34"
+checksum="086de5882e3cb310d4dca48457522e2e48018ecd43da9cdf827f6a0759efb07d
+ 55e2c645909ad82d833c42ce85ec20434e0ef0070941b1eab73facdd240bbd63"
 skip_extraction="${_bluez}.tar.xz"
 
 alternatives="
@@ -44,6 +44,8 @@ if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python3"
 	configure_args+=" --with-build-python=python${py3_ver}"
 	configure_args+=" ac_cv_broken_sem_getvalue=no"
+else
+	configure_args+=" --enable-optimizations"
 fi
 
 post_extract() {

From ae044fe7333d9aa58daaa8411d7d43961a31424f Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 9 Oct 2024 14:06:54 -0400
Subject: [PATCH 2/2] python3-tkinter: update to 3.13.0.

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

diff --git a/srcpkgs/python3-tkinter/template b/srcpkgs/python3-tkinter/template
index 607459ff1b445e..cf28b0555c9306 100644
--- a/srcpkgs/python3-tkinter/template
+++ b/srcpkgs/python3-tkinter/template
@@ -8,10 +8,10 @@
 _desc="Python programming language"
 
 pkgname=python3-tkinter
-version=3.12.7
+version=3.13.0
 revision=1
 build_style="gnu-configure"
-configure_args="--enable-shared --enable-ipv6 --enable-optimizations
+configure_args="--enable-shared --enable-ipv6
  --enable-loadable-sqlite-extensions --with-computed-gotos
  --with-dbmliborder=gdbm:ndbm --with-system-expat --with-system-ffi
  --without-ensurepip"
@@ -28,7 +28,7 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
 homepage="https://www.python.org"
 license="Python-2.0"
 distfiles="https://www.python.org/ftp/python/${version%rc*}/Python-${version}.tar.xz"
-checksum=24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550
+checksum=086de5882e3cb310d4dca48457522e2e48018ecd43da9cdf827f6a0759efb07d
 
 if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
 	makedepends+=" libxcrypt-devel"
@@ -37,6 +37,8 @@ fi
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" python3"
 	configure_args+=" --with-build-python=python${py3_ver}"
+else
+	configure_args+=" --enable-optimizations"
 fi
 
 post_extract() {

  reply	other threads:[~2024-10-09 18:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-09 18:10 [PR PATCH] " ahesford
2024-10-09 18:28 ` ahesford [this message]
2024-11-16 17:28 ` [PR PATCH] [Updated] " ahesford
2024-11-16 17:49 ` ahesford
2024-11-16 18:25 ` ahesford
2024-11-16 20:26 ` ahesford
2024-11-16 20:55 ` ahesford
2024-11-16 21:52 ` ahesford
2024-11-16 22:09 ` ahesford
2024-11-16 22:15 ` ahesford
2024-11-16 23:24 ` ahesford
2024-11-17  0:23 ` ahesford
2024-11-17  1:43 ` ahesford
2024-11-17  1:48 ` ahesford
2024-11-17  2:07 ` ahesford
2024-11-17  3:31 ` ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241009182842.B293D2CB9E@inbox.vuxu.org \
    --to=ahesford@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).