[arch-commits] Commit in python/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Fri Jun 29 17:22:45 UTC 2018
Date: Friday, June 29, 2018 @ 17:22:45
Author: foutrelis
Revision: 327777
upgpkg: python 3.7.0-2
Modified:
python/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-29 16:49:57 UTC (rev 327776)
+++ PKGBUILD 2018-06-29 17:22:45 UTC (rev 327777)
@@ -6,9 +6,9 @@
# Contributor: Jason Chu <jason at archlinux.org>
pkgname=python
-pkgver=3.6.6
-pkgrel=1
-_pybasever=3.6
+pkgver=3.7.0
+pkgrel=2
+_pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language"
arch=('x86_64')
license=('custom')
@@ -25,7 +25,7 @@
replaces=('python3')
source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc}
dont-make-libpython-readonly.patch)
-sha512sums=('c71f87c5906e770322a14cacad228655659f782207db826320449d12bf86091c3662f317e1773158dec52f8b052eaedfb4c03b561cc2a6cfcd381597fd2d2b04'
+sha512sums=('8bb11233fb67ee9ab8ed1b72f8fdc62f66e26a6beaaeb92448bce681cf065269833b1658d3ed2459127f25ba43adb0eab73cf27c59834a2a803fb529b4216739'
'SKIP'
'2ef96708d5b13ae2a3d2cc62c87b4780e60ecfce914e190564492def3a11d5e56977659f41c7f9d12266e58050c766bce4e2b5d50b708eb792794fa8357920c4')
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D') # Ned Deily (Python release signing key) <nad at python.org>
@@ -39,10 +39,9 @@
# FS#23997
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
- # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec),
+ # Ensure that we are using the system copy of various libraries (expat, libffi, and libmpdec),
# rather than copies shipped in the tarball
rm -r Modules/expat
- rm -r Modules/zlib
rm -r Modules/_ctypes/{darwin,libffi}*
rm -r Modules/_decimal/libmpdec
}
@@ -73,8 +72,10 @@
}
check() {
- # test_gdb is expected to fail with LTO~
- # test_idle, test_tk, test_ttk_guionly segfaults on 3.6.5
+ # test_gdb is expected to fail with LTO
+ # test_idle, test_tk, test_ttk_guionly segfaults since 3.6.5
+ # test_cmd_line_script, test_compileall, test_importlib, test_multiprocessing_main_handling, test_py_compile, test_runpy fail in 3.7.0
+ # (All 6 are about zipfile import error)
cd Python-${pkgver}
@@ -84,7 +85,8 @@
LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1280x720x24 -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
+ "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_gdb -x test_idle -x test_tk -x test_ttk_guionly \
+ -x test_cmd_line_script -x test_compileall -x test_importlib -x test_multiprocessing_main_handling -x test_py_compile -x test_runpy
}
package() {
More information about the arch-commits
mailing list