Commit Graph

721 Commits

Author SHA1 Message Date
sthen 83d0e78d80 add @pkgpath markers, problem reported by solene@ 2024-05-06 14:28:47 +00:00
sthen 32abb94496 rm old py3.x versions 2024-05-06 12:20:32 +00:00
sthen a645ab48e9 switch default py3 version to 3.11
looks reasonable to tb@
2024-05-06 12:20:20 +00:00
sthen aabab6cfda add python 3.11 under lang/python/3 (moving to simpler single-py3-version
layout alongside the switch to using python 3.11 by default - multiple 3.x
versions haven't been useful enough to be worth the extreme pain to keep
@conflict markers correct now that we have -stable packages to deal with).

looks reasonable to tb@
2024-05-06 12:19:33 +00:00
tb fee62672c5 python/3.9: backport change to use X509_STORE_CTX_get1_objects()
Hopefully this port will leave the tree soon enough, but since I have
this fix in my tree for a few months now, I might as well land it.

ok sthen
2024-04-18 12:31:33 +00:00
sthen aaf344ca94 rename MODPY_PYBUILD=bootstrap to MODPY_PYBUILD=other as there are some less
common backends (like pdm-backend) which don't seem particularly widely used
so it seems useful to have a generic mechanism for these.
2024-04-17 13:33:56 +00:00
sthen f7f9dcc87a add maturin as a build backend for MODPY_PYBUILD 2024-04-14 12:08:52 +00:00
sthen 77160f4cc0 remove old @comments in PLIST, from daniel@ plus REVISION-main bump. 2024-04-14 00:30:58 +00:00
sthen b6524ac7f1 update to python-3.11.9, ok tb
https://www.python.org/downloads/release/python-3119/
2024-04-13 16:51:07 +00:00
sthen db31a0eeed update to python-3.9.19, ok tb
https://www.python.org/downloads/release/python-3919/
2024-04-13 16:50:47 +00:00
sthen 73418cfb20 update to Python 3.10.14
https://www.python.org/downloads/release/python-31014/

from daniel@, fixes from tb@, ok tb
maintainer timeout
2024-04-13 13:46:09 +00:00
sthen 33c658f739 mention ERR_get_state() removal in CHANGES.OpenBSD, spotted by tb@ 2024-03-24 09:38:44 +00:00
sthen 122c223f47 use "if [ ...; then; fi" rather than "[ ..." to avoid an error exit code
if the file doesn't exist; unbreaks 2.7/3.9, found by aja@
2024-03-24 08:50:43 +00:00
sthen 841deecf45 Include an EXTERNALLY-MANAGED file in the Python packages, which triggers
a warning if users attempt to install modules system-wide outside the
ports/packages system.  ok kmos@
2024-03-23 12:35:27 +00:00
sthen d7dbb9e6c8 Modify Python ctypes' find_library to pass "libc.so" to dlopen() rather
than attempting to resolve a version number by parsing ldconfig -r output,
which results in loading an incorrect version in some cases.  ok kmos@
2024-03-23 12:32:22 +00:00
sthen ad9c4806d2 add python to TEST_DEPENDS if MODPY_PYTEST is set to 'no'. 2024-03-18 14:33:13 +00:00
sthen 21d4dbaa3c python/2.7: don't call ERR_get_state(), ok tb@ 2024-03-03 12:52:08 +00:00
daniel 226de0f179 update to Python 3.11.8
ok kmos@ (MAINTAINER)
2024-02-12 00:53:52 +00:00
sthen bf893086f3 handle MODPY_PYBUILD=jupyter_packaging 2023-12-22 12:51:20 +00:00
sthen ee25a7fcf0 Don't accept "Yes" as a value of MODPY_PYBUILD; use "bootstrap" instead
for those special-case ports which bootstrap from their own internal
PEP517 build backend.
2023-12-20 13:29:33 +00:00
sthen 85dbbc61c4 allow settings args to MODPY_BUILD_TARGET for MODPY_PYBUILD
useful for e.g. adding --config-setting
2023-12-15 14:19:17 +00:00
sthen 68d5077ab5 handle MODPY_PYBUILD=flit_scm 2023-11-23 12:34:21 +00:00
jca 84d1bbdfc1 Drop --enable-optimizations to fix build with clang-16
Not waiting for maintainer because the port just doesn't build currently
and we need to get ports back into shape.

ok djm@ sthen@
2023-11-14 12:33:56 +00:00
kmos 428f67ce4a https://docs.python.org/release/3.11.6/whatsnew/changelog.html#python-3-11-6
Update to Python 3.11.6

Input from and ok daniel@
2023-10-20 09:18:48 +00:00
espie 51acb67336 MASTER_SITES->SITES (apart from modules) 2023-09-26 12:02:00 +00:00
sthen 9b03a9df17 SITES for MODPY_PI 2023-09-20 13:41:38 +00:00
tb fde26ea7d5 Update to Python 3.9.18
Avoid treating unencrypted data as post-handshake encrypted data in
ssl.SSLSocket: https://www.python.org/downloads/release/python-3918/
2023-09-01 18:50:44 +00:00
tb d2ae4e1a91 Update to Python 3.11.5
Avoid treating unencrypted data as post-handshake encrypted data in
ssl.SSLSocket: https://www.python.org/downloads/release/python-3115/

