* python3: Update to 3.6.1
The patches starting with 16 are new to fix the build.
Some no longer relevant patches were dropped, the rest is just refreshed.
* Bump pkgrel of all packages containing Python 3 bytecode/extensions.
The package list was generated using:
pkgfile.exe -R mingw64 -r "cpython.*\\.(py[cod]|dll)"
* lensfun: Add cmake to makedepends
* numpy: Don't hardcode the Python version
* blender: rebuild for new Python
* boost: Don't hardcode Python versions; rebuild
* pillow: Don't hardcode Python version; rebuild
* python-dateutil: Don't hardcode Python versions
* sip: Don't hardcode Python versions
* pyqt4: Don't hardcode Python versions; rebuild
* pyqt5: Don't hardcode Python versions; rebuild
* opencv: Update Python3 version in patch
43 lines
1.6 KiB
Diff
43 lines
1.6 KiB
Diff
diff -Naur Python-3.5.2-orig/configure.ac Python-3.5.2/configure.ac
|
|
--- Python-3.6.1/configure.ac.orig 2017-06-13 12:52:21.586530400 +0200
|
|
+++ Python-3.6.1/configure.ac 2017-06-13 12:53:23.795088500 +0200
|
|
@@ -3003,6 +3003,13 @@
|
|
*-*-mingw*) USE_WIN32_MODULE=;;
|
|
esac
|
|
|
|
+# Determine if pwdmodule should be used.
|
|
+AC_SUBST(USE_PWD_MODULE)
|
|
+USE_PWD_MODULE=
|
|
+case $host in
|
|
+ *-*-mingw*) USE_PWD_MODULE='#';;
|
|
+esac
|
|
+
|
|
# This is used to generate Setup.config
|
|
AC_SUBST(USE_THREAD_MODULE)
|
|
USE_THREAD_MODULE=""
|
|
diff -Naur Python-3.5.2-orig/Modules/Setup.config.in Python-3.5.2/Modules/Setup.config.in
|
|
--- Python-3.5.2-orig/Modules/Setup.config.in 2016-07-12 14:20:52.015300700 +0300
|
|
+++ Python-3.5.2/Modules/Setup.config.in 2016-07-12 14:20:52.344800700 +0300
|
|
@@ -6,6 +6,9 @@
|
|
# init system calls(posix/nt/...) for INITFUNC (used by makesetup)
|
|
@INITSYS@ posixmodule.c
|
|
|
|
+# This is needed to find out the user's home dir if $HOME is not set
|
|
+@USE_PWD_MODULE@pwd pwdmodule.c
|
|
+
|
|
# Threading
|
|
@USE_THREAD_MODULE@_thread _threadmodule.c
|
|
|
|
diff -Naur Python-3.5.2-orig/Modules/Setup.dist Python-3.5.2/Modules/Setup.dist
|
|
--- Python-3.5.2-orig/Modules/Setup.dist 2016-07-12 14:20:48.046300700 +0300
|
|
+++ Python-3.5.2/Modules/Setup.dist 2016-07-12 14:20:52.351800700 +0300
|
|
@@ -106,8 +106,6 @@
|
|
# setup.py script in the root of the Python source tree.
|
|
|
|
errno errnomodule.c # posix (UNIX) errno values
|
|
-pwd pwdmodule.c # this is needed to find out the user's home dir
|
|
- # if $HOME is not set
|
|
_sre _sre.c # Fredrik Lundh's new regular expressions
|
|
_codecs _codecsmodule.c # access to the builtin codecs and codec registry
|
|
_weakref _weakref.c # weak references
|