Commit Graph

75 Commits

Author SHA1 Message Date
Charlie Li b75df1fb4d lang/python3: use textproc/expat2 for pyexpat instead of bundled
...to match lang/python314

Event: Works Must Run
2026-06-13 00:06:37 -04:00
Charlie Li 4b4b105e82 lang/python31{0,1,2}: reroll PATCHFILES after repository growth
Each commit checksum now shows one additional character, but the
diff contents are identical.

PR: 295595
2026-05-26 14:14:18 -04:00
Charlie Li eae851578f lang/python311: pull in upstream commits addressing webbrowser.open() issue
Security: 9fdad262-2e0f-11f1-88c7-00a098b42aeb
PR: 294246
2026-04-05 22:15:59 -04:00
Tijl Coosemans d7a065627c devel/libtextstyle, devel/gettext*: Update to 1.0
devel/gettext-tools: Use external libunistring and libxml2.

lang/python*: Remove dependency on gettext-tools.  It isn't used and
it is gettext-tools that depends on python now.

PR:		293963
Exp-run by:	antoine
2026-03-31 15:52:28 +02:00
Charlie Li f614f496b7 lang/python311: update to 3.11.15
Changelog: https://docs.python.org/release/3.11.15/whatsnew/changelog.html
2026-03-03 13:01:37 -05:00
Charlie Li 84e04bed41 lang/python311: pull in upstream commits addressing vuxml entries
Security: bfe9adc8-0224-11f1-8790-c5fb948922ad
2026-02-05 00:20:20 -05:00
Charlie Li 89f079e097 lang/python311: pull in upstream commits addressing vuxml entries
Security: 613d0f9e-d477-11f0-9e85-03ddfea11990

Event: Winter Field Day 2026
PR: 291609
2026-01-26 00:06:20 -05:00
Antoine Brodin ac6809aadf Revert "Reapply "lang/python31[012]: deprecate 2026-03-31""
This reverts commit a132acab87.
This commit is disrespectful for people trying to make the ports tree work with version 3.12

With hat:	pkgmgr
2026-01-03 23:08:48 +00:00
Matthias Andree a132acab87 Reapply "lang/python31[012]: deprecate 2026-03-31"
This reverts commit 666108a04a.
2026-01-03 23:58:29 +01:00
Charlie Li 666108a04a Revert "lang/python31[012]: deprecate 2026-03-31"
The latest 3.12 release contains the referenced security fixes. The
other two branches are not EOL.

PR: 291609
With hat: python
Requested by: antoine

This reverts commit 6617303777.
2026-01-03 17:55:27 -05:00
Matthias Andree 6617303777 lang/python31[012]: deprecate 2026-03-31
Since the current Python upstream maintainers have not yet released
security fix releases to match 3.14.2 and 3.13.11, meaning that we have
about three unfixed security issues per 3.12/3.11/3.10 release, and the
current FreeBSD python@ team is unwilling to take approved upstream
patches individually (see PR), we need to expedite the removal of
vulnerable versions and the transition to 3.13/3.14.  Deprecate all
"security support" releases of Python that are not in the bugfix phase.

PR:		291609
2026-01-03 23:42:02 +01:00
Wen Heping d67eef9c30 lang/python311: Update to 3.11.14
PR:		290159
Exp-run by:	antoine@
2025-10-15 14:13:58 +00:00
Piotr Kubaj e787c6603f lang/python31{1,2}: enable LTO on powerpc64le
The crash doesn't happen anymore
2025-08-13 17:11:09 +02:00
Matthias Andree 169ac0b938 *: Update comment references to e2fsprogs-libuuid to libuuid.
PR:		251489
2025-06-30 17:00:23 +02:00
Charlie Li 4f0eba1efd python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc
EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.

Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.

Introduce PYTHON_SOABI to align with PEP 3149's specification of a
tag, which consists of implementation name, shorthand version and
any ABI flags present (this and PYTHON_TAG are identical without
ABI flags). This is meant for compiled extension module objects and
other files that depend on a specific Python ABI for the same
version.

Add documentation for these variables that our PYTHON_EXT_SUFFIX
never had.

