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")
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
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.
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.
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.