mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
core/python to 3.10.2-1
This commit is contained in:
parent
e6caff4e4c
commit
56ca928dbe
1 changed files with 6 additions and 17 deletions
|
@ -12,8 +12,8 @@ shopt -s extglob
|
|||
|
||||
pkgbase=python
|
||||
pkgname=(python python-tests)
|
||||
pkgver=3.10.1
|
||||
pkgrel=2
|
||||
pkgver=3.10.2
|
||||
pkgrel=1
|
||||
_pybasever=${pkgver%.*}
|
||||
pkgdesc="Next generation of the python high-level scripting language"
|
||||
arch=('x86_64')
|
||||
|
@ -21,13 +21,9 @@ license=('custom')
|
|||
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://github.com/python/cpython/commit/934a24c641da5bc4bdb724e901adc20f9a5dff40.patch)
|
||||
sha512sums=('1c559e33f1252e51bafb941c380de16f142c0735858363c84cb8dbed6767843de3af126889c2826ffb94bd4777d7cdfc31040301c8c74de56af52b80b1aa9e76'
|
||||
'SKIP'
|
||||
'd97fe57566169bfc06713d4aa420e1c85c0b9c1d0f96d61cdd3a4a86b2340753a80c56e0d48c16b513e3f639cee83b7fbbc0c21045d2f37bf37543048f914557'
|
||||
'4257fabc494135313ad1df2e1b3e3ae1109b049a08b4968be6e54788327aefa81e3374e96b5dfedfc1488ec22a481c95900e250a9e3c917f7632f58030329ada')
|
||||
source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc})
|
||||
sha512sums=('215a7159face84788fe547c1e2689b8d0ae510275157cf01636bef2902d0ff465f844eb0328c9f39fd1cd03a1d1736d4cf258992f2788e492a801a372032c08b'
|
||||
'SKIP')
|
||||
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>
|
||||
|
@ -35,12 +31,6 @@ 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
|
||||
|
||||
# FS#23997
|
||||
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
|
||||
|
||||
|
@ -84,7 +74,6 @@ build() {
|
|||
check() {
|
||||
# test_socket: test.test_socket.RDSTest.testPeek hangs https://bugs.python.org/issue35247
|
||||
# test_tk: tkinter.test.test_tkinter.test_colorchooser.DefaultRootTest hangs
|
||||
# test_ttk_guionly: test failures about "AssertionError: TclError not raised"
|
||||
|
||||
cd Python-${pkgver}
|
||||
|
||||
|
@ -94,7 +83,7 @@ check() {
|
|||
|
||||
LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
|
||||
LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" \
|
||||
"${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_socket -x test_tk -x test_ttk_guionly
|
||||
"${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_socket -x test_tk
|
||||
}
|
||||
|
||||
package_python() {
|
||||
|
|
Loading…
Reference in a new issue