PR: 274671
Event: Kitchener-Waterloo Hackathon 202506
2025-06-19 16:28:47 -04:00
Wen Heping a7f52edcb0 lang/python311: Update to 3.11.13
PR:		287313
Reported by:	wen <wenheping2000@hotmail.com>
Exp-run by:	antoine@
2025-06-12 00:32:31 +00:00
Charlie Li 5e57ff8453 lang/python311: pull in upstream commit addressing CVE-2025-4516
Reference: https://github.com/python/cpython/pull/134341

PR: 287009
2025-05-29 00:38:19 -04:00
Wen Heping a1292020e6 lang/python311: Update to 3.11.12
PR:		285971
Reported by:	wen@
Exp-run by:	antoine@
2025-04-18 01:03:19 +00:00
Wen Heping 63676c96dd lang/python311: Update to 3.11.11
PR:		283139
Reported by:	wen@
Exp-run by:	antoine@
2024-12-12 00:18:29 +00:00
Wen Heping b148c3ab99 lang/python311: Update to 3.11.10
PR:		281379
Reported by:	wen@
Exp-run by:	antoine@
2024-09-13 02:05:33 +00:00
Vladimir Druzenko a6e3b850c2 lang/python311: fix stage with DEBUG option ON 2024-07-09 15:06:03 +03:00
Piotr Kubaj 961bbfc94b lang/python311: disable LTO on powerpc64le
While LTOized python seems mostly fine, it crashes during build of x11/mate-terminal:
pid 71560 (python3.11), jid 151, uid 65534: exited on signal 11 (core dumped)

After disabling LTO, x11/mate-terminal builds fine.
2024-07-09 12:04:24 +02:00
Charlie Li 3f76bb7c6f lang/python311: refresh LibreSSL patches
LibreSSL 3.9 introduced X509_STORE_get1_objects(3) so modify the
preprocessor guard to account. Prior to LibreSSL < 3.9 becoming
EOL, an additional conditional was needed to copy LibreSSL 3.9's
X509_STORE_get1_objects(3) as the included implementation for
OpenSSL < 3.3 clashed with LibreSSL.

Event: ARRL/RAC Field Day 2024
PR: 279390
2024-06-24 13:56:55 -04:00
Daniel Engberg a7cf5f2a3a lang/python311: Improve build times
Don't generate debug symbols by default, we discard these anyway and on my
Tigerlake laptop it reduces build time roughly by 25% with LTO enabled
Switch from -flto=thin to (fat)lto, there's no parallization so it's
actually slower and produces slightly larger binaries

PR:		279585
Approved by:	portmgr (maintainer timeout, 2+ weeks)
2024-06-23 20:19:18 +02:00
Po-Chuan Hsieh c7a4a4f1ea lang/python*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after 9fd7ee1cdf 2024-04-13 23:49:45 +08:00
Po-Chuan Hsieh 21c517c039 lang/python311: Update to 3.11.9
Changes:	https://docs.python.org/release/3.11.9/whatsnew/changelog.html
2024-04-06 07:58:59 +08:00
Robert Clausecker df1de8ec4a lang/python3*: bump PORTREVISION following mpdecimal update
The mpdecimal update changes the soname; bump dependent ports.

PR:		276444
2024-03-19 15:18:31 +01:00
Charlie Li ef91b5d1eb lang/python311: update to 3.11.8
Changelog: https://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-8-final
2024-02-08 01:54:06 -05:00
Benjamin Jacobs 5b0b801228 lang/python311: Fix build on armv7 with LLVM 17
Reported by: brd
PR: 276249
2024-02-04 14:30:27 -05:00
Muhammad Moinur Rahman 8a740a6538 lang/python311: Impelled to share/man
Approved by:    portmgr (blanket)
2024-01-23 16:59:58 +01:00
Muhammad Moinur Rahman bbab7f59e9 */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2023-12-31 01:37:05 +01:00
Wen Heping faa230236d lang/python311: Update to 3.11.7 2023-12-11 12:28:00 +00:00
Bernard Spil 8269bdb998 www/vaultwarden-web_vault: Revert borked git add
This reverts commit 3a3fbae181.
2023-10-21 13:53:28 +02:00
Bernard Spil 3a3fbae181 www/vaultwarden-web_vault: Update to 2023.8.2
PR:		274304
Approved by:	maintainer time-out
2023-10-21 13:45:06 +02:00
Po-Chuan Hsieh a10b8f757c lang/python311: Clean up unnecessary PLIST_SUB
- Remove XY: Replace .cpython-%%XY%% with %%PYTHON_EXT_SUFFIX%%
- Remove XYDOT:
  - Replace lib/python%%XYDOT%% with %%PYTHON_LIBDIR%%
  - Replace %%XYDOT%% with %%PYTHON_VER%%
