core/python to 3.10.1-2

This commit is contained in:
Kevin Mihelich 2021-12-26 17:14:38 +00:00
parent 4194633a4a
commit 15490ee3ac

View file

@ -13,7 +13,7 @@ shopt -s extglob
pkgbase=python
pkgname=(python python-tests)
pkgver=3.10.1
pkgrel=1
pkgrel=2
_pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language"
arch=('x86_64')
@ -22,10 +22,12 @@ 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}
https://bugs.python.org/file50485/cmp_interned_strings.patch)
https://bugs.python.org/file50485/cmp_interned_strings.patch
https://github.com/python/cpython/commit/934a24c641da5bc4bdb724e901adc20f9a5dff40.patch)
sha512sums=('1c559e33f1252e51bafb941c380de16f142c0735858363c84cb8dbed6767843de3af126889c2826ffb94bd4777d7cdfc31040301c8c74de56af52b80b1aa9e76'
'SKIP'
'd97fe57566169bfc06713d4aa420e1c85c0b9c1d0f96d61cdd3a4a86b2340753a80c56e0d48c16b513e3f639cee83b7fbbc0c21045d2f37bf37543048f914557')
'd97fe57566169bfc06713d4aa420e1c85c0b9c1d0f96d61cdd3a4a86b2340753a80c56e0d48c16b513e3f639cee83b7fbbc0c21045d2f37bf37543048f914557'
'4257fabc494135313ad1df2e1b3e3ae1109b049a08b4968be6e54788327aefa81e3374e96b5dfedfc1488ec22a481c95900e250a9e3c917f7632f58030329ada')
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
'E3FF2839C048B25C084DEBE9B26995E310250568' # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
'A035C8C19219BA821ECEA86B64E628F8D684696D') # Pablo Galindo Salgado <pablogsal@gmail.com>
@ -33,6 +35,9 @@ validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python re
prepare() {
cd Python-${pkgver}
# fixes crashes in sagemath - by arojas
patch -Np1 -i ../934a24c641da5bc4bdb724e901adc20f9a5dff40.patch
# FS#72979
patch -Np1 -i ../cmp_interned_strings.patch