[arch-commits] Commit in python/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun Dec 19 21:36:05 UTC 2021


    Date: Sunday, December 19, 2021 @ 21:36:05
  Author: felixonmars
Revision: 432795

upgpkg: python 3.10.1-2: add a patch for sagemath crash

Modified:
  python/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-19 21:32:47 UTC (rev 432794)
+++ PKGBUILD	2021-12-19 21:36:05 UTC (rev 432795)
@@ -9,7 +9,7 @@
 pkgbase=python
 pkgname=(python python-tests)
 pkgver=3.10.1
-pkgrel=1
+pkgrel=2
 _pybasever=${pkgver%.*}
 pkgdesc="Next generation of the python high-level scripting language"
 arch=('x86_64')
@@ -18,10 +18,12 @@
 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://bugs.python.org/file50485/cmp_interned_strings.patch
+        https://github.com/python/cpython/commit/934a24c641da5bc4bdb724e901adc20f9a5dff40.patch)
 sha512sums=('1c559e33f1252e51bafb941c380de16f142c0735858363c84cb8dbed6767843de3af126889c2826ffb94bd4777d7cdfc31040301c8c74de56af52b80b1aa9e76'
             'SKIP'
-            'd97fe57566169bfc06713d4aa420e1c85c0b9c1d0f96d61cdd3a4a86b2340753a80c56e0d48c16b513e3f639cee83b7fbbc0c21045d2f37bf37543048f914557')
+            'd97fe57566169bfc06713d4aa420e1c85c0b9c1d0f96d61cdd3a4a86b2340753a80c56e0d48c16b513e3f639cee83b7fbbc0c21045d2f37bf37543048f914557'
+            '4257fabc494135313ad1df2e1b3e3ae1109b049a08b4968be6e54788327aefa81e3374e96b5dfedfc1488ec22a481c95900e250a9e3c917f7632f58030329ada')
 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>
@@ -29,6 +31,9 @@
 prepare() {
   cd Python-${pkgver}
 
+  # fixes crashes in sagemath - by arojas
+  patch -Np1 -i ../934a24c641da5bc4bdb724e901adc20f9a5dff40.patch
+
   # FS#72979
   patch -Np1 -i ../cmp_interned_strings.patch
 



More information about the arch-commits mailing list