Commit Graph

79 Commits

Author SHA1 Message Date
Alexey Pavlov
e31dc38cb7 python{2,3}: Rebuild due openssl API changes 2016-03-04 09:51:27 +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
Alexey Pavlov
439909b051 python3: Fix last patch 2016-01-11 15:59:54 +03:00
Alexey Pavlov
4c83a0763b python3: Move patch to proper place 2016-01-11 15:04:54 +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
Alexey Pavlov
e9ddef86a1 python3: Fix path separators under cmd/shell 2015-10-08 13:19:09 +03:00
Ray Donnelly
861c312c91 python3: Bring XP support back to 3.5.0 2015-10-05 21:36:30 +01:00
Ray Donnelly
e41f464110 python3: Fix mmapmodule build failure 2015-10-05 02:18:36 +01:00
Alexey Pavlov
e79bd5d9b8 python3: WIP updating to 3.5.0 2015-09-21 15:47:39 +03:00
Ray Donnelly
c815ca5bc2 python2 + python3: Install gdb printers
.. to ${MINGW_PREFIX}/share/gdb/python{2,3}/python-gdb.py

Usage:

python
sys.path.append('C:/msys64/mingw64/share/gdb/python3')
import python-gdb
reload(python-gdb)
end
2015-08-16 01:47:11 +01:00
U-warlock\alexx
13c9aa2b19 === Rebuild with GCC-5.1.0. Part I === 2015-06-30 16:32:00 +03:00
Ray Donnelly
66804d0eaf python3: Bump pkgrel 2015-06-07 11:13:00 +01:00
Ray Donnelly
990cdd8575 python3: Build 'overlapped' module from setup.py 2015-06-07 10:56:20 +01:00
Ray Donnelly
ec4aae781e python3: Fix 'add ModuleFilename dir to PATH'
It only worked if os.sep == '\'
2015-06-07 10:55:36 +01:00
Alexpux
c96c426244 python3: Fix issue reported in https://github.com/Alexpux/MINGW-packages/issues/598 2015-05-07 20:48:06 +03:00
Ray Donnelly
ab5ef8754d python3: Fix for when os.sep is \
sys.prefix was one folder too shallow due to a reduce() vs lib/python??
disagreement.
2015-03-17 15:28:25 +00:00
Ray Donnelly
c40c165d61 python3: Fixes for os.sep changes.
Moved 0600-msys-mingw-prefer-unix-sep-if-MSYSTEM.patch
   to 0555-msys-mingw-prefer-unix-sep-if-MSYSTEM.patch
so that 0560 can use the new functions it provides
(Py_GetSep{A,W}, Py_NormalizeSeps{A,W})

Starting to wonder if these changes aren't too invasive
overall, but in for a penny in for a pound.
2015-03-17 00:47:43 +00:00
Ray Donnelly
40ee28216f python3: More of 'prefer unix sep if MSYSTEM'
os.getcwd and _getfullpathname

Also stopped using 0590-mingw-INSTALL_SHARED-LDLIBRARY-LIBPL.patch
as I'm fairly sure it's not necessary.
2015-03-09 23:03:14 +00:00
Alexpux
0225fd8a52 python3: Update to 3.4.3 2015-02-26 07:57:26 +03:00
Ray Donnelly
c8fdf7d82b python3: Remove unneeded patch
0580-mingw32-test-REPARSE_DATA_BUFFER.patch is no longer
needed.

.. also fix an incorrect sha1sum.
2015-02-25 00:19:49 +00:00
Ray Donnelly
14143e441b python3: Update 0530-mingw-system-libffi.patch
As part of the initial import of cross-python on github
I'm reviewing these patches. This one had some problems:

1. It used pkg-config to detect libffi in PKGBUILD and
   removed those same pkg-config checks from configure.ac

2. It skipped a test (aggregate-return-type) that is now fine:
   https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio

