Commit Graph

46 Commits

Author SHA1 Message Date
Joshua Root 45445f0a91 python*: fix build with latest libedit 2023-09-16 00:43:57 +10:00
Joshua Root 9719fb3cf8 python27: libffi detection fixes
Fix getting libffi include dir from pkgconfig. Fix ffi.h validation to
recognise muniversal builds.

See: https://trac.macports.org/ticket/63730
2022-01-08 23:51:42 +11:00
Thomas Buchberger cb9bdc4754 python27: fix support for virtualenv on macOS 12 (#13480)
On macOS 12 (Monterey), dladdr, NSLibraryNameForModule and similar
functions return the real path of the dynamic library instead of the
path to the symlink in a virtualenv. This breaks support for virtualenv.

By applying the same patch as Apple does for its Python version, which
avoids using these functions whenever possible, support for virtualenv
is restored.

See also:
https://github.com/apple-oss-distributions/python/blob/python-136.120.2/2.7/fix/getpath.c.ed

Co-authored-by: Joshua Root <jmr@macports.org>
2022-01-08 05:34:47 +11:00
Joshua Root 259e6a39c4 python*: switch back to openssl 1.1
Upstream support for 3 isn't done yet.

See: https://trac.macports.org/ticket/63857
2021-11-09 12:29:30 +11:00
Joshua Root cdd9223e7b python27: fix hashlib build with openssl 3 2021-11-08 09:11:25 +11:00
Joshua Root 5806e9521a python27: add lto, set default variants 2021-10-10 07:49:02 +11:00
Joshua Root b09762740d python26, python27: fix implicit declarations 2021-03-04 14:55:13 +11:00
Joshua Root 80629e53eb python27: backport upstream arm64 fixes
Closes: https://github.com/macports/macports-ports/pull/8328
2020-09-21 07:56:25 +10:00
Joshua Root a46ff542a9 python27: backport upstream fixes for darwin 20 2020-09-18 00:54:25 +10:00
Joshua Root 140c09dc2b python*: patch configure to recognise darwin 20 2020-06-29 23:42:33 +10:00
Joshua Root c49afcafc8 python27: restore disabling of poll when broken 2020-04-22 12:38:44 +10:00
Joshua Root 4558194eef python27: update to 2.7.17 2019-10-21 01:20:06 +11:00
Joshua Root 6408541c53 python27: fix configure handling of lchmod
Fixes: https://trac.macports.org/ticket/58285
2019-04-02 01:42:31 +11:00
Joshua Root 5e51ebbba6 python27: update to 2.7.16 2019-03-09 14:23:52 +11:00
Riccardo Mottola b8e715ba07 python27, python3[1-5]: Fix uuid command on some systems
Closes: https://trac.macports.org/ticket/57034

Signed-off-by: Ryan Schmidt <ryandesign@macports.org>
2018-09-12 21:25:47 +08:00
Joshua Root ffbc877496 python27: update universal patch
Fixes: https://trac.macports.org/ticket/56407
2018-05-03 00:58:25 +10:00
Joshua Root 0003f54333 python27: update to 2.7.15
Likewise py27-gdbm and py27-tkinter.
2018-05-02 10:14:01 +10:00
Joshua Root 0d5845a1c8 python27: update to 2.7.14 2017-09-22 09:42:05 +10:00
Joshua Root 74e0ebc440 python27: refresh patch 2017-09-12 22:39:27 +10:00
Jeremy Huddleston Sequoia 31916af8b2 python27: Update universal patch to not use -isysroot /
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
2017-03-03 10:36:52 -08:00
Jyrki Wahlstedt d54a418631 python27: remove patch files merged upstream 2016-12-21 09:52:01 +01:00
Lawrence Velázquez fafa2fd37a python*: Enable loadable SQLite extensions
This is disabled by default because Apple's system SQLite does not
support loadable extensions. But ours does.

Closes https://trac.macports.org/ticket/49317.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@153800 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-10-11 19:38:22 +00:00
Lawrence Velázquez 9651d452c5 python27: Improve check for QuickTime/QuickTime.h
This fixes 32-bit builds on Sierra, which removed that header.

Closes: https://trac.macports.org/ticket/52043

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@152947 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-09-21 05:00:31 +00:00
Lawrence Velázquez 337f00722f python27: Refresh patches
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@152946 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-09-21 05:00:25 +00:00
Lawrence Velázquez dbae434c96 python{26,27}: Add to python2 select group (https://trac.macports.org/ticket/34326)
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@136743 d073be05-634f-4543-b044-5fe20cf6d1d6
2015-05-25 20:01:23 +00:00