[arch-commits] Commit in python/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jul 15 19:15:31 UTC 2020
Date: Wednesday, July 15, 2020 @ 19:15:30
Author: felixonmars
Revision: 391945
clean up test workarounds. we have only one failing test now!
Modified:
python/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-15 18:50:20 UTC (rev 391944)
+++ PKGBUILD 2020-07-15 19:15:30 UTC (rev 391945)
@@ -16,7 +16,7 @@
license=('custom')
url="https://www.python.org/"
depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl')
-makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb')
+makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font')
source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc})
sha512sums=('37a36d014a8372742be9d0bd9dd3a275e100dc21b1515c145bc62425d4d157327b6e63ad99bc888c0b36c1da4c05676c40eb086e75072d1906e3210ec3043dcb'
'SKIP')
@@ -26,12 +26,10 @@
prepare() {
cd Python-${pkgver}
+ # https://bugs.python.org/issue41302
# Fix for --with-system-libmpdec with mpdecimal 2.5
sed -i '/#include "mpdecimal.h"/a #define UNUSED __attribute__((unused))' Modules/_decimal/_decimal.c
- # https://bugs.python.org/issue34587
- sed -i -e "s|testCongestion|disabled_&|" Lib/test/test_socket.py
-
# FS#23997
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
@@ -76,10 +74,7 @@
}
check() {
- # test_gdb is expected to fail with LTO
- # test_idle, test_tk, test_ttk_guionly segfaults since 3.6.5
- # test_socket hangs since 3.8.2
- # test_decimal fails since 3.8.2
+ # test_tk: https://bugs.python.org/issue41306
cd Python-${pkgver}
@@ -89,8 +84,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_gdb -x test_idle -x test_tk -x test_ttk_guionly \
- -x test_socket -x test_decimal
+ "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_tk
}
package_python() {
More information about the arch-commits
mailing list