mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
core/python to 3.10.4-2
This commit is contained in:
parent
d23709cbb5
commit
ab428adfbf
1 changed files with 8 additions and 3 deletions
|
@ -13,7 +13,7 @@ shopt -s extglob
|
||||||
pkgbase=python
|
pkgbase=python
|
||||||
pkgname=(python python-tests)
|
pkgname=(python python-tests)
|
||||||
pkgver=3.10.4
|
pkgver=3.10.4
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
_pybasever=${pkgver%.*}
|
_pybasever=${pkgver%.*}
|
||||||
pkgdesc="Next generation of the python high-level scripting language"
|
pkgdesc="Next generation of the python high-level scripting language"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -21,9 +21,11 @@ license=('custom')
|
||||||
url="https://www.python.org/"
|
url="https://www.python.org/"
|
||||||
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib')
|
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib')
|
||||||
makedepends=('tk' 'sqlite' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font')
|
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})
|
source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc}
|
||||||
|
https://github.com/python/cpython/commit/178a238f25ab8aff7689d7a09d66dc1583ecd6cb.patch)
|
||||||
sha512sums=('6c9aeecddc55c7896b2e8527fca131c7b2b6127d56ce1a001ccedfebf590334e0c0bb7c517ed3cf1da3c1910e002552b56aa7e03eeb672f42ff0bd8150799113'
|
sha512sums=('6c9aeecddc55c7896b2e8527fca131c7b2b6127d56ce1a001ccedfebf590334e0c0bb7c517ed3cf1da3c1910e002552b56aa7e03eeb672f42ff0bd8150799113'
|
||||||
'SKIP')
|
'SKIP'
|
||||||
|
'a76517ddfcbfa7363999016ba6b938677f07350c4c167c49e5837d8711bea1c0d49f3c77706e361b88fe915fba8b2de7dc6dc251afa2d0a93ea03287bbde475d')
|
||||||
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
|
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
|
||||||
'E3FF2839C048B25C084DEBE9B26995E310250568' # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
|
'E3FF2839C048B25C084DEBE9B26995E310250568' # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
|
||||||
'A035C8C19219BA821ECEA86B64E628F8D684696D') # Pablo Galindo Salgado <pablogsal@gmail.com>
|
'A035C8C19219BA821ECEA86B64E628F8D684696D') # Pablo Galindo Salgado <pablogsal@gmail.com>
|
||||||
|
@ -31,6 +33,9 @@ validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python re
|
||||||
prepare() {
|
prepare() {
|
||||||
cd Python-${pkgver}
|
cd Python-${pkgver}
|
||||||
|
|
||||||
|
# FS#73002
|
||||||
|
patch -p1 -i ../178a238f25ab8aff7689d7a09d66dc1583ecd6cb.patch
|
||||||
|
|
||||||
# FS#23997
|
# FS#23997
|
||||||
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
|
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue