extra/python: fix

This commit is contained in:
Kevin Mihelich 2021-04-25 20:37:29 +00:00
parent 9b57ce7eb3
commit c7d965f89c

View file

@ -22,12 +22,10 @@ url="https://www.python.org/"
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib')
makedepends=('tk' 'sqlite' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font')
source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc}
mpdecimal-2.5.1.patch
https://github.com/python/cpython/commit/c7b0feca25fc68ec3e0884b82e5f45a4da011e8e.patch)
mpdecimal-2.5.1.patch)
sha512sums=('3d8a5a38de0df6edc074d141e0b4a12b79d80439e4341cd4519218aa4bb7317be2736a17058ceec43fc987fc17ea5167c19eeafbdeef732a2f1656fe2f0f0d39'
'SKIP'
'58f683cbfdc6aa84c03d068c1bc2f1d8d2c17ba4f7b632c14ab1d529d8332e767354266c3815e239427497fff1a42ec2a37739ea312d24cb76a69dcf1c98c0ad'
'2c439ac64c7101264b83fb350135186bb3b69f92c89fe3d4a2e29a558b6dcc1d5ba2cd45cb2bc4b9ca5b25ce79c31683b3b8bf076ca101c83399c41e034782e7')
'58f683cbfdc6aa84c03d068c1bc2f1d8d2c17ba4f7b632c14ab1d529d8332e767354266c3815e239427497fff1a42ec2a37739ea312d24cb76a69dcf1c98c0ad')
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
'E3FF2839C048B25C084DEBE9B26995E310250568') # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
@ -35,7 +33,6 @@ prepare() {
cd Python-${pkgver}
patch -p1 -i ../mpdecimal-2.5.1.patch
patch -p1 -i ../c7b0feca25fc68ec3e0884b82e5f45a4da011e8e.patch
# https://bugs.python.org/issue41346
sed -i 's/-j0 //' Makefile.pre.in