python: Update to Python 3.10.5
026-3.7-mpdec-msys.patch: fixed upstream 011-3.8-parser-cygwin.patch: no longer exists rest are just rebased
This commit is contained in:
parent
067c9f114f
commit
3b410ce1f6
@ -1,13 +0,0 @@
|
||||
Modules/parsermodule.o:parsermodule.c: undefined reference to `_PyParser_Grammar'
|
||||
|
||||
--- Python-3.8.0a4-orig/Modules/Setup 2019-05-06 14:30:25.000000000 -0400
|
||||
+++ Python-3.8.0a4/Modules/Setup 2019-05-19 14:14:54.663297000 -0400
|
||||
@@ -327,7 +327,7 @@ _symtable symtablemodule.c
|
||||
#binascii binascii.c
|
||||
|
||||
# Fred Drake's interface to the Python parser
|
||||
-#parser parsermodule.c
|
||||
+parser parsermodule.c
|
||||
|
||||
|
||||
# Andrew Kuchling's zlib module.
|
||||
@ -26,11 +26,3 @@ diff -urN a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
|
||||
if sys.platform == "darwin":
|
||||
# Perform first-time customization of compiler-related
|
||||
# config vars on OS X now that we know we need a compiler.
|
||||
@@ -166,7 +182,6 @@
|
||||
# that Python itself was built on. Also the user OS
|
||||
# version and build tools may not support the same set
|
||||
# of CPU architectures for universal builds.
|
||||
- global _config_vars
|
||||
# Use get_config_var() to ensure _config_vars is initialized.
|
||||
if not get_config_var('CUSTOMIZED_OSX_COMPILER'):
|
||||
import _osx_support
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
diff -Naur Python-3.8.0-orig/setup.py Python-3.8.0/setup.py
|
||||
--- Python-3.8.0-orig/setup.py 2019-10-22 10:04:50.085546300 +0300
|
||||
+++ Python-3.8.0/setup.py 2019-10-22 10:04:54.016753200 +0300
|
||||
@@ -2165,7 +2165,7 @@
|
||||
undef_macros = []
|
||||
if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"):
|
||||
include_dirs = []
|
||||
- libraries = [':libmpdec.so.2']
|
||||
+ libraries = [':libmpdec.dll.a']
|
||||
sources = ['_decimal/_decimal.c']
|
||||
depends = ['_decimal/docstrings.h']
|
||||
else:
|
||||
@ -1,10 +1,10 @@
|
||||
--- Python-3.8.2/Makefile.pre.in.orig 2020-04-16 14:57:03.823588900 +0300
|
||||
+++ Python-3.8.2/Makefile.pre.in 2020-04-16 15:06:58.593432800 +0300
|
||||
@@ -1235,6 +1235,7 @@
|
||||
if test -f $(LDLIBRARY) && test "$(PYTHONFRAMEWORKDIR)" = "no-framework" ; then \
|
||||
if test -n "$(DLLLIBRARY)" ; then \
|
||||
$(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \
|
||||
+ $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBDIR); \
|
||||
else \
|
||||
$(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \
|
||||
if test $(LDLIBRARY) != $(INSTSONAME); then \
|
||||
--- Python-3.10.5/Makefile.pre.in.orig 2022-07-02 15:11:36.746831700 +0200
|
||||
+++ Python-3.10.5/Makefile.pre.in 2022-07-02 15:12:27.208270400 +0200
|
||||
@@ -1336,6 +1336,7 @@
|
||||
if test -f $(LDLIBRARY) && test "$(PYTHONFRAMEWORKDIR)" = "no-framework" ; then \
|
||||
if test -n "$(DLLLIBRARY)" ; then \
|
||||
$(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \
|
||||
+ $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBDIR); \
|
||||
else \
|
||||
$(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \
|
||||
if test $(LDLIBRARY) != $(INSTSONAME); then \
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
pkgbase=python
|
||||
pkgname=('python' 'python-devel')
|
||||
pkgver=3.9.13
|
||||
pkgver=3.10.5
|
||||
pkgrel=1
|
||||
_pybasever=${pkgver%.*}
|
||||
pkgdesc="Next generation of the python high-level scripting language"
|
||||
@ -35,13 +35,11 @@ source=(https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz
|
||||
008-3.8-distutils-cygwin.patch
|
||||
009-3.8-export-PySignal_SetWakeupFd.patch
|
||||
010-3.8-nis-cygwin.patch
|
||||
011-3.8-parser-cygwin.patch
|
||||
012-3.8-pep3149-cygwin.patch
|
||||
013-3.8-tkinter-cygwin.patch
|
||||
014-3.8-xxsubinterpreters-cygwin.patch
|
||||
015-rpath.patch
|
||||
025-MINGW-compiler-customize-mingw-cygwin-compilers.patch
|
||||
026-3.7-mpdec-msys.patch
|
||||
027-install-import-library.patch
|
||||
900-msysize.patch
|
||||
920-allow-win-drives-in-os-path-isabs.patch
|
||||
@ -50,7 +48,7 @@ source=(https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz
|
||||
950-rebase-dlls.patch
|
||||
960-fix-parallel-make.patch
|
||||
28881-backport.patch)
|
||||
sha256sums=('125b0c598f1e15d2aa65406e83f792df7d171cdf38c16803b149994316a3080f'
|
||||
sha256sums=('8437efd5b106ef0a75aabfbf23d880625120a73a86a22ade4d2e2e68d7b74486'
|
||||
'be96ddaca58a39ddaf1e3e5bb7900b34c0e6d00e9b64c4e0f8a3565a74a44e84'
|
||||
'82cfafc5b31ad4c9bb4c9786044c39c75762dbc2656abdfdc433c23fee69c02f'
|
||||
'f0bb75ca69c63894fc43e0f8218c9dbcc746935bf5ea095a724e6fb2f5dcc566'
|
||||
@ -59,14 +57,12 @@ sha256sums=('125b0c598f1e15d2aa65406e83f792df7d171cdf38c16803b149994316a3080f'
|
||||
'8c460bf9522e50e06aa2c21a921eb42543d7a4cac6c598b13be43940a96966bf'
|
||||
'70f854f00de71372e49f2ebbff7491e09e9e036e8e3f3646fe2984e30fb4a9da'
|
||||
'62588723eb4051dccd0c8ab4183455e7ab99a3dca6c3c07e7403e1919b934ef0'
|
||||
'd6b15b6624183d64fc77e5a4e5d100f05266ac8a83fc4e21262c7969e2abf4e5'
|
||||
'9b84b5e027ff39ed3f827e805079f260db319a78571012815da30765ee2ceabc'
|
||||
'4c6d9d786da1673208b0ef2bc3340e1acf08ce861b49193eb1592c53c3a4bd26'
|
||||
'e48c719be36cb266ac3ceae834739fb1faae6740524cd672fd367f9304894a39'
|
||||
'437332e1a7195dd0adcd505ecdeab5c3a7a793efdd7fea7bec55f97957bb8934'
|
||||
'5b1083e9b50e149d623d863dee38ac1fb8d142f1bb78c8a01dcb09bfd97f4118'
|
||||
'fc6164a90f0ca2a9341aaf4448b4334c3393459ca5cbad6d7149f8bcf70da5fe'
|
||||
'b4042475c5c75e0b4c7c08ccad2891eb8098c066c5ba524a988a0519102e8e5d'
|
||||
'3e6c115c9b8e044193c0524b94275dfb13c1adfba3d250131b065f632b6d5512'
|
||||
'9d0efb7e7e913e96b9f7953802311bbc2d046a7bfdcc3ffaf11fc509731b4d18'
|
||||
'ce55a5e343158d7b1cd114cc7d7d53bcedfcd8616c533f816b3a0f1b2fe13682'
|
||||
'85d9d042e0fa3493ec54b364e6b4fb6d2b12ba09641e01047bc84a09605ef76b'
|
||||
'17e4ac1b5f0fa8a6c410fb80d1ad99ec9185efef51b8450a31932b553c354ed1'
|
||||
@ -98,13 +94,11 @@ prepare() {
|
||||
008-3.8-distutils-cygwin.patch \
|
||||
009-3.8-export-PySignal_SetWakeupFd.patch \
|
||||
010-3.8-nis-cygwin.patch \
|
||||
011-3.8-parser-cygwin.patch \
|
||||
012-3.8-pep3149-cygwin.patch \
|
||||
013-3.8-tkinter-cygwin.patch \
|
||||
014-3.8-xxsubinterpreters-cygwin.patch \
|
||||
015-rpath.patch \
|
||||
025-MINGW-compiler-customize-mingw-cygwin-compilers.patch \
|
||||
026-3.7-mpdec-msys.patch \
|
||||
027-install-import-library.patch \
|
||||
900-msysize.patch \
|
||||
920-allow-win-drives-in-os-path-isabs.patch \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user