80 Commits

Author SHA1 Message Date
Joshua Root 60c0d834ca python*: use path dep for pkgconfig 2024-09-07 16:51:25 +10:00
Joshua Root 5233b68a46 python{26,3[2-6]}: use supported_archs to exclude arm64 2024-02-21 04:42:38 +11:00
Joshua Root 45445f0a91 python*: fix build with latest libedit 2023-09-16 00:43:57 +10:00
Joshua Root 5339b1b25c python3{4,5}: fix breakage due to openssl pg
The portgroup replaces -I with -isystem, which breaks python's ability
to detect header dependencies for its stdlib modules.

Fixes: https://trac.macports.org/ticket/65301
2022-06-07 07:20:33 +10:00
Joshua Root 14b8b0049d python{27,34,35,36}: backport universal fix
Also fix configure failure with recent Xcode.
2022-05-10 22:32:47 +10:00
Joshua Root 9c29281592 python*: preserve mtime of pyconfig.h
See: https://trac.macports.org/ticket/63782
2022-03-13 21:20:19 +11:00
Joshua Root 7c6233b8cc python*: update gettext dep 2021-12-26 18:08:36 +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
Chris Jones 5848d16670 openssl dependents: rev bump [skip ci] 2021-11-07 12:38:19 +00:00
Joshua Root 949b3480c3 Rev bump libffi dependents
Version 3.4 broke binary compatibility.
2021-09-01 06:34:10 +10:00
Joshua Root 5450a25ff2 python34: build fix for older systems
Closes: https://trac.macports.org/ticket/62593
2021-04-01 11:37:38 +11:00
Joshua Root 9fd97292e6 python3*: protect against issues with long CFLAGS
Prevent line wrapping in _sysconfigdata.py so that '-arch foo' can't be
split across multiple lines, preventing the reinplace from removing it
correctly. In practice this only seems to have happened with universal
builds.

All variables being on a single line also means that awk is no longer
needed to edit LINKFORSHARED.

Also fix implicit declaration errors in python35's configure script.

Closes: https://trac.macports.org/ticket/61282
2021-03-16 01:39:50 +11:00
Joshua Root 5d0542bdd2 python3{2..7}: known_fail on arm 2021-01-10 03:56:53 +11:00
Dan Villiom Podlaski Christiansen fc9eb98fe8 python34: fix building on big sur (#9596)
Co-authored-by: Joshua Root <jmr@macports.org>
2021-01-02 21:17:56 +11:00
David B. Evans bd5d680082 ports that link with libffi: rebuild with libffi 3.3
* excludes known broken ports
* includes only ports that actually link with libffi 3.3
2020-09-05 20:00:58 -07:00
Joshua Root f7e92413e6 python*: preserve mtime of sysconfig data
This should prevent rebuilding things unnecessarily in the destroot
phase.
2020-08-20 18:42:19 +10:00
Joshua Root 140c09dc2b python*: patch configure to recognise darwin 20 2020-06-29 23:42:33 +10:00
Joshua Root 383eb4a84e python34: handle -isysroot without a space 2019-11-02 15:28:08 +11:00
Joshua Root 5260bc17b4 python{26,32,33,34}: mark EOL
Also adopt unmaintained versions
2019-09-17 15:49:45 +10:00
Chih-Hsuan Yen 157ebbff36 openssl: Rev-bump dependents
Generated with the following command:

rg -l -g Portfile ':openssl\b' ../macports-ports | grep -v '/lang/php/' | grep -v '/aqua/qt5' | xargs ./revbump-ports.sh

revbump-ports.sh is from https://github.com/yan12125/revbump-ports/tree/4a47ad53d5bc1553b86f48dfbf946bc9a466306c

Skipping lang/php and aqua/qt5 as only php*-{ftp,openssl} and
qt*-qtbase subports need revbumping, respectively.
2019-09-07 22:35:16 +08:00
Chih-Hsuan Yen b455c2926d python34: support OpenSSL 1.1
The patch is from https://github.com/python/cpython/pull/12211. It's not
merged into official CPython 3.4 for timing reasons.

TLS functionality tested with the following script:

    try:
        import urllib.request as urllib_request
    except ImportError:
        import urllib2 as urllib_request

    h = urllib_request.urlopen('https://httpbin.org/ip')
    print(h.read().decode('utf-8'))
2019-06-17 06:26:01 +10:00
Joshua Root f9f6062fd8 python34: update to 3.4.10 2019-03-19 08:41:14 +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 428d39c449 python34: update to 3.4.9 2018-08-04 18:40:18 +10:00
Joshua Root 59a332f730 python3{3,4,5}: fix sysconfig patching
Remove -arch flags correctly and also remove -lintl, which causes
overlinking.
2018-03-30 03:06:59 +11:00