extra/python to 3.8.5-1

This commit is contained in:
Kevin Mihelich 2020-07-29 13:41:31 +00:00
parent bface758dc
commit 89e7a97b4f

View file

@ -13,7 +13,7 @@ shopt -s extglob
pkgbase=python
pkgname=(python python-tests)
pkgver=3.8.4
pkgver=3.8.5
pkgrel=1
_pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language"
@ -23,7 +23,7 @@ url="https://www.python.org/"
depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl')
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=('37a36d014a8372742be9d0bd9dd3a275e100dc21b1515c145bc62425d4d157327b6e63ad99bc888c0b36c1da4c05676c40eb086e75072d1906e3210ec3043dcb'
sha512sums=('460cee65d7df7150694590575502d7f22e548ebfc99c8f8b363eef8bf30ee72e58d8ffacb1d607824f877f880eb9fd6775a508388029583e1e1df3380f3f9587'
'SKIP')
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
'E3FF2839C048B25C084DEBE9B26995E310250568') # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
@ -31,10 +31,6 @@ validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python re
prepare() {
cd Python-${pkgver}
# https://bugs.python.org/issue41302
# Fix for --with-system-libmpdec with mpdecimal 2.5
sed -i '/#include "mpdecimal.h"/a #define UNUSED __attribute__((unused))' Modules/_decimal/_decimal.c
# FS#23997
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py