upg python

This commit is contained in:
joborun linux 2022-03-25 00:13:48 +02:00
parent 75f9b333f9
commit 48a71e89c3
2 changed files with 7 additions and 10 deletions

View file

@ -8,7 +8,7 @@ shopt -s extglob
pkgbase=python
pkgname=(python python-tests)
pkgver=3.10.3
pkgver=3.10.4
pkgrel=01
_pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language - no ipv6 "
@ -24,8 +24,8 @@ prepare() {
# FS#23997
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
# Speed up LTO
sed -i -e "s|-flto |-flto=4 |g" configure configure.ac
# # Speed up LTO
# sed -i -e "s|-flto |-flto=4 |g" configure configure.ac
# Ensure that we are using the system copy of various libraries (expat, libffi, and libmpdec),
# rather than copies shipped in the tarball
@ -149,5 +149,5 @@ validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python re
'E3FF2839C048B25C084DEBE9B26995E310250568' # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
'A035C8C19219BA821ECEA86B64E628F8D684696D') # Pablo Galindo Salgado <pablogsal@gmail.com>
sha256sums=(596c72de998dc39205bc4f70ef0dbf7edec740a306d09b49a9bd0a77806730dc # Python-3.10.3.tar.xz
ac484339c893a3650d558ea478206c805321a0a798f170dcec9af2527d585d85) # Python-3.10.3.tar.xz.asc
sha256sums=(80bf925f571da436b35210886cf79f6eb5fa5d6c571316b73568343451f77a19 # Python-3.10.4.tar.xz
a4d5ff92a2743029a7bec2cb8cf07b799c52199d27493d453d38a37036c7d896) # Python-3.10.4.tar.xz.asc

View file

@ -8,7 +8,7 @@ shopt -s extglob
pkgbase=python
pkgname=(python python-tests)
pkgver=3.10.3
pkgver=3.10.4
pkgrel=1
_pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language"
@ -18,7 +18,7 @@ url="https://www.python.org/"
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib')
makedepends=('tk' 'sqlite' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font')
source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc})
sha512sums=('5020407798ebaae6002b8de29475c1064a32f1527a0e4ec6fe7fcf076b4ea3ef0ab4b4a7864a6081cc8dd01dd545123198b11cc8dd1259c670394b7d81f35a86'
sha512sums=('6c9aeecddc55c7896b2e8527fca131c7b2b6127d56ce1a001ccedfebf590334e0c0bb7c517ed3cf1da3c1910e002552b56aa7e03eeb672f42ff0bd8150799113'
'SKIP')
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
'E3FF2839C048B25C084DEBE9B26995E310250568' # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
@ -30,9 +30,6 @@ prepare() {
# FS#23997
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
# Speed up LTO
sed -i -e "s|-flto |-flto=4 |g" configure configure.ac
# Ensure that we are using the system copy of various libraries (expat, libffi, and libmpdec),
# rather than copies shipped in the tarball
rm -r Modules/expat