Commit Graph

90 Commits

Author SHA1 Message Date
Christoph Reiter
304e9a9982 Don't rebuild Python 2 packages 2022-06-11 07:07:07 +02:00
Christoph Reiter
ad3a0c37e7 Python 3.10 rebuilds 2022-06-10 17:54:24 +02: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
Jeremy Drake
6059d1c30f enable clang32 for more packages 2021-11-11 11:53:11 -08:00
Christoph Reiter
cb56d6b7fb Revert "Disable clang64 for some Python 2 packages"
This reverts commit 43c4962f51.
2021-10-27 08:19:22 +02:00
Christoph Reiter
fc723891b0 Merge pull request #9887 from raedrizqie/python2-fix-clang-regen
python2: fix regen, fix clang build
2021-10-27 08:18:26 +02:00
Raed Rizqie
803cc16797 Update mingw-w64-python2/PKGBUILD
Co-authored-by: jeremyd2019 <github@jdrake.com>
2021-10-27 06:49:25 +08:00
Raed Rizqie
161228474d Update mingw-w64-python2/PKGBUILD
Co-authored-by: مهدي شينون (Mehdi Chinoune) <79349457+MehdiChinoune@users.noreply.github.com>
2021-10-26 16:45:42 +08:00
Christoph Reiter
43c4962f51 Disable clang64 for some Python 2 packages
We are not going to make Python 2 work with clang at this point..
2021-10-25 22:51:22 +02:00
Raed Rizqie
b413c8241a python2-fix-clang 2021-10-25 00:17:54 +08:00
Raed Rizqie
3a7a330f93 Update PKGBUILD 2021-10-18 03:29:17 +08:00
Christoph Reiter
35848a7ae0 More rebuilds 2021-08-15 15:18:22 +02:00
Christoph Reiter
3e429419dc Revert some more 2021-07-13 19:11:12 +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
81bf16586c Enable clang64 for everything 2021-04-25 19:30:11 +02:00
Christoph Reiter
2d3933dd60 More ucrt 2021-03-27 13:01:21 +01:00
Alexey Pavlov
da25c90e71 python2: Update to 2.7.18 2020-04-20 20:54:55 +03:00
Alexey Pavlov
2a391bd066 Rebuild packages for libffi-3.3 2020-04-09 23:38:13 +03:00
Alexey Pavlov
1e524064b7 python2: Update to 2.7.17 2019-10-23 13:48:52 +03:00
Christoph Reiter
d9d70d6349 python: Move idle, pydoc and 2to3 to python3
Python 2 now has idle2, pydoc2 and 2to3-2.7

This also fixes the shebang line of the python3 scripts.
They contain backslashes which we need to escape for sed.
2019-08-15 14:57:42 +02:00
Alexey Pavlov
694eed7a89 python2: Fix dependencies 2019-08-13 11:03:26 +03:00
Alexey Pavlov
4c3da4df08 python2: Fix dependencies, make it non-default python 2019-07-09 13:28:15 +03:00
Alexey Pavlov
77d21ccf14 Back to ncurses as default curses library 2019-07-07 00:25:22 +03:00
Alexey Pavlov
0ab6b3b9a0 python{2,3}: Rebuild with pdcurses 2019-05-28 11:57:54 +03:00
Christoph Reiter
8a162525a7 python: better compatibility with unpatched setuptools. Fixes #5155
We currently patch setuptools itself to not import distutils.msvc9compiler,
which fails because it fails to detect the msvc version and falls back to an unsupported
version 6 and raises.

This doesn't help much in case setuptools is installed through pip which doesn't contain
the fix.

This fixes msvc9compiler.py instead to not fail on import but at the compiler instance creation,
i.e. the point where the version is actually used. The setuptools fix remains for now to make
updates easier.

