44 Commits

Author SHA1 Message Date
Christoph Reiter
ab41054c23 python: Update to 3.11.6 2023-11-14 18:08:27 +01:00
Christoph Reiter
2060d3208f python: Update to 3.11.5
960-fix-parallel-make.patch: fixed upstream https://github.com/python/cpython/pull/104693
2023-08-28 23:28:51 +02:00
Christoph Reiter
67de076357 Move more things to libxcrypt 2023-07-13 20:57:09 +02:00
Christoph Reiter
229038af4f python: add missing libcrypt dep
_crypt.cpython-311-x86_64-msys.dll depends on it
2023-07-12 09:38:43 +02:00
Christoph Reiter
b2a41002d5 python: Update to 3.11.4 2023-06-15 08:15:01 +02:00
Christoph Reiter
7d96cd0381 python: Update to 3.11.3 2023-05-19 18:01:37 +02:00
Christoph Reiter
5978b5b570 python: Update to 3.11
* 006-3.7-ftm.patch: code no longer exists and builds fine without
* 010-3.8-nis-cygwin.patch: code no longer exists and builds fine without
* 012-3.8-pep3149-cygwin.patch: refreshed
* 013-3.8-tkinter-cygwin.patch: code no longer exists and builds fine without
* 28881-backport.patch, 930-fix-missing-tcp-include.patch: included in the new release
* 970-ossaudiodev.patch: work around "error: initializer element is not constant"

remove useless permissions change
2023-02-14 08:37:10 +01:00
Christoph Reiter
34a49bb1b3 python: more msysize cleanup
change uname to cygwin and drop all build time patches
depending on uname.

This shouldn't change anything in the build result in theory.
2023-02-13 19:10:27 +01:00
Christoph Reiter
c7e102a61a python: build script cleanup
* remove sed for cgi, cgi is deprecated and about to be dropped
* remove CPPFLAGS/LDFLAGS. it leaks into sysconfig and builds fine without it
* don't set CXX (defaults to g++ otherwise). nure sure why an absolute path is
  needed here and not for CC. It builds fine without it.
* remove ac_cv_func_bind_textdomain_codeset override, gets detected correctly
* drop LC_CTYPE, we default to utf-8
* remove EXTRA_CFLAGS, cpython supports CFLAGS since forever
* remove some optdepends commented code
2023-02-13 18:23:21 +01:00
Christoph Reiter
8c3bcc5839 python: Update to 3.10.10 2023-02-13 16:50:07 +01:00
Christoph Reiter
75bb29d4ff openssl rebuilds 2022-12-21 18:57:19 +01:00
Christoph Reiter
62f0334d85 python: Update to 3.10.9 2022-12-10 10:15:21 +01:00
Christoph Reiter
27a289eaee python: Update to 3.10.6 2022-08-07 11:49:16 +02:00
Christoph Reiter
3b410ce1f6 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
2022-07-02 15:47:21 +02:00
Christoph Reiter
d9e7b5469a python: Update to 3.9.13 2022-06-06 15:20:10 +02:00
Christoph Reiter
0345259471 python: drop some more msysize changes 2022-06-06 15:12:23 +02:00
Christoph Reiter
06d1e17894 libffi rebuilds 2022-05-07 19:44:23 +02:00
Christoph Reiter
dda1ffcf98 python: backport patch to not link against crypt 2021-12-28 11:30:36 +01:00
Christoph Reiter
e40c90814f Makedepend on gcc/make where needed
This means we no longer need msys2-devel
2021-12-13 22:19:56 +01:00
Christoph Reiter
38126d763e makedepend on autotools for packages using configure
In some cases this will introduce cycles which could likely be cleaned
up by only depending on some unix tools instead of the whole autotools.