- Rename XYZDOT to DISTVERSION
2023-10-05 10:00:35 +08:00
Wen Heping 954a8cc5d0 lang/python311: Update to 3.11.6 2023-10-03 10:29:34 +00:00
Wen Heping 1d2d633366 lang/python311: Update to 3.11.5 2023-08-26 01:52:12 +00:00
Po-Chuan Hsieh 2c318bc97e lang/python311: Sort PLIST 2023-06-30 21:17:30 +08:00
Po-Chuan Hsieh 73ad0c0f75 lang/python311: Revert unrelated changes in c4d9557b08 2023-06-30 15:08:08 +08:00
Bernard Spil c4d9557b08 www/nextcloud: Update to 26.0.2 2023-06-10 13:51:54 +02:00
Wen Heping ad947a9de4 lang/python311: Update to 3.11.4 2023-06-08 09:34:50 +08:00
Wen Heping 0e98e07399 lang/python311: Update to 3.11.3 2023-04-07 21:41:44 +08:00
Charlie Li 53de41c33d lang/python311: add LibreSSL support
LibreSSL 3.6 and later are fully compatible with PEP-644 for the
ssl and hmac modules, but not hashlib due to missing SHA-3/SHAKE,
BLAKE2 and scrypt. Partially reverts
https://github.com/python/cpython/commit/39258d3595300bc7b952854c915f63ae2d4b9c3e
for _hashopenssl.c only and void the configure check so that hashlib
builds on LibreSSL.
2023-03-28 22:49:51 -04:00
Charlie Li 922e7f4145 lang/python: restore USES=python variables and SUB_LIST (no-op)
Has been a to do item for time. These are independent from but used
by the bytecode trigger.
2023-02-27 18:59:30 -05:00
Matthias Andree a9d9d3a427 lang/python: Revert "add bytecode trigger"
This reverts commit c17ddfbf66.

This causes breakage on several ports, and the next iteration
requires a full exp-run. See:

Differential Revision: https://reviews.freebsd.org/D34739
2023-02-27 22:04:52 +01:00
Piotr Kubaj c8c2d4f225 lang/python3: allow using LTO on powerpc64
It was recently fixed and will be available in 13.2-RELEASE.
Since LTO is not enabled by default, it's ok to make it available.
2023-02-24 15:48:16 +00:00
Charlie Li c17ddfbf66 lang/python: add bytecode trigger
Facilitates compiling, writing and removing bytecode files (.pyc)
in site-packages after all pkg transactions have been completed.

Technical details: https://wiki.freebsd.org/Python/CompiledPackages

Fixes reports of Python port builds as root failing on filesystem
violations due to bytecode file writes where the port did not include
them in the package.

For those ports/packages that currently package bytecode, some
checksum mismatches on those files may occur. This is harmless and
will be rectified, in large as part of a USE_PYTHON=distutils
overhaul to reduce churn.

While here, implement a long-standing todo item of letting lang/python
ports use python.mk bits. Not only does this obviate duplicate
variables in each Makefile, but SUB_LIST (also added) is used for
these triggers.

Co-authored by: tcberner
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D34739
2023-02-15 16:35:07 -05:00
Wen Heping 5ac9cdec97 lang/python311: Update to 3.11.2 2023-02-09 20:27:37 +08:00
Dmitry Marakasov 41dbb76112 lang/python311: fix asyncio.subprocess regression
Fix losing stdout of asyncio.subprocess spawned processes.

PR:		268502
Approved by:	wen (python@)
Upstream issue:	https://github.com/python/cpython/issues/100133
2022-12-23 21:42:37 +03:00
Wen Heping 50dd612ca9 lang/python311: Update to 3.11.1 2022-12-07 22:01:41 +08:00