Commit Graph

66 Commits

Author SHA1 Message Date
Christoph Reiter
ed458fec6f python: Update to 3.10.10 2023-02-10 12:56:41 +01:00
مهدي شينون (Mehdi Chinoune)
b7d204140b python: rebuild against OpenSSL 3.0 2023-01-14 21:47:56 +01:00
Christoph Reiter
f3391df5ef python: Update to 3.10.9 2022-12-10 09:28:14 +01:00
Christoph Reiter
2bb23c4822 python: build with --large-address-aware
See https://github.com/msys2/MINGW-packages/pull/13941
2022-11-06 23:22:31 +01:00
Christoph Reiter
4177c0198b python: Update to 3.10.8
See https://github.com/msys2-contrib/cpython-mingw/pull/110

update-patches: remove git version signature to keep the diff smaller
2022-10-15 15:57:24 +02:00
Christoph Reiter
627016a883 python: update
This makes an empty MSYSTEM env var also disable the MSYS2 mode
2022-09-23 11:45:09 +02:00
Naveen M K
423e7964ce python: update to 3.10.7 2022-09-11 21:08:25 +05:30
Christoph Reiter
26e3e08423 python: Update to 3.10.6 2022-08-12 19:00:28 +02:00
Christoph Reiter
e92b183a72 libffi rebuilds (minus clang)
clang will come later to avoid a dep cycle
2022-08-09 10:00:12 +02:00
星外之神
932947af36 Rebuild python to fix issue #11733 2022-08-05 12:54:09 +08:00
星外之神
b26a07e7de Python: Use -O3 level optimization (#11825) 2022-06-18 00:36:36 +02:00
Christoph Reiter
2c86cf7311 python: Update to 3.10.5 2022-06-10 17:54:24 +02:00
Christoph Reiter
4b2b312732 python: Update to 3.9.13 2022-05-18 22:12:26 +02:00
Christoph Reiter
f4d9d89f66 python: rebuild against ncurses shared lib 2022-04-30 21:38:42 +02:00
Christoph Reiter
64f516455c python: Update to 3.9.12 2022-04-24 20:14:24 +02:00
Christoph Reiter
7e51f869c4 python: Update to 3.9.11 2022-03-18 15:48:33 +01:00
Naveen M K
9ea6de58aa python: update
Add patch from https://github.com/msys2-contrib/cpython-mingw/pull/88
2022-03-14 22:16:05 +05:30
Christoph Reiter
602ce8fa2f python: Update to 3.9.10 2022-01-25 08:18:27 +01:00
Christoph Reiter
7c67d9c465 Make sure every package using a C/C++ compiler depends on one
The "cc" virtual package provides the environment default compiler.
2022-01-08 17:11:16 +01:00
Christoph Reiter
3eac67e2ca Makedepend on autotools where needed 2021-12-17 12:41:47 +01:00
Christoph Reiter
914c8fd859 Update Python 2021-11-21 22:09:20 +01:00
Christoph Reiter
c685934556 Update Python 2021-11-10 08:19:25 +01:00
Christoph Reiter
f85f694aab python: fix missing _decimal module
Fixes #9645
2021-09-23 10:33:16 +02:00
Christoph Reiter
8198ab6550 python: Update to 3.9.7
This also adds builtin zoneinfo support like on Unix
2021-09-22 09:11:46 +02:00
Christoph Reiter
35848a7ae0 More rebuilds 2021-08-15 15:18:22 +02:00
Christoph Reiter
0acc575d30 python: Update 2021-08-08 14:58:36 +02:00
Christoph Reiter
6a16db9801 Python 3.9 rebuilds
pacman -Fqx '/python3\.8/' '.*\.py.*' '.*-cpython-.*'
2021-07-11 12:18:48 +02:00
Christoph Reiter
3b77504fba python: Update to 3.9.6 2021-07-11 12:06:42 +02:00
Christoph Reiter
a80fe5efc4 Enable clangarm64 for bootstrap packages 2021-05-13 16:17:13 +02:00
Christoph Reiter
977d3b5e02 Enable clang32 for all packages already in the repo 2021-04-25 15:26:34 +02:00
Christoph Reiter
58acb56691 Enable clang64 for all packages already in the repo 2021-04-23 13:26:20 +02:00
Jeremy Drake
d08e2ba5b7 python: disguise Clang as GCC in sys.version.
Many places check for the string 'GCC' in sys.version to identify a
'posix' build.

Remove anchor from regex for extracting version number from -v/--version
output.  The presence of a git commit hash in LLD's ld -v output was
confusing it.  This doesn't seem entirely save, but solves the immediate
problem.

set CC to clang on clang prefix, to fix LTO/PGO

Remove mktime workaround now that mingw-w64 exports that symbol.
2021-04-12 16:49:55 -07:00
Naveen M K
6bf29f55ed autoconf-archive? 2021-04-03 11:08:54 +05:30
Naveen M K
677a62d754 python: update to 3.8.9 2021-04-03 01:21:07 +05:30
Christoph Reiter
b540a57971 python: work around mktime missing with ucrt
See https://github.com/msys2/CLANG-packages/issues/21
2021-03-30 17:07:51 +02:00
Christoph Reiter
b6facd5747 More ucrt 2021-03-26 18:35:34 +01:00
Christoph Reiter
d85e6bb6d2 python: drop patch no longer required
minwg-w64 is fixed now
2021-02-19 19:02:41 +01:00
Christoph Reiter
dc82161126 python3: Update to 3.8.8 2021-02-19 16:58:26 +01:00
Christoph Reiter
7768c1beb0 python: use AC_CHECK_TOOL for finding windres
instead of hardcoding it

Fixes #7948
2021-02-14 09:47:28 +01:00
Christoph Reiter
14ad4c7400 python: don't pass -s to LDFLAGS
Not sure why it is there (git history doesn't help).

It results in Python passing it to setuptools when building extensions
which results in extensions never having debug symbols even if built with "--debug".

Just remove it.
2021-01-31 13:37:27 +01:00
Christoph Reiter
d25f6dd758 bump pkgrel 2021-01-31 13:04:40 +01:00
Long Nguyen
71ec494e95 python: Extend MS_WINDOWS flag to check for mingw 2021-01-27 16:55:03 +07:00
Long Nguyen
72d6336948 python: Tweak patch 0440 to avoid concatenation error 2021-01-27 16:30:20 +07:00
Christoph Reiter
2edf27c304 python: revert cygpty encoding hack
Fixes #7681
2021-01-18 10:09:54 +01:00
Christoph Reiter
55bb9c2d1d python: cygpty hack improvements
In case of cygpty we want to fake a tty and at the same time make
Python behave as if it was attached to a console.

This improves two thing in that regard:

* Update the is_cygpty patch to cover more isatty() checks (likely
  they were added since the patch was created)
* Default the stdio encoding to the console output encoding by default.
  This is only in effect if stdout isn't redirected (then is uses the ANSI code page)
  and no real console is used (then it forces utf-8). Python never considers the
  case were isatty() and no console, so we have to add this.

This makes printing unicode work again in MSYS2 bash.
2021-01-06 18:24:15 +01:00
Christoph Reiter
7e150637d7 python: Update to 3.8.7 2020-12-26 08:40:13 +01:00
Christoph Reiter
7ab734e8fd python: copy all python launchers into the venv
Turns out Python uses the basename of the calling executable to
decide which launcher in the venv it uses to call pip with.
This means we have to copy all launchers we ship.

Use the non versioned launchers as src so the rewrite logic in venv
copies the venvlauncher variants.

Fixes #7227
2020-11-03 21:18:00 +01:00
Christoph Reiter
08f451fbb8 python: fix venv creation during uninstalled tests
The venv code for the uninstalled case depends on various hacks only
present in the Windows code paths, so instead of using the unix ones
patch the windows ones.

We now create a venvlauncher.exe in the build dir which gets copied
to the venv package during install, and when run uninstalled copies
it to the created venvs. This is mroe in line with what the msvc build
does.
2020-10-26 18:20:31 +01:00
Christoph Reiter
0f00679468 python: smoketests: basic testing for venv creation 2020-10-22 19:37:13 +02:00
Christoph Reiter
e5658f3172 python: don't install venvlauncher.exe
unlcear why this should be needed. We can add it back if we know more.
2020-10-22 19:36:46 +02:00