Skip to content

Commit e4de459

Browse files
committed
python-git: fix some tests
Some SOURCE_DATE_EPOCH-related tests are fixed in python/cpython#9607
1 parent c8ca7bd commit e4de459

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

python-git/PKGBUILD

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Contributor: Jason Chu <jason@archlinux.org>
99

1010
pkgname=python-git
11-
pkgver=3.8.0a0.r102447.a6b3ec5b6d
11+
pkgver=3.8.0a0.r102451.fc439d20de
1212
pkgrel=1
1313
_pybasever=3.8
1414
pkgdesc="Next generation of the python high-level scripting language"
@@ -17,6 +17,7 @@ license=('custom')
1717
url="https://www.python.org/"
1818
depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl')
1919
makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'xz' 'git' 'llvm' 'gdb' 'xorg-server-xvfb')
20+
checkdepends=('ttf-font')
2021
optdepends=('sqlite'
2122
'mpdecimal: for decimal'
2223
'xz: for lzma'
@@ -85,12 +86,8 @@ build() {
8586
}
8687

8788
check() {
88-
# test_gdb is expected to fail with LTO
89-
# test_idle, test_tk, test_ttk_guionly segfaults since 3.6.5
90-
9189
# https://bugs.python.org/issue34022
92-
# test_cmd_line_script, test_compileall, test_importlib,
93-
# test_multiprocessing_main_handling, test_py_compile, test_runpy
90+
# test_cmd_line_script, test_multiprocessing_main_handling, test_runpy
9491

9592
cd cpython
9693

@@ -100,8 +97,8 @@ check() {
10097

10198
LD_LIBRARY_PATH="${srcdir}/cpython":${LD_LIBRARY_PATH} \
10299
LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" -a -n "$servernum" \
103-
"${srcdir}/cpython/python" -m test.regrtest -v -uall -x test_gdb -x test_idle -x test_tk -x test_ttk_guionly \
104-
-x test_cmd_line_script -x test_compileall -x test_importlib -x test_multiprocessing_main_handling -x test_py_compile -x test_runpy
100+
"${srcdir}/cpython/python" -m test.regrtest -v -uall \
101+
-x test_cmd_line_script -x test_multiprocessing_main_handling -x test_runpy
105102
}
106103

107104
package() {

0 commit comments

Comments
 (0)