PLIST changes from sthen
2023-09-01 18:49:43 +00:00
tb 164c7be75d Update to Python 3.10.13
Avoid treating unencrypted data as post-handshake encrypted data in
ssl.SSLSocket: https://www.python.org/downloads/release/python-31013/
2023-09-01 18:48:06 +00:00
sthen 4c0261901a move USE_NOBTCFI next to USE_WXNEEDED and update the comment. 2023-08-30 08:50:28 +00:00
kmos a9ab405cdc Remove extraneous lines in PLIST-main that keep Python 3.9 from
packaging.

Pointed out by tb@
2023-06-22 19:49:47 +00:00
kmos 2233e59b31 Update to Python 3.11.4
https://docs.python.org/release/3.11.4/whatsnew/changelog.html#python-3-11-4

ok sthen
2023-06-19 19:48:11 +00:00
kmos 5c5c5151fc Update to 3.9.17
https://docs.python.org/release/3.9.17/whatsnew/changelog.html#changelog

ok sthen
2023-06-19 19:47:25 +00:00
kmos 5b132f4026 Update to Python 3.10.12
https://docs.python.org/release/3.10.12/whatsnew/changelog.html#python-3-10-12-final

Add USE_NOBTCFI=Yes to Makefile.inc

ok sthen
2023-06-19 19:46:28 +00:00
sthen 0ee5747b4e add a comment re NID_sha3_256/NID_sha512_256 patches to Python 3.10+;
partly to make it clear to external people looking at the patches that
these are now supported, and partly to discourage garbage-collecting
those bits of the patch until at least 7.4 is out (not required on
-current but still needed for -stable updates). ok tb@
2023-05-15 10:45:58 +00:00
tb b4ec8690c9 Python 3.11: improve hashopenssl patches
This way Python will pick up the new hashes (truncated sha2, sha3)
once they will be enabled in the next libcrypto bump. Also make the
CHANGES.OpenBSD entry a bit more generic so it doesn't need constant
tweaking.

This and the Python 3.10 changes were ok sthen, maintainer timeout
2023-04-24 11:18:57 +00:00
tb 26a04435bf Python 3.10: improve hashopenssl patches
This way Python will pick up the new hashes (truncated sha2, sha3)
once they will be enabled in the next libcrypto bump. Also make the
CHANGES.OpenBSD entry a bit more generic so it doesn't need constant
tweaking.
2023-04-24 11:15:43 +00:00
kmos 6a5e1cfbe3 https://docs.python.org/release/3.11.3/whatsnew/changelog.html#python-3-11-3
Update to 3.11.3

tweak and ok sthen
2023-04-12 19:45:41 +00:00
kmos 68ecb4cf4c https://docs.python.org/release/3.10.11/whatsnew/changelog.html#python-3-10-11-final
Update to Python 3.10.11

tweak and ok sthen
2023-04-12 19:45:09 +00:00
sthen 786cc6bbe4 7.2-stable received an update to python 3.9.16 so the @conflict in
-current's python 3.10 needs to be adjusted (/usr/local/bin/python3
symlink and friends moved from 3.9 to 3.10 because the default version
was changed).

update problem found by and diff ok with landry@
2023-03-18 08:05:05 +00:00
kmos b967e0f682 https://docs.python.org/release/3.11.2/whatsnew/changelog.html#python-3-11-2-final
A bunch of fixes here, none labelled as security

ok tb
2023-02-27 15:09:46 +00:00
kmos 3bbaeab6d9 https://docs.python.org/release/3.10.10/whatsnew/changelog.html#python-3-10-10-final
A number of fixes. None labelled as security.

ok tb
2023-02-27 15:09:01 +00:00
sthen ed2bb52cd9 fix #! line in pip3.9/pip3.11 scripts, ok kmos@ 2022-12-25 13:42:05 +00:00
tb 712e4ab1ca python: remove workaround for python 3.11 to unbreak build 2022-12-21 09:59:35 +00:00
kmos 381b7f64bb https://docs.python.org/release/3.11.1/whatsnew/changelog.html#python-3-11-1
Update Python 3.11 to 3.11.1

"just go ahead" sthen@
2022-12-20 23:55:22 +00:00
kmos a2fda93493 Update to Python 3.10.9
https://docs.python.org/3.10/whatsnew/changelog.html#python-3-10-9-final

Tweaks from sthen and tb

ok sthen@
2022-12-16 17:03:28 +00:00
kmos 03d0e393dc Update to Python 3.9.16
https://docs.python.org/release/3.9.16/whatsnew/changelog.html

Tweaks from sthen and tb

ok sthen@
2022-12-16 17:02:25 +00:00
sthen 9fdf3bd034 fix stupid editor linewrapping 2022-12-06 16:18:16 +00:00
sthen 0fa138d7d0 handle MODPY_PYBUILD=hatch-vcs 2022-12-06 16:17:25 +00:00
tb 190011dbcb Python 3.11: fix tkinter build on gcc-archs
ld.bfd requires explicit linking against libpthread, this way the configure
check succeeds and the tkinter module is built.

ok sthen
2022-12-06 15:58:08 +00:00