3. It tested if host_platform was 'mingw' instead of 'win32',
   despite the idea of using 'mingw' for sys.platform having
   died long ago.
2015-02-20 23:08:53 +00:00
Renato Silva
6daa9f99f9 Trailing whitespace cleanup. 2015-02-09 18:45:05 -02:00
Ray Donnelly
2fc50d8ba4 python3: Add a todo
.. about subprocess.Popen running MSYS2/Cygwin exes
and bump myself to co-maintainer
2015-02-01 23:03:44 +00:00
Alexpux
cddc3a0e38 python3: increase version. 2014-12-17 00:10:30 +03:00
Alexpux
0cc8986f14 python3: Update last patch to not break MSVC builds. Add LIBPL to library dirs when build extensions. 2014-12-16 23:51:00 +03:00
Ray Donnelly
a38e728e1f python3: Add patch from Frode Solheim
From the FS-UAE project:

http://eab.abime.net/showpost.php?p=991970&postcount=2
2014-12-16 14:08:24 +00:00
Ray Donnelly
5dd674bdd2 python3: Fix patch counts 2014-10-27 00:52:59 +00:00
Alexpux
32c8722fd3 Rebuild python/numpy with fixed mingw-w64 runtime 2014-10-15 20:48:28 +04:00
Alexpux
5a0c6cd130 python3: Add missing windows modules. 2014-10-14 13:29:49 +04:00
Ray Donnelly
9a589eeafb python{2,3}: Only pass -i if no arguments + sha1sums + rebase more 2014-10-11 23:38:03 +01:00
Ray Donnelly
a391fdb04e python3: Rebase patches onto 3.4.2 2014-10-11 14:46:25 +01:00
Ray Donnelly
7fb378e592 python{2,3}: Add wrapper shell script that calls python{2,3}.exe -i 2014-10-11 00:19:24 +01:00
Alexpux
325b7e5332 python(2,3): Make available dllhandle and winger attributes of sys module for mingw too. 2014-10-10 11:27:24 +04:00
Alexpux
9aa84bcc18 python3: Update to 3.4.2 2014-10-09 14:16:41 +04:00
Ray Donnelly
81d9bf8d42 python3: Don't strip modules if --with-pydebug 2014-10-06 21:02:47 +01:00
Alexpux
7f48c51102 python3: Rebuild to fix boost 2014-10-02 01:22:29 +04:00
Alexpux
1f26f2db65 python{2,3}: Use -O2 optimization for building extensions 2014-09-23 11:01:49 +04:00
Alexpux
17abd5af47 python3: Remove hack. 2014-09-18 14:16:19 +04:00
Alexpux
a8ba1d80eb python{2,3}: Rebuild. 2014-09-16 09:27:27 +04:00
Alexpux
06ab69cd51 python3: Run commands with "sh -c" under MSYS 2014-08-05 23:56:59 +04:00
Alexpux
9d9506775d python2,3: Increase package release number. 2014-07-15 18:52:17 +04:00
Saúl Ibarra Corretgé
28b1fc35d4 python3: fix typo 2014-07-15 14:25:58 +02:00
Saúl Ibarra Corretgé
cd129d73de python2, 3: add myself as contributor 2014-07-15 13:09:54 +02:00
Saúl Ibarra Corretgé
bc13f11535 python3: install msilib 2014-07-15 13:08:26 +02:00
Ray Donnelly
2e78abf938 python2 + python3: make sysconfig relocatable ..
.. and return Windows Mixed paths not MSYS2 ones
2014-07-12 02:32:25 +01:00
Ray Donnelly
6f548ae37b python3: don't use Windows cert store for SSL 2014-06-19 20:44:43 +01:00
Alexpux
d92815a652 Fix scripts to use new global MINGW_PACKAGE_PREFIX variable instead locally defined 2014-06-11 07:11:51 +04:00
Alexpux
4609cf8271 python3: Update to 3.4.1 2014-05-20 01:12:05 +04:00