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

Felix Yan felixonmars at gemini.archlinux.org
Mon Aug 1 09:34:20 UTC 2022


    Date: Monday, August 1, 2022 @ 09:34:20
  Author: felixonmars
Revision: 451806

upgpkg: python 3.10.5-2: enable debug

Added:
  python/trunk/keys/
  python/trunk/keys/pgp/
  python/trunk/keys/pgp/0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D.asc
  python/trunk/keys/pgp/A035C8C19219BA821ECEA86B64E628F8D684696D.asc
  python/trunk/keys/pgp/E3FF2839C048B25C084DEBE9B26995E310250568.asc
Modified:
  python/trunk/PKGBUILD

-------------------------------------------------------+
 PKGBUILD                                              |    8 ++++++--
 keys/pgp/0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D.asc |    1 +
 keys/pgp/A035C8C19219BA821ECEA86B64E628F8D684696D.asc |    1 +
 keys/pgp/E3FF2839C048B25C084DEBE9B26995E310250568.asc |    1 +
 4 files changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-01 07:58:43 UTC (rev 451805)
+++ PKGBUILD	2022-08-01 09:34:20 UTC (rev 451806)
@@ -9,12 +9,13 @@
 pkgbase=python
 pkgname=(python python-tests)
 pkgver=3.10.5
-pkgrel=1
+pkgrel=2
 _pybasever=${pkgver%.*}
 pkgdesc="Next generation of the python high-level scripting language"
 arch=('x86_64')
 license=('custom')
 url="https://www.python.org/"
+options=('debug')
 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})
@@ -68,6 +69,9 @@
 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_pyexpat: our `debug` implementation rewrites source location, which breaks the build-time
+  #               only test test.test_pyexpat.HandlerExceptionTest as it cannot find source file in
+  #               the to-be-installed debug package
 
   cd Python-${pkgver}
 
@@ -77,7 +81,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
+    "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_socket -x test_tk -x test_pyexpat
 }
 
 package_python() {

Added: keys/pgp/0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D.asc
===================================================================
(Binary files differ)

Index: python/trunk/keys/pgp/0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D.asc
===================================================================
--- keys/pgp/0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D.asc	2022-08-01 07:58:43 UTC (rev 451805)
+++ keys/pgp/0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D.asc	2022-08-01 09:34:20 UTC (rev 451806)

Property changes on: python/trunk/keys/pgp/0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D.asc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/A035C8C19219BA821ECEA86B64E628F8D684696D.asc
===================================================================
(Binary files differ)

Index: python/trunk/keys/pgp/A035C8C19219BA821ECEA86B64E628F8D684696D.asc
===================================================================
--- keys/pgp/A035C8C19219BA821ECEA86B64E628F8D684696D.asc	2022-08-01 07:58:43 UTC (rev 451805)
+++ keys/pgp/A035C8C19219BA821ECEA86B64E628F8D684696D.asc	2022-08-01 09:34:20 UTC (rev 451806)

Property changes on: python/trunk/keys/pgp/A035C8C19219BA821ECEA86B64E628F8D684696D.asc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/E3FF2839C048B25C084DEBE9B26995E310250568.asc
===================================================================
(Binary files differ)

Index: python/trunk/keys/pgp/E3FF2839C048B25C084DEBE9B26995E310250568.asc
===================================================================
--- keys/pgp/E3FF2839C048B25C084DEBE9B26995E310250568.asc	2022-08-01 07:58:43 UTC (rev 451805)
+++ keys/pgp/E3FF2839C048B25C084DEBE9B26995E310250568.asc	2022-08-01 09:34:20 UTC (rev 451806)

Property changes on: python/trunk/keys/pgp/E3FF2839C048B25C084DEBE9B26995E310250568.asc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property


More information about the arch-commits mailing list