Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (6ee7606828f7c03988c8ebac28a61c5fcea6f669)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (6ee7606828f7c03988c8ebac28a61c5fcea6f669)
  • Date: Tue, 7 Oct 2025 17:56:50 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

devel/python3/DETAILS | 10 ++++++++--
devel/python3/HISTORY | 3 +++
devel/python3/PREPARE | 1 +
devel/python3/patches-3.14/disable-compileall.patch | 20
++++++++++++++++++++
devel/python3/patches-3.14/makefile.patch | 12 ++++++++++++
5 files changed, 44 insertions(+), 2 deletions(-)

New commits:
commit 6ee7606828f7c03988c8ebac28a61c5fcea6f669
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

devel/python3: versions 3.14.0 and 3.13.8

diff --git a/devel/python3/DETAILS b/devel/python3/DETAILS
index 349e1f8..b3517db 100755
--- a/devel/python3/DETAILS
+++ b/devel/python3/DETAILS
@@ -1,9 +1,13 @@
SPELL=python3
case "$PYTHON3_BRANCH" in
devel| \
- 3.13)
- VERSION=3.13.7 ;;
+ 3.14)
+ VERSION=3.14.0
+
SOURCE_HASH="sha512:46e9e205c3a084cba68bf7f267ab2fd0862a05430165e0eb713f2d6b3a1a4452f72f563de5de55caea824be9df56f66dd568f4814941667a9bb0954229772c53"
+ ;;
stable| \
+ 3.13)
+ VERSION=3.13.8 ;;
3.12)
VERSION=3.12.11 ;;
3.11)
@@ -24,10 +28,12 @@ esac
SOURCE_DIRECTORY="$BUILD_DIRECTORY/Python-$VERSION"
SOURCE_URL[0]=https://www.python.org/ftp/python/$VERSION/$SOURCE
# Watch: https://www.python.org/ftp/python/ href="(3[.][0-9.]+)/"
+if ! [[ "${PYTHON3_BRANCH}" =~ devel|3\.14 ]]; then
SOURCE2=$SOURCE.asc
SOURCE2_URL[0]=$SOURCE_URL.asc
SOURCE_GPG=python.gpg:$SOURCE2:UPSTREAM_KEY
SOURCE2_IGNORE=signature
+fi
WEB_SITE=https://www.python.org/
ENTERED=20081203
LICENSE[0]=PYTHON
diff --git a/devel/python3/HISTORY b/devel/python3/HISTORY
index 963ecd8..7e8b674 100644
--- a/devel/python3/HISTORY
+++ b/devel/python3/HISTORY
@@ -1,3 +1,6 @@
+2025-10-07 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS, PREPARE, patches-3.14/*: versions 3.14.0/3.13.8
+
2025-09-10 Thomas Orgis <sobukus AT sourcemag.org>
* DEPENDS: libxcrypt not optional anymore

diff --git a/devel/python3/PREPARE b/devel/python3/PREPARE
index 73b342c..b6a0ba2 100755
--- a/devel/python3/PREPARE
+++ b/devel/python3/PREPARE
@@ -2,6 +2,7 @@
prepare_select_branch \
stable \
devel \
+ 3.14 \
3.13 \
3.12 \
3.11 \
diff --git a/devel/python3/patches-3.14/disable-compileall.patch
b/devel/python3/patches-3.14/disable-compileall.patch
new file mode 100644
index 0000000..50881ad
--- /dev/null
+++ b/devel/python3/patches-3.14/disable-compileall.patch
@@ -0,0 +1,20 @@
+diff --git a/Makefile.pre.in b/Makefile.pre.in
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -2575,16 +2575,6 @@ libinstall: all $(srcdir)/Modules/xxmodule.c
+ echo "Applying app store compliance patch"; \
+ patch --force --reject-file
"$(abs_builddir)/app-store-compliance.rej" --strip 2 --directory
"$(DESTDIR)$(LIBDEST)" --input "$(abs_srcdir)/$(APP_STORE_COMPLIANCE_PATCH)"
|| true ; \
+ fi
+- @ # Build PYC files for the 3 optimization levels (0, 1, 2)
+- -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+- $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
+- -o 0 -o 1 -o 2 $(COMPILEALL_OPTS) -d $(LIBDEST) -f \
+- -x 'bad_coding|badsyntax|site-packages' \
+- $(DESTDIR)$(LIBDEST)
+- -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+- $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
+- -o 0 -o 1 -o 2 $(COMPILEALL_OPTS) -d $(LIBDEST)/site-packages
-f \
+- -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
+
+ # bpo-21536: Misc/python-config.sh is generated in the build directory
+ # from $(srcdir)Misc/python-config.sh.in.
diff --git a/devel/python3/patches-3.14/makefile.patch
b/devel/python3/patches-3.14/makefile.patch
new file mode 100644
index 0000000..65091a8
--- /dev/null
+++ b/devel/python3/patches-3.14/makefile.patch
@@ -0,0 +1,12 @@
+diff --git a/Makefile.pre.in b/Makefile.pre.in
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -1432,7 +1432,7 @@ regen-re: $(BUILDPYTHON)
+ $(RUNSHARED) ./$(BUILDPYTHON)
$(srcdir)/Tools/build/generate_re_casefix.py $(srcdir)/Lib/re/_casefix.py
+
+ Programs/_testembed: Programs/_testembed.o $(LINK_PYTHON_DEPS)
+- $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@
Programs/_testembed.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
++ $(CC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o
$(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
+
+ ############################################################################
+ # "Bootstrap Python" used to run Programs/_freeze_module.py


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (6ee7606828f7c03988c8ebac28a61c5fcea6f669), Pavel Vinogradov, 10/07/2025

Archive powered by MHonArc 2.6.24.

Top of Page