python3.14 (π)

This commit is contained in:
Ali Riza KESKIN committed 2026-05-06 10:11:31 +03:00
1 parent c4259df797
commit cda753e9f8
32 files changed
+128 -97

No files matched your search

+2 -1
View File
@@ -1,4 +1,5 @@
version=3.11
#!/bin/sh
version=$1
pip$version list 2>/dev/null | grep -e '[a-zA-Z]* [0-9]' | cut -f1 -d' ' | while read line ; do
ymp search --file "/$line/"
done
+2 -2
View File
@@ -1,14 +1,14 @@
#!/usr/bin/env bash
name='python'
release='3'
version='3.13'
version='3.14'
url='https://gitlab.com/turkman'
description='Python meta package'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=('pydefault' 'python.sysconf')
depends=('python3.13|python3.12')
depends=('python3.14|python3.13')
makedepends=()
md5sums=('SKIP' 'SKIP')
uses=()
File renamed without changes.
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='python3.12'
name='python3.14'
release='1'
version='3.12.4'
version='3.14.4'
url='https://www.python.org/downloads/'
description='Next generation of the python high-level scripting language'
email='parduscix@yandex.ru'
@@ -11,7 +11,7 @@ source=("https://www.python.org/ftp/python/$version/Python-$version.tar.xz"
'turkman.patch')
depends=('bzip2' 'gdbm' 'libnsl' 'libxcrypt' 'openssl' 'zlib' 'mpdecimal')
makedepends=( )
sha256sums=('f6d419a6d8743ab26700801b4908d26d97e8b986e14f95de31b32de2b0e79554'
sha256sums=('d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8'
'SKIP')
expat_depends=('expat')
arch=('x86_64')
@@ -36,7 +36,8 @@ setup(){
--with-computed-gotos \
--with-dbmliborder=gdbm:ndbm \
--with-system-expat \
--with-system-libmpdec
--with-system-libmpdec \
--without-ensurepip
sed -i 's/^all:.*$/all: build_all/' Makefile
env -i PATH=$PATH make $jobs
@@ -45,14 +46,17 @@ setup(){
package(){
env -i PATH=$PATH make install $jobs DESTDIR=$DESTDIR
# this symlinks provided by main python metapackage
for bin in pydoc3 idle3 python3 python3-config pip3 2to3; do
for bin in pydoc3 idle3 python3 python3-config; do
rm -f ${DESTDIR}/usr/bin/$bin
done
# pip3 command
echo '#!/bin/sh' > ${DESTDIR}/usr/bin/pip3.14
echo 'exec python3.14 -m pip "$@"' >> ${DESTDIR}/usr/bin/pip3.14
rm -f ${DESTDIR}/usr/lib64/pkgconfig/python3.pc
rm -f ${DESTDIR}/usr/lib64/pkgconfig/python3-embed.pc
# remove unused file
rm -f ${DESTDIR}/usr/share/man/man1/python3.1
# move libpython3.so file
mv ${DESTDIR}/usr/lib64/libpython3.so ${DESTDIR}/usr/lib64/libpython3.so.3.12
mv ${DESTDIR}/usr/lib64/libpython3.so ${DESTDIR}/usr/lib64/libpython3.so.3.14
}