Rebuilding doesn't make much sense at this point since it just adds a subset
of base-devel which is still installed by default.
2021-12-12 14:20:50 +01:00
jeremyd2019
94111feb77
Revert "libffi: Update to 3.4.2" 2021-12-04 14:05:12 -08:00
Christoph Reiter
bdab5335f8 libffi rebuilds 2021-12-04 17:35:12 +01:00
Christoph Reiter
a3930b20cc python: Update to 3.9.9
remove libcrypt-devel since that was removed upstream, see
https://bugs.python.org/issue44751
2021-11-21 14:17:03 +01:00
Astrum-polaris
91b9b0197c python: update to 3.9.6 2021-07-20 00:42:32 +08:00
Christoph Reiter
1a870d7858 python: Update to 3.9.5
All the dropped changes seem no longer be needed (static is off by default,
the cygwin patch for .exe is upstream)
2021-05-15 15:04:08 +02:00
Christoph Reiter
7734abf5e7 python: Update to 3.8.10 2021-05-15 14:10:48 +02:00
Christoph Reiter
221bee9c03 python: cleanup 2021-05-15 14:10:17 +02:00
Christoph Reiter
bc1092b1f5 python: rebuild
against newer binutils which uses a larger base addr range to avoid conflicts
2021-05-15 10:24:52 +02:00
Christoph Reiter
2b65957fb9 python: pretend to be cygwin in more places
The main change here is that sys.platform == 'cygwin', which allows
us to drop various changes for extending cygwin checks. Fewer patches
and less likely that we miss to patch a new cygwin check on updates.

If one really needs to check for msys Python then this still works:

sysconfig.get_platform().startswith("msys")
2021-05-11 22:57:55 +02:00
Alexey Pavlov
4380c29a56 python: Update to 3.8.7 2021-01-12 13:24:46 +03:00
Jeremy Drake
3ed5c8dfd1 add rebase of python dll before trying to use python 2020-10-23 11:04:49 -07:00
Jeremy Drake
3e5f58cf3b rebase dlls after building modules 2020-10-23 11:04:48 -07:00
Alexey Pavlov
3567e8cb5f python: Update to 3.8.6 2020-10-23 11:10:33 +03:00
Christoph Reiter
b3c8fc5b25 python: rebuild
We currently have an issue where python was replaced in the pacman repo, leading
to install errors with existing caches containing the old version (CI caches etc).

Bump pkgrel to fix things.

To prevent this in the future see https://github.com/msys2/msys2-autobuild/issues/16
2020-09-04 10:08:51 +02:00
Christoph Reiter
f911f94e0a Add a python-devel package
This doesn't contain anything and just depends on python itself and
libcrypt-devel which it uses in Python.h.

This allows packages building against Python to makedepend on this without
having to specify libcrypt-devel etc.
2020-08-22 10:25:12 +02:00
Jeremy Drake
63da3b964f python: enable makeflags option
It mostly worked, except for some ln failures in make install due to not
being able to create a broken symlink to a file to be created later.
Fixed by making the make rule that ln's depend on the rule that creates
the files.
2020-08-14 13:56:42 -07:00
Jeremy Drake
074695b041 python: fail build if any modules fail to build.
Tees stdout from make to a file (in a way that doesn't suppress an error
exit from make from failing the build), and runs a sed script over that
file which looks for a list of failed modules, outputs it to ensure it
isn't lost in the build output, and exits with an error code to cause
the build to fail.
2020-08-04 16:56:09 -07:00
Jeremy Drake
2cac3f8479 python: add libcrypt-devel to makedepends
The 'crypt' module was no longer being built, which was a regression.
2020-08-02 09:24:59 -07:00
Christoph Reiter
1b6fd06317 python: Fix socket.TCP_NODELAY missing
Upstream bug: https://bugs.python.org/issue41374

Fixes #2050
2020-07-23 09:53:00 +02:00
Alexey Pavlov
f678e990a5 python: Update to 3.8.5 2020-07-21 11:32:19 +03:00
Alexey Pavlov
f299c39a36 python: Update to 3.8.4 2020-07-16 14:39:53 +03:00
Alexey Pavlov
496db10ff6 python: Update to 3.8.3 2020-05-18 14:25:27 +03:00
Alexey Pavlov
5cdc54995d python: Update to 3.8.2 2020-04-16 19:44:59 +03:00
Alexey Pavlov
885bbbadf0 Drop Python2 support. Round 4 2020-03-02 12:44:15 +03:00