Fixes #5155
2019-04-21 16:40:58 +02:00
Alexey Pavlov
2d9622a176 python2: Update to 2.7.16 2019-03-07 10:38:39 +03:00
Alexey Pavlov
5650ce86f3 python2: Rebuild 2018-10-11 15:40:51 +03:00
Alexey Pavlov
391ba3179a openssl 1.1.x rebuilds 2018-09-25 07:41:07 +03:00
Alexey Pavlov
70c2a93559 python2: Update to 2.7.15 2018-05-04 08:03:07 +03:00
Alexey Pavlov
a7c4ffdd7b python2: Rebuild 2018-01-24 15:15:27 +03:00
Christoph Reiter
9d1dde7371 python2: Restore WinXP support (#3187)
Set USE_DYNFILEID for ptycheck so it dynamically enables pty checking only if the API is available.

Building still requires Vista+

Context: https://github.com/Alexpux/MINGW-packages/pull/2806#issuecomment-348658740
2017-12-04 07:36:32 +03:00
Christoph Reiter
ee78465f69 python2: Disable broken gdbm module (#3065)
gdbm is broken and as a result breaks anydbm/shelve (anydbm.open fails).
Don't include it so the dumbdbm backend is used instead,
like with the official CPython build.
2017-10-20 09:31:46 +03:00
Alexey Pavlov
953117566e python2: Update to 2.7.14 2017-09-18 10:43:27 +03:00
K.Takata
7b9be58500 python2,3: Update iscygpty (#2836)
Fix potential buffer overflow.
2017-09-03 21:45:18 +03:00
Christoph Reiter
e8768dbff4 python2: Use is_cygpty() to detect a terminal; disable readline with a real Windows console (#2806)
This is the same patch as https://github.com/Alexpux/MINGW-packages/pull/2675
adjusted to work with Python 2.7
2017-08-19 18:34:46 +03:00
Alexey Pavlov
35567f5ba0 python2: Update to 2.7.13 2017-01-17 14:06:58 +03:00
Alexey Pavlov
a911df0cf0 python2,3: Rebuild. Fix patches checksum 2016-11-07 14:53:05 +03:00
Andrew Dutcher
40fca6cbff Python: Fixed patch for distutils.util.change_root to account for case when neither path has a drive letter (#1899) 2016-11-06 20:26:44 +03:00
J. Peter Mugaas
184d179111 Readline (#1872)
* readline - 7.0 - Update to latest veersion - NOTE:  Will probably break stuff - rebuild what depends upon it

Rekeyed patch for new version and ifdef'ed out chown calls if not
available

* Rebuild some packages that depend upon readline for good measure
2016-11-01 07:41:36 +03:00
Alexey Pavlov
0fd744f8f8 python2: Update to 2.7.12 2016-09-24 09:18:33 +03:00
Alexey Pavlov
e31dc38cb7 python{2,3}: Rebuild due openssl API changes 2016-03-04 09:51:27 +03:00
Alexey Pavlov
3ed0778b03 Rebuild some packages due to mingw-w64 crt bug 2016-03-02 15:48:54 +03:00
Viktor Szakats
e32a40cc92 switch to sha256 checksums
* upgrade some broken packages
* correct some broken urls/checksums
* use secure urls where possible
* update PKGBUILD templates
* remove line-ending whitespace
* minor typos/fixes

Remaining md5sums either didn't download or
didn't pass checksum tests.
2016-02-25 20:55:26 +01:00
Viktor Szakats
e7111647e2 use secure urls
* follow some redirects
2016-02-23 10:26:29 +01:00
Ray Donnelly
d69651f1a1 python2: Fix os.path.normcase wrt os.altsep / os.sep MSYSTEM
Should allow h5py to build OK
2016-02-22 10:37:19 +00:00
Alexey Pavlov
49eb161a40 python2: Fix building. 2016-01-10 20:00:30 +03:00
Ray Donnelly
51ca502b53 python2 + 3 + numpy: Various updates and fixes
* Update python2 to 2.7.11
* Update numpy to 1.10.2 (and number the patches).
* New python2 + 3 patch so that sys.version returns
  something more similar to normal CPython so that
  get_build_architecture in distutils msvccompiler.py
  returns the right thing (NumPy uses it so there's
  every chance other things will too).
2016-01-02 21:45:58 +00:00
Ray Donnelly
34e94f0134 python2 + 3: distutils spawn fix for nt
Implement _nt_quote_args using subprocess module's
list2cmdline since that handles all the tricky quoting
logic properly while the previous implementation was
not capable of handling anything more complicated than
the most basic commandline arguments and those with
spaces (so no tabs, or double quotes etc).

A specific example of trouble this caused was on MSYS2
when building the gobject-introspection part of GEGL 0.3.4
and a macro of -DG_LOG_DOMAIN="GEGL"-__FILE__ was passed
to the C compiler. From distutils perspective, the final
call ended up as:

gegl-introspection-module =
    Extensions('gegl-introspection',
               define_macros=
               [('G_LOG_DOMAIN', '"GEGL-"__FILE__')])

This *will* cause trouble in software that special-cased
Windows. An example existed in Python's own setup.py when
building the sqlite module.
The MODULE_NAME define was set to '"sqlite3"' for everything
else and to '\\"sqlite3\\"' for Windows. This commit removes
this special-casing, obviously!

The bad-old-implementation has existed for so long now that
everyone's hacked around it, which means that it's probably
too late for this change, so this means in the long-term,
this commit will go one of three ways:

1. It'll stay in and we'll fix everything up that's broken.
pip and C extensions will screw up badly here.

2. I implement a two-pass scheme where I try both the old
way and the new way for things that fail on first attempt.

3. I remove this altogether, and hack up GEGL like everything
else has been hacked up, lesson learnt.

I'm leaning towards 2 at present.

Either way, I need to figure out why GEGL was hanging before
this change as that was less than useful. Some good came out
of it; we can build debuggable python2 and py-bt works now
too!

Also renamed python-gdb.py to python_gdb.py
2016-01-02 02:51:15 +00:00
Ray Donnelly
8645724a0f python2: Use / in os.getcwd() when MSYSTEM is set 2015-12-31 04:38:22 +00:00