newt:use python3-major instead of python3-majorver

"Zhang Wen" ([email protected] via blfs-dev Mailing List) <[email protected]> Sun, 9 Nov 2025 22:06:12 +0800
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <CAKjfnjoNY64NOyp6pnaj7ejRWoxFzkdC0e+dn26dvjBpnQKXhA@mail.gmail.com>
On the newt page, we have --with-python=python-3.13 to prevent
building the python2 module.
This will fail when we have python-3.14 for LFS, so i propose
switching to python3-major.
This can work even when the python3 version is out of sync, and won't
harm anything AFAICS.

-- 
Key fingerprint:
419F 72F3 F3A9 36EE 1B72  B00B C1C3 4BD4 FDA3 362F

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
0001-newt-use-python3-major-instead-of-python3-majorver.patch (text/x-patch, 734 B)
From 8d0a4d724e13e4d23e166689f00bbf3af85eda5a Mon Sep 17 00:00:00 2001
From: Zhang Wen <[email protected]>
Date: Sun, 9 Nov 2025 21:43:30 +0800
Subject: [PATCH] newt: use python3-major instead of python3-majorver

---
 general/graphlib/newt.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/general/graphlib/newt.xml b/general/graphlib/newt.xml
index 5f5d1ca265..d8669ea5c1 100644
--- a/general/graphlib/newt.xml
+++ b/general/graphlib/newt.xml
@@ -99,7 +99,7 @@
 
 ./configure --prefix=/usr      \
             --with-gpm-support \
-            --with-python=python&python3-majorver; &amp;&amp;
+            --with-python=python&python3-major; &amp;&amp;
 make</userinput></screen>
 
     <para>
-- 
2.51.2