[arch-commits] Commit in python/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Jan 15 21:01:05 UTC 2022
Date: Saturday, January 15, 2022 @ 21:01:05
Author: felixonmars
Revision: 434506
upgpkg: python 3.10.2-1
Modified:
python/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-15 20:36:15 UTC (rev 434505)
+++ PKGBUILD 2022-01-15 21:01:05 UTC (rev 434506)
@@ -8,8 +8,8 @@
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')
@@ -17,13 +17,9 @@
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 at python.org>
'E3FF2839C048B25C084DEBE9B26995E310250568' # Łukasz Langa (GPG langa.pl) <lukasz at langa.pl>
'A035C8C19219BA821ECEA86B64E628F8D684696D') # Pablo Galindo Salgado <pablogsal at gmail.com>
@@ -31,12 +27,6 @@
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
@@ -54,7 +44,7 @@
cd Python-${pkgver}
# PGO should be done with -O3
- CFLAGS="${CFLAGS/-O2/-O3}"
+ CFLAGS="${CFLAGS/-O2/-O3} -ffat-lto-objects"
# Disable bundled pip & setuptools
./configure --prefix=/usr \
@@ -81,7 +71,6 @@
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}
@@ -91,7 +80,7 @@
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() {
More information about the arch-commits
mailing list