notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
non port: Mk/Uses/python.mk

Number of commits found: 232 (showing only 100 on this page)

1 | 2 | 3  »  

Tuesday, 9 Dec 2025
11:22 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Introduce PY_BACKPORTS.ZSTD

The minimal version is set to 1.0.0 because it is required by devel/py-hatch and
net/py-urllib3.
commit hash: fbf1a695cd2c3aa6c1604bffb8ef1b1791622701 commit hash: fbf1a695cd2c3aa6c1604bffb8ef1b1791622701 commit hash: fbf1a695cd2c3aa6c1604bffb8ef1b1791622701 commit hash: fbf1a695cd2c3aa6c1604bffb8ef1b1791622701 fbf1a69
Sunday, 30 Nov 2025
07:17 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update CYTHON3_DEPENDS

- Cosmetic change
commit hash: 3a890f6158b4d7e236ed0f685b21a4bd805bd63a commit hash: 3a890f6158b4d7e236ed0f685b21a4bd805bd63a commit hash: 3a890f6158b4d7e236ed0f685b21a4bd805bd63a commit hash: 3a890f6158b4d7e236ed0f685b21a4bd805bd63a 3a890f6
Tuesday, 11 Nov 2025
07:17 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update CRYPTOGRAPHY_DEPENDS
commit hash: 7e12fc1f44910e37cbeeb47e72a50deb895b89f9 commit hash: 7e12fc1f44910e37cbeeb47e72a50deb895b89f9 commit hash: 7e12fc1f44910e37cbeeb47e72a50deb895b89f9 commit hash: 7e12fc1f44910e37cbeeb47e72a50deb895b89f9 7e12fc1
Sunday, 9 Nov 2025
16:32 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update USE_PYTHON=cython3{,_run,_test}

py-lupa 2.6 requires cython 3.1.6+.
commit hash: 3314d6645fdc5927b905fe7f751b3bdd0b2bc91a commit hash: 3314d6645fdc5927b905fe7f751b3bdd0b2bc91a commit hash: 3314d6645fdc5927b905fe7f751b3bdd0b2bc91a commit hash: 3314d6645fdc5927b905fe7f751b3bdd0b2bc91a 3314d66
Saturday, 1 Nov 2025
22:40 Charlie Li (vishwin) search for other commits by this committer Author: Wen Heping
lang/python313: add

What's new: https://docs.python.org/3/whatsnew/3.13.html

Most notably, introduce free-threaded mode. As this mode changes
the ABI, the entire distribution lives in a separate hierarchy, and
thus a new child port (lang/python313t) and FLAVOR (py313t) are
introduced.

Co-authored-by: vishwin
PR: 274671
Differential Revision: https://reviews.freebsd.org/D49680
commit hash: edcf1d7d57b44e838648ae0695afd23a43275fb7 commit hash: edcf1d7d57b44e838648ae0695afd23a43275fb7 commit hash: edcf1d7d57b44e838648ae0695afd23a43275fb7 commit hash: edcf1d7d57b44e838648ae0695afd23a43275fb7 edcf1d7
20:11 Matthias Andree (mandree) search for other commits by this committer
lang/python314: get port ready to ship

claim maintainership on the new port - not doing that with the
previous commit by wen@ to have a clear distinction who contributed
what.

- require archivers/zstd since it's part of the Python standard library:
  https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-zstandard

- refresh Makefile.pre.in patch

- skip test_gdb without WITH_DEBUG

  test_gdb has test_pretty_print, which requires debug symbols.
  Skip it if WITH_DEBUG is not defined.

- drop --with-system-ffi configure option, which is no longer supported
  and its behaviour is now the default

- move sqlite3 extension back into port
  because the separate port fails to build
  (mark the external python:-3.13)

PR:		282176
commit hash: 60648732604548051b170d9e599e05b870f9d008 commit hash: 60648732604548051b170d9e599e05b870f9d008 commit hash: 60648732604548051b170d9e599e05b870f9d008 commit hash: 60648732604548051b170d9e599e05b870f9d008 6064873
17:23 Matthias Andree (mandree) search for other commits by this committer
*: Revise USES=python:... version range constraints

and strip all lower bounds of 3.9 or 3.10 because they are implied now.

python:3.9-X  -> python:-X
python:3.9+   -> python
python:3.10-X -> python:-X
python:3.10+  -> python
(options such as ,build preserved)
commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8 commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8 commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8 commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8 1403bb7
Sunday, 19 Oct 2025
17:56 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Fix typo

Reported by:	Herbert J. Skuhra <herbert@gojira.at>
commit hash: 4c352332caddaa03c81e6c31df5a9a719ca518ec commit hash: 4c352332caddaa03c81e6c31df5a9a719ca518ec commit hash: 4c352332caddaa03c81e6c31df5a9a719ca518ec commit hash: 4c352332caddaa03c81e6c31df5a9a719ca518ec 4c35233
13:48 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Fix f68ce0bd2825dccfb0fcf52fecf6e4c0d2796d69

The CRYPTOGRAPHY_DEPENDS change is unintentional.
commit hash: 35fabf28b1cb584cbf8a476ad88b75a32682c7e7 commit hash: 35fabf28b1cb584cbf8a476ad88b75a32682c7e7 commit hash: 35fabf28b1cb584cbf8a476ad88b75a32682c7e7 commit hash: 35fabf28b1cb584cbf8a476ad88b75a32682c7e7 35fabf2
00:00 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update PY_TOMLI

devel/py-pyproject-api 1.10.0 requires textproc/py-tomli 2.3+.
commit hash: f68ce0bd2825dccfb0fcf52fecf6e4c0d2796d69 commit hash: f68ce0bd2825dccfb0fcf52fecf6e4c0d2796d69 commit hash: f68ce0bd2825dccfb0fcf52fecf6e4c0d2796d69 commit hash: f68ce0bd2825dccfb0fcf52fecf6e4c0d2796d69 f68ce0b
Tuesday, 12 Aug 2025
18:16 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Clean up USE_PYTHON=pytest4

Reported by:	adamw
commit hash: 16fd422cac06562d82f1401ab774f314e1d8d4a6 commit hash: 16fd422cac06562d82f1401ab774f314e1d8d4a6 commit hash: 16fd422cac06562d82f1401ab774f314e1d8d4a6 commit hash: 16fd422cac06562d82f1401ab774f314e1d8d4a6 16fd422
Thursday, 26 Jun 2025
11:30 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update PY_TOMLI

devel/py-requirements-detector 1.4.0 requires textproc/py-tomli 2.2.1+.
commit hash: c4d86b0bbeb91b8db652eb70e77268c779db0dfd commit hash: c4d86b0bbeb91b8db652eb70e77268c779db0dfd commit hash: c4d86b0bbeb91b8db652eb70e77268c779db0dfd commit hash: c4d86b0bbeb91b8db652eb70e77268c779db0dfd c4d86b0
11:29 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
lang/cython3: Update to 3.1.2

Changes:	https://github.com/cython/cython/releases
		https://github.com/cython/cython/blob/master/CHANGES.rst
commit hash: c16c62c336bd390f4676b1ad0c62eba30bef947e commit hash: c16c62c336bd390f4676b1ad0c62eba30bef947e commit hash: c16c62c336bd390f4676b1ad0c62eba30bef947e commit hash: c16c62c336bd390f4676b1ad0c62eba30bef947e c16c62c
Thursday, 19 Jun 2025
20:28 Charlie Li (vishwin) search for other commits by this committer
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
commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6 commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6 commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6 commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6 4f0eba1
19:52 Charlie Li (vishwin) search for other commits by this committer
python.mk: move ABI flag removal modifier out of ${_VC}

Ugly hack needed by older bmake versions, ie not -CURRENT:

: bmake: "/usr/ports/Mk/Uses/python.mk" line 471: Unknown modifier "/"
: bmake: "/usr/ports/Mk/Uses/python.mk" line 471: Malformed conditional
(!empty(_PYTHON_VERSION_MAXIMUM) && (${_PYTHON_VERSION:${_VC}} >
${_PYTHON_VERSION_MAXIMUM:${_VC}}))

Fixes: ccaff6c14f2078ddc0edcbf26d7ee7e48b80c2a8
Reported by: cmt
PR: 274671
Event: Kitchener-Waterloo Hackathon 202506
commit hash: b2cf9fac8a5c6bd2c4ae878cf9c57bc72fe9f8f9 commit hash: b2cf9fac8a5c6bd2c4ae878cf9c57bc72fe9f8f9 commit hash: b2cf9fac8a5c6bd2c4ae878cf9c57bc72fe9f8f9 commit hash: b2cf9fac8a5c6bd2c4ae878cf9c57bc72fe9f8f9 b2cf9fa
19:15 Charlie Li (vishwin) search for other commits by this committer
python.mk: prepare handling versions with ABI flags appended

Starting Python 3.13 there is an experimental free-threaded mode
that effectively warrants a separate distribution from "vanilla"
3.13. This mode includes appends an ABI flag so the resulting version
is 3.13t. Some of the logic for comparing versions and generating
flavours, amongst others, breaks since "3.13t" is not numeric, so
adjust accordingly. Also account for 3.13t being a child port as
the difference is one configure flag.

To this effect, introduce two new read-only public variables,
PYTHON_BASESUFFIX and PYTHON_BASEVER, for cases where the ABI flag
in PYTHON_SUFFIX and PYTHON_VER is not warranted. Shift PYTHON_EXT_SUFFIX
to use PYTHON_BASESUFFIX.

PR: 274671
Event: Kitchener-Waterloo Hackathon 202506
commit hash: ccaff6c14f2078ddc0edcbf26d7ee7e48b80c2a8 commit hash: ccaff6c14f2078ddc0edcbf26d7ee7e48b80c2a8 commit hash: ccaff6c14f2078ddc0edcbf26d7ee7e48b80c2a8 commit hash: ccaff6c14f2078ddc0edcbf26d7ee7e48b80c2a8 ccaff6c
18:48 Charlie Li (vishwin) search for other commits by this committer
python.mk: privatise PYMAGICTAG

Used as a command to populate the correct tag for bytecode files
according to PEP 3147 under USE_PYTHON=py3kplist. Not for general
use.

Event: Kitchener-Waterloo Hackathon 202506
commit hash: 5cfc1413ac3cec6225bd7ca53a7658e3949f70a6 commit hash: 5cfc1413ac3cec6225bd7ca53a7658e3949f70a6 commit hash: 5cfc1413ac3cec6225bd7ca53a7658e3949f70a6 commit hash: 5cfc1413ac3cec6225bd7ca53a7658e3949f70a6 5cfc141
Saturday, 24 May 2025
18:21 Alexander Leidinger (netchild) search for other commits by this committer
Mk/Features: Add features for fortify, zeroregs and stack autoinit.

Those 3 features for ports go along with the cooresponding features from
the basesystem (some only availabe in -current).

The options you can put into make.conf for the ports collections are:

WITH_FORTIFY=yes
    This enables mitigations of common memory safety issues, such as buffer
    overflows, by adding checks to functions like memcpy, strcpy, sprintf,
    and others when the compiler can determine the size of the destination
    buffer at compile time.

WITH_STACK_AUTOINIT=yes
    This enables a compiler specific option to automatically initialize
    local (automatic) variables to prevent the use of uninitialized memory.

WITH_ZEROREGS=yes
    Zero call-used registers at function return to increase program
    security by either mitigating Return-Oriented Programming (ROP)
    attacks or preventing information leakage through registers.
    This depends upon support from the compiler for a given architecture.
    This is disabled for python ports, currently there are issues.

Approved by:	portmgr (mat)
PR:		284270
commit hash: 7a489e95c51f47f5e25a5613e375ec000618e52a commit hash: 7a489e95c51f47f5e25a5613e375ec000618e52a commit hash: 7a489e95c51f47f5e25a5613e375ec000618e52a commit hash: 7a489e95c51f47f5e25a5613e375ec000618e52a 7a489e9
Monday, 19 May 2025
20:00 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update CRYPTOGRAPHY_DEPENDS
commit hash: 1ffb7e4424e74e6462c570ebc6212e49d37e7e1e commit hash: 1ffb7e4424e74e6462c570ebc6212e49d37e7e1e commit hash: 1ffb7e4424e74e6462c570ebc6212e49d37e7e1e commit hash: 1ffb7e4424e74e6462c570ebc6212e49d37e7e1e 1ffb7e4
Monday, 5 May 2025
14:33 Muhammad Moinur Rahman (bofh) search for other commits by this committer
Mk/Uses: Add new variable PY_TYPING_EXTENSIONS

devel/py-typing-extensions is a common dependency while the python
version is less than 3.11. To make things easier for committers add a
new var PY_TYPING_EXTENSIONS only when the python version is less than
3.11. This variable is not supposed to be used when typing-extensions is
a hard requirement irrespective of python versions.
commit hash: 9cb9ea7c07617295fc66211ea9252609f09d0b54 commit hash: 9cb9ea7c07617295fc66211ea9252609f09d0b54 commit hash: 9cb9ea7c07617295fc66211ea9252609f09d0b54 commit hash: 9cb9ea7c07617295fc66211ea9252609f09d0b54 9cb9ea7
Tuesday, 29 Apr 2025
12:43 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update CRYPTOGRAPHY_DEPENDS
commit hash: 44c85c045e88b80bcad1f85f55ab465588a895be commit hash: 44c85c045e88b80bcad1f85f55ab465588a895be commit hash: 44c85c045e88b80bcad1f85f55ab465588a895be commit hash: 44c85c045e88b80bcad1f85f55ab465588a895be 44c85c0
Wednesday, 9 Apr 2025
14:55 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Introduce USE_PYTHON=cython3{,_run,_test}

- Update USE_PYTHON=cython{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython3*
- While I'm here, fix incorrect usage of combining cython3 in BUILD_DEPENDS and
USE_PYTHON=cython

It is added to simplify the future transition from Cython 0.29 to 3.

The minimal version is set to 3.0.12 because it is required by
devel/py-propcache.
The upper bound of version is set to 3.1 because it is limited by multiple
ports.
commit hash: 150c0018fdfece47d43cc508378c8faf26046149 commit hash: 150c0018fdfece47d43cc508378c8faf26046149 commit hash: 150c0018fdfece47d43cc508378c8faf26046149 commit hash: 150c0018fdfece47d43cc508378c8faf26046149 150c001
Tuesday, 8 Apr 2025
01:59 Charlie Li (vishwin) search for other commits by this committer Author: Wen Heping
lang/python312: add 3.12.9

What's new: https://docs.python.org/3/whatsnew/3.12.html

PR: 271673
Co-authored-by: vishwin
Differential Revision: https://reviews.freebsd.org/D49679
commit hash: deb31699f1e7aef1498a7507cf219be6e338332b commit hash: deb31699f1e7aef1498a7507cf219be6e338332b commit hash: deb31699f1e7aef1498a7507cf219be6e338332b commit hash: deb31699f1e7aef1498a7507cf219be6e338332b deb3169
Monday, 31 Mar 2025
17:10 Muhammad Moinur Rahman (bofh) search for other commits by this committer
Mk/Uses: Cosmetic changes on python.mk

Some of the comments were still refering to python38 post removal.

Approved by:	portmgr (blanket)
commit hash: 664dd3e3801f35d4e91a1e2888b6cfa6420526c1 commit hash: 664dd3e3801f35d4e91a1e2888b6cfa6420526c1 commit hash: 664dd3e3801f35d4e91a1e2888b6cfa6420526c1 commit hash: 664dd3e3801f35d4e91a1e2888b6cfa6420526c1 664dd3e
15:34 Rene Ladan (rene) search for other commits by this committer
lang/python38: remove and unregister, it reached end-of-life in October 2024

This has to be done in one commit to avoid breaking INDEX
commit hash: ca15850a2b13f4fede0294d724e1d4a8edec8407 commit hash: ca15850a2b13f4fede0294d724e1d4a8edec8407 commit hash: ca15850a2b13f4fede0294d724e1d4a8edec8407 commit hash: ca15850a2b13f4fede0294d724e1d4a8edec8407 ca15850
Saturday, 8 Mar 2025
04:05 Charlie Li (vishwin) search for other commits by this committer
python.mk: remove setuptools from RUN_DEPENDS

Historically this was needed as a RUN_DEPENDS due to consumers using
the included pkg_resources, which has been deprecated for some time
now in favour of the importlib suite. (pkg_resources consumers are
strongly advised to migrate to importlib et al.)

PR: 270510
Reviewed by: crees, rm
Tested by: jhale, wen
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D39303
commit hash: bc7ed2ccd62e3bb0b76cea6f261558a121aa422a commit hash: bc7ed2ccd62e3bb0b76cea6f261558a121aa422a commit hash: bc7ed2ccd62e3bb0b76cea6f261558a121aa422a commit hash: bc7ed2ccd62e3bb0b76cea6f261558a121aa422a bc7ed2c
Thursday, 27 Feb 2025
22:59 Charlie Li (vishwin) search for other commits by this committer
python.mk: allow do-configure with {HAS,GNU}_CONFIGURE under USE_PYTHON=pep517

Some non-Python software include optional Python package(s) whose
metadata is generated by a configure script. In those cases allow
do-configure to run instead of ignoring them completely when the
Python package is PEP-517-compliant.
commit hash: 50b9e59d0678e624be2c6914e8b6d91733f18045 commit hash: 50b9e59d0678e624be2c6914e8b6d91733f18045 commit hash: 50b9e59d0678e624be2c6914e8b6d91733f18045 commit hash: 50b9e59d0678e624be2c6914e8b6d91733f18045 50b9e59
Thursday, 31 Oct 2024
22:11 Rene Ladan (rene) search for other commits by this committer
Mk: Revert "Mk: unregister expired lang/python38 and update some comments"

This reverts commit ee12243bdd7f5fda05a716c29f90671307a5c059.

At least devel/include-what-you-use and emulators/libretro-mame still
require Python 3.8
commit hash: c6cba04860de992d4c6a6419922c508116dc85fa commit hash: c6cba04860de992d4c6a6419922c508116dc85fa commit hash: c6cba04860de992d4c6a6419922c508116dc85fa commit hash: c6cba04860de992d4c6a6419922c508116dc85fa c6cba04
22:01 Rene Ladan (rene) search for other commits by this committer
Mk: unregister expired lang/python38 and update some comments
commit hash: ee12243bdd7f5fda05a716c29f90671307a5c059 commit hash: ee12243bdd7f5fda05a716c29f90671307a5c059 commit hash: ee12243bdd7f5fda05a716c29f90671307a5c059 commit hash: ee12243bdd7f5fda05a716c29f90671307a5c059 ee12243
Monday, 14 Oct 2024
05:26 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update PY_TOMLI

devel/py-pyproject-fmt 2.3.0 requires textproc/py-tomli 2.0.2+.
commit hash: 94235dd8c03c3e1670dee8eef60b1b4b680dcadf commit hash: 94235dd8c03c3e1670dee8eef60b1b4b680dcadf commit hash: 94235dd8c03c3e1670dee8eef60b1b4b680dcadf commit hash: 94235dd8c03c3e1670dee8eef60b1b4b680dcadf 94235dd
Sunday, 21 Jul 2024
16:55 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Introduce PY_TOMLI

- Convert ports to use PY_TOMLI to simplify Makefile.

The minimal version is set to 2.0.1 because it is required by multiple ports
such as devel/py-poetry.
The upper bound of version is set to 3 because it is limited by devel/py-poetry.

With hat:	python
commit hash: 180cd7365c99492bcd78a06b5070190e6f950245 commit hash: 180cd7365c99492bcd78a06b5070190e6f950245 commit hash: 180cd7365c99492bcd78a06b5070190e6f950245 commit hash: 180cd7365c99492bcd78a06b5070190e6f950245 180cd73
13:04 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update CRYPTOGRAPHY_DEPENDS
commit hash: 485b9da9429a4e8fa5bdec318ff0b611b0514570 commit hash: 485b9da9429a4e8fa5bdec318ff0b611b0514570 commit hash: 485b9da9429a4e8fa5bdec318ff0b611b0514570 commit hash: 485b9da9429a4e8fa5bdec318ff0b611b0514570 485b9da
Saturday, 15 Jun 2024
14:23 Wen Heping (wen) search for other commits by this committer
math/py-numpy: Update to 1.26.4

PR:		277689
Reported by:	wen@
Exp-run by:	antoine@
commit hash: d3e0e547ee3bfaa37aa10132d6fee0ed689333b6 commit hash: d3e0e547ee3bfaa37aa10132d6fee0ed689333b6 commit hash: d3e0e547ee3bfaa37aa10132d6fee0ed689333b6 commit hash: d3e0e547ee3bfaa37aa10132d6fee0ed689333b6 d3e0e54
Wednesday, 29 May 2024
13:51 Ruslan Makhmatkhanov (rm) search for other commits by this committer
Mk/Uses/python.mk: Switch to Python 3.11 as default

The switch is a collective effort of Wen Heping, Alastair Hogge,
Muhammad Moinur Rahman, Antoine Brodin, Vladimir Druzenko,
Thomas Zander, Daniel Engberg et al.

PR:		275494
Tested by:	antoine (multiple exp-runs)
With hat:   python
commit hash: 62a23ef0936e21fef507653054d6732bb7ef085f commit hash: 62a23ef0936e21fef507653054d6732bb7ef085f commit hash: 62a23ef0936e21fef507653054d6732bb7ef085f commit hash: 62a23ef0936e21fef507653054d6732bb7ef085f 62a23ef
Monday, 8 Apr 2024
12:37 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Introduce PY_EXCEPTIONGROUP

The minimal version is set to 1.1.1 because it is required by devel/py-cattrs.
Convert ports to use PY_EXCEPTIONGROUP to simplify Makefile.

With hat:	python
commit hash: 0a4260b3a1a599e94eca7a85d38f97214fb4606e commit hash: 0a4260b3a1a599e94eca7a85d38f97214fb4606e commit hash: 0a4260b3a1a599e94eca7a85d38f97214fb4606e commit hash: 0a4260b3a1a599e94eca7a85d38f97214fb4606e 0a4260b
Saturday, 23 Mar 2024
14:50 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update CRYPTOGRAPHY_DEPENDS

Changes:	https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst
		https://cryptography.io/en/latest/changelog/
Security:	CVE-2024-26130
commit hash: 719c5032576ac0687079aaf941717c4af3544995 commit hash: 719c5032576ac0687079aaf941717c4af3544995 commit hash: 719c5032576ac0687079aaf941717c4af3544995 commit hash: 719c5032576ac0687079aaf941717c4af3544995 719c503
Thursday, 29 Feb 2024
20:21 Tijl Coosemans (tijl) search for other commits by this committer
Mk/*: Build with a clean environment

Both our make and gmake use the MAKEFLAGS environment variable but the
values aren't compatible and the latest version of gmake complains about
that.  To rule out that any environment variable can cause problems like
this, add a new command SETENVI=/usr/bin/env -i that clears the
environment, and use it to run upstream build systems with a clean
environment.

Introduce a new variable WRK_ENV that contains the environment to use
with SETENVI in all targets that run upstream build commands.  Variables
that are common between CONFIGURE_ENV and MAKE_ENV could be moved to
WRK_ENV but for now it just contains a minimal environment:

HOME=${WRKDIR}: Fixes USES=elixir ports that were using the user's HOME.
OSVERSION: For cross building; determines the output of uname -K and
getosreldate(3); affects net/freebsd-telnetd for example.
PATH: Fixes USES=gem ports that were using the user's PATH.
PWD=$${PWD}: Preserve current working directory; affects USES=go ports.
TERM: To preserve colored output to terminals.
TMPDIR: For users who define that.
UNAME_*: For cross building; determines the output of uname(1); affects
lang/python* for example.

This commit deals with everything under Mk/.  Ports that have their own
targets running upstream build commands can switch to SETENVI later.

The ports tree adds its definition of ARCH to the MAKEFLAGS environment
variable, which is interpreted by sub-makes as command line arguments,
which means that any definition of ARCH in upstream makefiles was
overridden.  The following ports required fixes now that this is no
longer the case.

games/iortcw, games/q3cellshading, games/tremulous:
These use Quake 3 engine code.  Fix use of ARCH.  Reduce diff between
FreeBSD code and Linux code.

games/legesmotus:
Remove ARCH related patches.

lang/ocaml:
Patch configure script so it detects amd64 correctly.  Also make the
powerpc case consistent with the other architectures.  This also affects
other ocaml ports like devel/ocaml-ocamlbuild and math/ocaml-num that
include a Makefile.config installed by lang/ocaml.  While here, use
SETENVI in check-test target.

net/libnatpmp:
Use of upstream definition of ARCH triggers installation in PREFIX/lib64
on amd64.  Disable this.

PR:		276478
Approved by:	portmgr (antoine)
Exp-run by:	antoine
commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 572f236
Friday, 1 Dec 2023
22:13 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update USE_PYTHON=cryptography*

Reference:	https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#4106---2023-11-27
Security:	CVE-2023-49083
commit hash: cb35a216c80b456f09dfbf1bac58e3927330c7de commit hash: cb35a216c80b456f09dfbf1bac58e3927330c7de commit hash: cb35a216c80b456f09dfbf1bac58e3927330c7de commit hash: cb35a216c80b456f09dfbf1bac58e3927330c7de cb35a21
Monday, 27 Nov 2023
10:30 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update CRYPTOGRAPHY_DEPENDS

py-pyhanko-certvalidator 0.26.2 requires py-cryptography 41.0.5+
commit hash: 008c78011e11b334fb376a42fc7a1eab381e3fd1 commit hash: 008c78011e11b334fb376a42fc7a1eab381e3fd1 commit hash: 008c78011e11b334fb376a42fc7a1eab381e3fd1 commit hash: 008c78011e11b334fb376a42fc7a1eab381e3fd1 008c780
Saturday, 30 Sep 2023
23:31 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update CRYPTOGRAPHY_DEPENDS

py-webauthn 1.11.0 requires py-cryptography 41.0.4+.
commit hash: 3226ddb8f0b9c2bf72a6915baba0559e17896b40 commit hash: 3226ddb8f0b9c2bf72a6915baba0559e17896b40 commit hash: 3226ddb8f0b9c2bf72a6915baba0559e17896b40 commit hash: 3226ddb8f0b9c2bf72a6915baba0559e17896b40 3226ddb
00:46 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Remove PYTHON3_DEFAULT and use PYTHON_DEFAULT instead

- Remove unnecessary PYTHON3_DEFAULT
- Replace PYTHON3_DEFAULT with PYTHON_DEFAULT

Regarding DEFAULT_VERSIONS, both python and python3 point to the same value
which makes python3 a duplicate. And we do not really support python=2.7.
Therefore, use python for Python 3.x and python2 for legacy Python 2.7.
commit hash: 9ef210b6cd70dc7713a857618b28faf4e63b7b73 commit hash: 9ef210b6cd70dc7713a857618b28faf4e63b7b73 commit hash: 9ef210b6cd70dc7713a857618b28faf4e63b7b73 commit hash: 9ef210b6cd70dc7713a857618b28faf4e63b7b73 9ef210b
Friday, 29 Sep 2023
14:19 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
*: Replace USES=pycryptography* with USE_PYTHON=cryptography{,_build,_test}

- Introduce USE_PYTHON=cryptography{,_build,_test}
- Switch all 96 ports from USES=pycryptography to with
USE_PYTHON=cryptography{,_build,_test}
- Remove Mk/Uses/pycryptography.mk

PR:		273727
Approved by:	tcberner (portmgr)
Exp-run by:	antoine
commit hash: 3754fc5f190b9a31f617d662bb35fd0f96ee8088 commit hash: 3754fc5f190b9a31f617d662bb35fd0f96ee8088 commit hash: 3754fc5f190b9a31f617d662bb35fd0f96ee8088 commit hash: 3754fc5f190b9a31f617d662bb35fd0f96ee8088 3754fc5
Monday, 11 Sep 2023
18:21 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Cosmetic change
commit hash: 223c60c5d65d885c2155535b60933bf9039066aa commit hash: 223c60c5d65d885c2155535b60933bf9039066aa commit hash: 223c60c5d65d885c2155535b60933bf9039066aa commit hash: 223c60c5d65d885c2155535b60933bf9039066aa 223c60c
Monday, 4 Sep 2023
17:21 Li-Wen Hsu (lwhsu) search for other commits by this committer Author: John Hein
python.mk: Improve CMake/Python integration

Suport FindPython.cmake, FindPython3.cmake, FindPython2.cmake modules by
adding Python{,2,3}_EXECUTABLE to CMAKE_ARGS in python.mk.

CMake supports more than one way to search for python.  Currently
python.mk passes -DPython_ADDITIONAL_VERSIONS=${PYTHON_VER} to help
FindPython{Interp,Libs}.cmake modules "find" the version of python that
a port build wants to use.

The FindPython{,2,3}.cmake modules don't know anything about
Python_ADDITIONAL_VERSIONS but use Python{,2,3}_EXECUTABLE as the hint.

PR:		262109
commit hash: aa9736e3e5f6856f5eb5e26837169b0f6022eec8 commit hash: aa9736e3e5f6856f5eb5e26837169b0f6022eec8 commit hash: aa9736e3e5f6856f5eb5e26837169b0f6022eec8 commit hash: aa9736e3e5f6856f5eb5e26837169b0f6022eec8 aa9736e
Friday, 7 Jul 2023
12:56 Wen Heping (wen) search for other commits by this committer
math/py-numpy: Update to 1.25.0

PR:		272058
Reported by:	wen@
Exp-run by:	antoine@
commit hash: 65c21fd7c9164f3093c730373d463bbc37f640d1 commit hash: 65c21fd7c9164f3093c730373d463bbc37f640d1 commit hash: 65c21fd7c9164f3093c730373d463bbc37f640d1 commit hash: 65c21fd7c9164f3093c730373d463bbc37f640d1 65c21fd
Friday, 30 Jun 2023
07:08 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Clean up after lang/python37 removal
commit hash: 12c7567d7d98af26168dc46d48921fc85c287057 commit hash: 12c7567d7d98af26168dc46d48921fc85c287057 commit hash: 12c7567d7d98af26168dc46d48921fc85c287057 commit hash: 12c7567d7d98af26168dc46d48921fc85c287057 12c7567
Tuesday, 27 Jun 2023
19:32 Rene Ladan (rene) search for other commits by this committer
Mk/Uses: bit more cleanup in USES=python now that 3.7 is sunset
commit hash: c58ef91e06e8edc4fd8579837f1453b562da3fbb commit hash: c58ef91e06e8edc4fd8579837f1453b562da3fbb commit hash: c58ef91e06e8edc4fd8579837f1453b562da3fbb commit hash: c58ef91e06e8edc4fd8579837f1453b562da3fbb c58ef91e
19:00 Rene Ladan (rene) search for other commits by this committer
Mk: unregister expired lang/python3.7
commit hash: 53475f525ad469b2029d2de85e8bf0706b5b8d40 commit hash: 53475f525ad469b2029d2de85e8bf0706b5b8d40 commit hash: 53475f525ad469b2029d2de85e8bf0706b5b8d40 commit hash: 53475f525ad469b2029d2de85e8bf0706b5b8d40 53475f5
Saturday, 20 May 2023
15:51 Rene Ladan (rene) search for other commits by this committer
Mk/Uses/python.mk: update version numbers in some examples
commit hash: e4fee285e6dc57101828394dc5543507ab1be7fa commit hash: e4fee285e6dc57101828394dc5543507ab1be7fa commit hash: e4fee285e6dc57101828394dc5543507ab1be7fa commit hash: e4fee285e6dc57101828394dc5543507ab1be7fa e4fee285
Monday, 8 May 2023
07:04 Wen Heping (wen) search for other commits by this committer
Mk/Uses/python.mk: Fix a typo

PR:		271265
Reported by:	grahamperrin@freebsd.org
commit hash: 9414f7024b4c19236f5ee2559207025f3c71fbef commit hash: 9414f7024b4c19236f5ee2559207025f3c71fbef commit hash: 9414f7024b4c19236f5ee2559207025f3c71fbef commit hash: 9414f7024b4c19236f5ee2559207025f3c71fbef 9414f70
Sunday, 7 May 2023
16:17 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Fix 34852a28b2b09ceb1b52db7ac15a192089c5e60c

PYTHON3_DEFAULT removal is planned for a PR.
commit hash: 78d3d0be394eb329f898017589877e1f2b3281f1 commit hash: 78d3d0be394eb329f898017589877e1f2b3281f1 commit hash: 78d3d0be394eb329f898017589877e1f2b3281f1 commit hash: 78d3d0be394eb329f898017589877e1f2b3281f1 78d3d0b
16:05 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Fix PLIST issue for USE_PYTHON=pep517

Currently "USE_PYTHON=autoplist pep517" generates the PLIST as follows:
- Extract the list of installed files from the RECORD file to the intermediate
  PLIST (_PYTHONPKGLIST)
- Manipulate the intermediate PLIST
- Add list of pycache files to the intermediate PLIST

When the RECORD file contains foo.pyc entry, that file will be counted twice in
the PLIST at the end. It will cause check-plist error. This fix removes *.pyc
entries while manipulating the intermediate PLIST to ensure all pycache files
are only counted once.
commit hash: 34852a28b2b09ceb1b52db7ac15a192089c5e60c commit hash: 34852a28b2b09ceb1b52db7ac15a192089c5e60c commit hash: 34852a28b2b09ceb1b52db7ac15a192089c5e60c commit hash: 34852a28b2b09ceb1b52db7ac15a192089c5e60c 34852a2
Tuesday, 4 Apr 2023
18:27 Antoine Brodin (antoine) search for other commits by this committer
USE_PYTHON=pep517: package python bytecode

Compile and package python bytecode for python ports using pep517.
This can be revisited in the future with a trigger.

Approved by:	portmgr
commit hash: 378e09115cbe9a584e3f497c39891619eb3b6ad0 commit hash: 378e09115cbe9a584e3f497c39891619eb3b6ad0 commit hash: 378e09115cbe9a584e3f497c39891619eb3b6ad0 commit hash: 378e09115cbe9a584e3f497c39891619eb3b6ad0 378e091
Monday, 27 Mar 2023
05:03 Charlie Li (vishwin) search for other commits by this committer
python.mk: use gpep517 as build frontend on Python 3.7

Should start allowing PEP-517 packages to build and unbreaking
circular dependencies, however short a shelf life, due to gpep517's
almost nonexistant Python dependency tree.

(PyPA build will continue as the preferred build frontend otherwise,
due to official stewardship, but does not preclude a DEFAULT_VERSIONS
hook in the future)
commit hash: 33333715d11b23ec7140b3cc6f377223a224853b commit hash: 33333715d11b23ec7140b3cc6f377223a224853b commit hash: 33333715d11b23ec7140b3cc6f377223a224853b commit hash: 33333715d11b23ec7140b3cc6f377223a224853b 3333371
Tuesday, 21 Mar 2023
19:22 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Use long options for easier reading (part of
de6965254c3a007efcf697c3d455b54d2aeb2383)
commit hash: bbd8f024073e59797f6a2b7171d74195350729da commit hash: bbd8f024073e59797f6a2b7171d74195350729da commit hash: bbd8f024073e59797f6a2b7171d74195350729da commit hash: bbd8f024073e59797f6a2b7171d74195350729da bbd8f02
19:22 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Add support for post-release version (.postX)

The post-release version is normalized to .postX in PEP440. However, it will be
converted to .pX in FreeBSD which means an older version.

% pkg ver -t 1.2.3 1.2.3.p4
>

If the original release is already in the tree, rather than bumping PORTEPOCH,
you could bump PORTREVISION and add .postX to DISTVERSIONSUFFIX.

This fix allows the port to build in this situation.
commit hash: fb46fe4b4c6d1b0e9a5c21284497c62af8c85000 commit hash: fb46fe4b4c6d1b0e9a5c21284497c62af8c85000 commit hash: fb46fe4b4c6d1b0e9a5c21284497c62af8c85000 commit hash: fb46fe4b4c6d1b0e9a5c21284497c62af8c85000 fb46fe4
Saturday, 18 Mar 2023
14:20 Matthew Seaman (matthew) search for other commits by this committer
Mk/Uses/python.mk:  Support PEP440 versioning

The python PEP440 version numbering standard is _mostly_ compatible
with FreeBSD port versioning rules.  Exceptions exist, where the
PORTVERSION can be derived from the upstream DISTVERSION
automatically. For example:

PEP440 DISTVERSION:      FreeBSD PORTVERSION:
2.3.post1                2.3.p1

Now, this interacts badly with PEP517 build setups.  hatchling will
enforce PEP440 complicance, so it isn't practical to modify the ported
code to use exactly the FreeBSD version.

Instead, simply referring to DISTVERSION rather than PORTVERSION will
allow the build process to complete smoothly.

See https://reviews.freebsd.org/D39123 for an example port update
which depends on this change

Approved by:	python (maintainer, vishwin)
Differential Revision:	https://reviews.freebsd.org/D39124
commit hash: 2b7d76adec17cec8185635e6b2ad46e303cbc77b commit hash: 2b7d76adec17cec8185635e6b2ad46e303cbc77b commit hash: 2b7d76adec17cec8185635e6b2ad46e303cbc77b commit hash: 2b7d76adec17cec8185635e6b2ad46e303cbc77b 2b7d76a
Thursday, 9 Mar 2023
17:35 Charlie Li (vishwin) search for other commits by this committer
python.mk: introduce PY_SETUPTOOLS

Selects the correct setuptools port based on USE_PYTHON=distutils
or not. devel/py-setuptools58 case currently commented out.
commit hash: 46a71ea3bf0004075ed438ebf49af255fe942b89 commit hash: 46a71ea3bf0004075ed438ebf49af255fe942b89 commit hash: 46a71ea3bf0004075ed438ebf49af255fe942b89 commit hash: 46a71ea3bf0004075ed438ebf49af255fe942b89 46a71ea
11:18 Charlie Li (vishwin) search for other commits by this committer
strip_RECORD.py: move to Mk/Scripts

Requested by: mat
commit hash: 67de7ad43c695d1b31e5528b05edd61c46a99760 commit hash: 67de7ad43c695d1b31e5528b05edd61c46a99760 commit hash: 67de7ad43c695d1b31e5528b05edd61c46a99760 commit hash: 67de7ad43c695d1b31e5528b05edd61c46a99760 67de7ad
04:34 Charlie Li (vishwin) search for other commits by this committer
python.mk: add PEP517_BUILD_CONFIG_SETTING

Reference:
https://pypa-build.readthedocs.io/en/latest/#python--m-build---config-setting
commit hash: a1039fe12a2882341f1b7e97cbe50339860c3092 commit hash: a1039fe12a2882341f1b7e97cbe50339860c3092 commit hash: a1039fe12a2882341f1b7e97cbe50339860c3092 commit hash: a1039fe12a2882341f1b7e97cbe50339860c3092 a1039fe
04:24 Charlie Li (vishwin) search for other commits by this committer
python.mk: add USE_PYTHON=cython_test
commit hash: 8731e33283354423faea74ea96a6431d7441eaba commit hash: 8731e33283354423faea74ea96a6431d7441eaba commit hash: 8731e33283354423faea74ea96a6431d7441eaba commit hash: 8731e33283354423faea74ea96a6431d7441eaba 8731e33
04:17 Charlie Li (vishwin) search for other commits by this committer
python.mk: use PYTHON_MAJOR_VER for Python 2/3 conditionals
commit hash: 43ae3588e62e8349474181c1ebb1f32e4d249fc8 commit hash: 43ae3588e62e8349474181c1ebb1f32e4d249fc8 commit hash: 43ae3588e62e8349474181c1ebb1f32e4d249fc8 commit hash: 43ae3588e62e8349474181c1ebb1f32e4d249fc8 43ae358
04:11 Charlie Li (vishwin) search for other commits by this committer
python.mk: document individual module variables

...except PY_PILLOW, which has been redundant since Python 3.5 removal
and is slowly being removed.
commit hash: 97741a0217bc2671be32ac5f1d4c8cabbbb2a01c commit hash: 97741a0217bc2671be32ac5f1d4c8cabbbb2a01c commit hash: 97741a0217bc2671be32ac5f1d4c8cabbbb2a01c commit hash: 97741a0217bc2671be32ac5f1d4c8cabbbb2a01c 97741a0
03:58 Charlie Li (vishwin) search for other commits by this committer
python.mk: move PEP-517 docs above distutils
commit hash: b0a6205495e0acaa011911b2555f8d67749b713b commit hash: b0a6205495e0acaa011911b2555f8d67749b713b commit hash: b0a6205495e0acaa011911b2555f8d67749b713b commit hash: b0a6205495e0acaa011911b2555f8d67749b713b b0a6205
03:33 Charlie Li (vishwin) search for other commits by this committer
python.mk: use script to process RECORD for the first pass

RECORD is a CSV file [0] containing more data than our plist format
accepts. The original processing method used sed(1) exclusively,
but paths containing quotes, spaces and commas throw it off. Process
the CSV properly instead for the first pass.

References:
https://packaging.python.org/en/latest/specifications/recording-installed-packages/#the-record-file
[0]
commit hash: 16a6fecb4ff8b051ba1b238267b7cd15b19cda75 commit hash: 16a6fecb4ff8b051ba1b238267b7cd15b19cda75 commit hash: 16a6fecb4ff8b051ba1b238267b7cd15b19cda75 commit hash: 16a6fecb4ff8b051ba1b238267b7cd15b19cda75 16a6fec
03:07 Charlie Li (vishwin) search for other commits by this committer
python.mk: add man/ to PEP-517 autoplist
commit hash: 588237f00b8ff6339e1984b71390ff423c761206 commit hash: 588237f00b8ff6339e1984b71390ff423c761206 commit hash: 588237f00b8ff6339e1984b71390ff423c761206 commit hash: 588237f00b8ff6339e1984b71390ff423c761206 588237f
Monday, 27 Feb 2023
23:59 Charlie Li (vishwin) search for other commits by this committer
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.
commit hash: 922e7f41450be113e7301c672c8ed3eb352cc8df commit hash: 922e7f41450be113e7301c672c8ed3eb352cc8df commit hash: 922e7f41450be113e7301c672c8ed3eb352cc8df commit hash: 922e7f41450be113e7301c672c8ed3eb352cc8df 922e7f4
21:04 Matthias Andree (mandree) search for other commits by this committer
lang/python: Revert "add bytecode trigger"

This reverts commit c17ddfbf66e2801ec620d49979aca3d7077d7002.

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

Differential Revision: https://reviews.freebsd.org/D34739
commit hash: a9d9d3a4272303bf226b9deb55c42303e4fcebdc commit hash: a9d9d3a4272303bf226b9deb55c42303e4fcebdc commit hash: a9d9d3a4272303bf226b9deb55c42303e4fcebdc commit hash: a9d9d3a4272303bf226b9deb55c42303e4fcebdc a9d9d3a
Sunday, 26 Feb 2023
18:48 Charlie Li (vishwin) search for other commits by this committer
python.mk: add etc/ to PEP-517 autoplist

This was mistakenly missed in 18982c467f6ce3109f1e71198274eeac45f35297.

Requested by: yasu
commit hash: 853d0bf6fbe171196452fd981fd7444339bc8dc0 commit hash: 853d0bf6fbe171196452fd981fd7444339bc8dc0 commit hash: 853d0bf6fbe171196452fd981fd7444339bc8dc0 commit hash: 853d0bf6fbe171196452fd981fd7444339bc8dc0 853d0bf
03:14 Charlie Li (vishwin) search for other commits by this committer
python.mk: PEP-517 data_files support

data_files was not initially supported in the framework under the
guise that PyPA through setuptools deprecated the practice. However,
other build backends like flit still support (and advertise as a
"newer" feature) data_files, and certain packages continue to install
operating system-specific files like man pages using Python's
packaging system.

This expands RECORD parsing to account for any data_files beyond
entry_points installed to bin/. It is limited to certain directories
in hier(7) listed under /usr/local to prevent wheels from installing
files to arbitrary locations.

Tested by: yasu (first pass)
Differential Revision: https://reviews.freebsd.org/D38050
commit hash: 18982c467f6ce3109f1e71198274eeac45f35297 commit hash: 18982c467f6ce3109f1e71198274eeac45f35297 commit hash: 18982c467f6ce3109f1e71198274eeac45f35297 commit hash: 18982c467f6ce3109f1e71198274eeac45f35297 18982c4
Saturday, 25 Feb 2023
17:35 Charlie Li (vishwin) search for other commits by this committer
python.mk: explicitly pass ${PREFIX} to ${PEP517_INSTALL_CMD}

Otherwise the stage prefix is ${PYTHONBASE} by default.

Reported by: John Hein <jcfyecrayz[at]liamekaens[point]com>
PR: 269472
commit hash: 9fbe5f4d774c1f818ec604a438356311f3bc76ee commit hash: 9fbe5f4d774c1f818ec604a438356311f3bc76ee commit hash: 9fbe5f4d774c1f818ec604a438356311f3bc76ee commit hash: 9fbe5f4d774c1f818ec604a438356311f3bc76ee 9fbe5f4
Wednesday, 15 Feb 2023
21:35 Charlie Li (vishwin) search for other commits by this committer
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
commit hash: c17ddfbf66e2801ec620d49979aca3d7077d7002 commit hash: c17ddfbf66e2801ec620d49979aca3d7077d7002 commit hash: c17ddfbf66e2801ec620d49979aca3d7077d7002 commit hash: c17ddfbf66e2801ec620d49979aca3d7077d7002 c17ddfb
Wednesday, 8 Feb 2023
01:14 Wen Heping (wen) search for other commits by this committer
math/py-numpy: Update to 1.24.1

PR:		268594
Reported by:	wen@
Exp-run by:	antoine@
commit hash: b217a15a96fa1b52c47611ab6db79105e45e924b commit hash: b217a15a96fa1b52c47611ab6db79105e45e924b commit hash: b217a15a96fa1b52c47611ab6db79105e45e924b commit hash: b217a15a96fa1b52c47611ab6db79105e45e924b b217a15
Sunday, 5 Feb 2023
19:05 Charlie Li (vishwin) search for other commits by this committer
Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install
bytecode"

Despite installer's default behaviour to compile and install bytecode,
we are not doing so going forward at stage/package time. [0] During
initial development and qualification of PEP-517 framework support,
compiling and installing bytecode at stage/package time was considered,
but was found problematic, fragile and ultimately unreliable, both
currently and historically (with USE_PYTHON=distutils), due to our
fixed plist requirement. While the living binary distribution format
(wheel) specification [1] says to compile bytecode, that is in the
pure Python package management context (pip, etc); nuance always
exists when interacting with "system" package management.

Additionally, "bytecode is an implementation detail of the CPython
interpreter. No guarantees are made that bytecode will not be added,
removed, or changed between versions of Python," thus "should not
be considered to work across Python VMs or Python releases." [2]
This is important to ensuring correctness for those ports specifying
NO_ARCH.

Instead of compiling and installing bytecode at stage/package time,
there is a WIP, review D34739, that compiles and installs bytecode
at install time instead, using triggers.

The aforementioned build_fs_violations will be investigated.

This reverts commit de6965254c3a007efcf697c3d455b54d2aeb2383.

With hat:	python
Approved by:	tcberner (mentor, portmgr)
Reference:	https://wiki.freebsd.org/Python/PEP-517 [0]
		https://packaging.python.org/en/latest/specifications/binary-distribution-format/
[1]
		https://docs.python.org/3/library/dis.html [2]
commit hash: f5890bd3cbc66a805bfc04a1a45688b5a3e68c50 commit hash: f5890bd3cbc66a805bfc04a1a45688b5a3e68c50 commit hash: f5890bd3cbc66a805bfc04a1a45688b5a3e68c50 commit hash: f5890bd3cbc66a805bfc04a1a45688b5a3e68c50 f5890bd
18:16 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode

- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change

It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].

from py-sphinx log:
=>> Checking for staging violations... done
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=>> Cleaning up wrkdir

from installer documentation:
--compile-bytecode
    Possible choices: 0, 1, 2
    generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
    don’t generate bytecode for installed modules
    Default: False

With hat:	python
Reference:	https://pypa-build.readthedocs.io/en/stable/ [1]
		https://installer.pypa.io/en/stable/cli/installer/ [2]
commit hash: de6965254c3a007efcf697c3d455b54d2aeb2383 commit hash: de6965254c3a007efcf697c3d455b54d2aeb2383 commit hash: de6965254c3a007efcf697c3d455b54d2aeb2383 commit hash: de6965254c3a007efcf697c3d455b54d2aeb2383 de69652
Sunday, 15 Jan 2023
19:55 Charlie Li (vishwin) search for other commits by this committer
devel/py-setuptools58: add

This port will eventually serve as the one used in USE_PYTHON=distutils,
namely for executing ${PYSETUP}. See
https://wiki.freebsd.org/Python/setuptools for details.

Approved by: fluffy (mentor)
Differential Revision: https://reviews.freebsd.org/D38069
commit hash: fd932c22056b7aed8fc14e3408437896a543cc95 commit hash: fd932c22056b7aed8fc14e3408437896a543cc95 commit hash: fd932c22056b7aed8fc14e3408437896a543cc95 commit hash: fd932c22056b7aed8fc14e3408437896a543cc95 fd932c2
Saturday, 14 Jan 2023
01:31 Charlie Li (vishwin) search for other commits by this committer
python.mk: normalise wheel filename arguments in PEP517_INSTALL_CMD

The living binary distribution format specification derived from
PEP-427 [0] prescribes that:

  In distribution names, any run of -_. characters (HYPHEN-MINUS,
  LOW LINE and FULL STOP) should be replaced with _ (LOW LINE), and
  uppercase characters should be replaced with corresponding lowercase
  ones. This is equivalent to PEP 503 normalisation followed by
  replacing - with _. Tools consuming wheels must be prepared to
  accept . (FULL STOP) and uppercase letters, however, as these
  were allowed by an earlier version of this specification.

This fixes staging for packages built under PEP-517 with dashes
(HYPHEN-MINUS) in their names.

[0]
https://packaging.python.org/en/latest/specifications/binary-distribution-format/

Reported by: amdmi3
Tested by: yasu, rhurlin
PR: 268893
With hat: python
Approved by: mentors (implicit)
commit hash: 952e0dba497e276c99d0ffb78cecb77a65349832 commit hash: 952e0dba497e276c99d0ffb78cecb77a65349832 commit hash: 952e0dba497e276c99d0ffb78cecb77a65349832 commit hash: 952e0dba497e276c99d0ffb78cecb77a65349832 952e0db
Wednesday, 11 Jan 2023
05:22 Charlie Li (vishwin) search for other commits by this committer
python.mk: introduce USE_PYTHON=pep517 for PEP-517 support

USE_PYTHON=pep517 takes no arguments. Operation is similar to
USE_PYTHON=distutils, although the build backend specified in
pyproject.toml is to be specified in BUILD_DEPENDS explicitly. A
usage guide and implementation primer is available at:
	https://wiki.freebsd.org/Python/PEP-517

With hat: python
Approved by: fluffy (mentor)
Co-authored by: yuri
PR: 255722
Differential Revision: https://reviews.freebsd.org/D36290
commit hash: cc8a1878e0242055ab6a8c20d33654451f78720e commit hash: cc8a1878e0242055ab6a8c20d33654451f78720e commit hash: cc8a1878e0242055ab6a8c20d33654451f78720e commit hash: cc8a1878e0242055ab6a8c20d33654451f78720e cc8a187
Monday, 22 Aug 2022
01:39 Charlie Li (vishwin) search for other commits by this committer
Uses/python.mk: revert unapproved feature addition (and consumers)

Change proposal was in discussion with open questions and additional
documented design requirement [0] for submitter to review and provide
feedback on, which was not provided.

Submitter (and anyone else) is welcome to work with python@ to
produce an appropriately reviewed feature.

[0] https://wiki.freebsd.org/Python/PEP-517

With hat: python (vishwin, koobs)
PR: 255722, 265660, 265692, 265693
Approved by: fluffy (mentor)
commit hash: 7d48381cbd686ee8d77871bc25cf1e926a314f85 commit hash: 7d48381cbd686ee8d77871bc25cf1e926a314f85 commit hash: 7d48381cbd686ee8d77871bc25cf1e926a314f85 commit hash: 7d48381cbd686ee8d77871bc25cf1e926a314f85 7d48381c
Sunday, 21 Aug 2022
20:16 Yuri Victorovich (yuri) search for other commits by this committer
Mk/Uses/python.mk: Add USE_PYTHON=build to support pyproject.toml based projects

USE_PYTHON=build supports PEP-517 at the level of individual ports.
Global support (making PEP-517 be used for all ports) is outside of the
scope of this patch.

PR:		255722
Approved by:	python (maintainer's timeout; 14 days)
Differential Revision:	https://reviews.freebsd.org/D36061
commit hash: 600312a9118bc7b9c5bb7decbefe706f9046507b commit hash: 600312a9118bc7b9c5bb7decbefe706f9046507b commit hash: 600312a9118bc7b9c5bb7decbefe706f9046507b commit hash: 600312a9118bc7b9c5bb7decbefe706f9046507b 600312a
Wednesday, 13 Jul 2022
00:19 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-setuptools: Update to 63.1.0

Changes:	https://github.com/pypa/setuptools/blob/main/CHANGES.rst
PR:		265081
Exp-run by:	antoine
commit hash: 94c675d58d181cdc28afbc2b5ad1924521c053f5 commit hash: 94c675d58d181cdc28afbc2b5ad1924521c053f5 commit hash: 94c675d58d181cdc28afbc2b5ad1924521c053f5 commit hash: 94c675d58d181cdc28afbc2b5ad1924521c053f5 94c675d
Wednesday, 6 Jul 2022
02:42 Wen Heping (wen) search for other commits by this committer
math/py-numpy: Update to 1.23.0

PR:		264837
Reported by:	wen@
Exp-run by:	antoine@
commit hash: d68b12c0a6f8c498482d8e3e1b800b140f3b719a commit hash: d68b12c0a6f8c498482d8e3e1b800b140f3b719a commit hash: d68b12c0a6f8c498482d8e3e1b800b140f3b719a commit hash: d68b12c0a6f8c498482d8e3e1b800b140f3b719a d68b12c
Sunday, 26 Jun 2022
20:31 Thierry Thomas (thierry) search for other commits by this committer Author: VVD
Mk/bsd.default-versions.mk: Switch default Python version to 3.9

PR:		261703
Reported by:	VVD
Tested by:	exp-run by antoin@
Approved by:	maintainer’s time-out
commit hash: f117f2c48552792743a74a931a49e76fc4a9c0f7 commit hash: f117f2c48552792743a74a931a49e76fc4a9c0f7 commit hash: f117f2c48552792743a74a931a49e76fc4a9c0f7 commit hash: f117f2c48552792743a74a931a49e76fc4a9c0f7 f117f2c
Friday, 3 Jun 2022
23:36 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Update *_DEPENDS for py-setuptools

Always use the latest version in order to avoid inconsistent behavior.
commit hash: c07d12c282338ee1421510ec2f55e783ab8a679d commit hash: c07d12c282338ee1421510ec2f55e783ab8a679d commit hash: c07d12c282338ee1421510ec2f55e783ab8a679d commit hash: c07d12c282338ee1421510ec2f55e783ab8a679d c07d12c
16:56 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Add preliminary support for "make test" for nose, nose2,
pytest, unittest and unittest2

This patch adds preliminary support for "make test". It supports nose, nose2,
pytest, unittest and unittest2. Enable this by adding one of the following:
    USE_PYTHON=nose
    USE_PYTHON=nose2
    USE_PYTHON=pytest
    USE_PYTHON=unittest
    USE_PYTHON=unittest2

The pytest support was derived from USES=pytest. All user-facing variables are
kept unchanged except PYTEST_ARGS which has been changed to generic TEST_ARGS.
USES=pytest can be changed to USE_PYTHON=pytest as follows:

    USES=pytest   -> USE_PYTHON=pytest
    USES=pytest:4 -> USE_PYTHON=pytest4
    PYTEST_ARGS   -> TEST_ARGS
commit hash: 535f310d337c0b7de64a972bc0b855bba6c6f1f0 commit hash: 535f310d337c0b7de64a972bc0b855bba6c6f1f0 commit hash: 535f310d337c0b7de64a972bc0b855bba6c6f1f0 commit hash: 535f310d337c0b7de64a972bc0b855bba6c6f1f0 535f310
Wednesday, 25 May 2022
07:22 Wen Heping (wen) search for other commits by this committer
math/py-numpy: Update to 1.22.4

PR:		264153
Reported by:	wen@
Exp-run by:	antoine@
commit hash: ff9098f7093e8f774790ac4139dc1090fae538da commit hash: ff9098f7093e8f774790ac4139dc1090fae538da commit hash: ff9098f7093e8f774790ac4139dc1090fae538da commit hash: ff9098f7093e8f774790ac4139dc1090fae538da ff9098f
Sunday, 24 Apr 2022
10:00 Tobias C. Berner (tcberner) search for other commits by this committer
framework: cleanup conditional-indentations in Mk/

Run Tools/scripts/indent_make_if.pl on all of Mk.

These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible

Differential Revision:	https://reviews.freebsd.org/D35024
Reviewed by:		portmgr (rene, bapt)
commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 aa25396
Friday, 25 Mar 2022
13:37 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Use lang/cython for all Python versions

lang/cython has been updated to support lang/python311 (3.11.0a6) while
lang/cython-devel does not support it yet (broken since 3.11.0a4).
commit hash: 792ff6045206a97a0ec3625a0417303b8156bcc3 commit hash: 792ff6045206a97a0ec3625a0417303b8156bcc3 commit hash: 792ff6045206a97a0ec3625a0417303b8156bcc3 commit hash: 792ff6045206a97a0ec3625a0417303b8156bcc3 792ff60
Sunday, 23 Jan 2022
20:55 Rene Ladan (rene) search for other commits by this committer
Mk/Uses: remove the default deprecation date.

Obviously the world did not manage to get rid of Python 2.7
by 2020-12-31, so remove that target and just advise users
to move on to Python 3.

This is the commit 1/9 of review D33922

Differential Revision:	https://reviews.freebsd.org/D33922
commit hash: fcb5bf842e0424b9fb70f3e489d9cc39f3c857be commit hash: fcb5bf842e0424b9fb70f3e489d9cc39f3c857be commit hash: fcb5bf842e0424b9fb70f3e489d9cc39f3c857be commit hash: fcb5bf842e0424b9fb70f3e489d9cc39f3c857be fcb5bf8
Friday, 31 Dec 2021
12:57 Rene Ladan (rene) search for other commits by this committer
Mk: unregister expired lang/python36

While here update some examples.
commit hash: d85222d9669d10c9fd198334bfe7adab61ec6e1a commit hash: d85222d9669d10c9fd198334bfe7adab61ec6e1a commit hash: d85222d9669d10c9fd198334bfe7adab61ec6e1a commit hash: d85222d9669d10c9fd198334bfe7adab61ec6e1a d85222d
Wednesday, 24 Nov 2021
17:00 Dmitry Marakasov (amdmi3) search for other commits by this committer
lang/cython-devel: add port

Add devel version of cython. Apart from that 3.x cython branch is
where all the development goes on, 0.29.x only getting backported
bugfixes, this is currently the only version which supports python
3.11. Because of that, wire USE_PYTHON=cython to cython-devel for
python >= 3.11 in Uses/python.mk as well and limit supported python
versions with <= 3.10 for cython.

PR:		259898
Approved by:	python (lwhsu)
commit hash: ab67421b6e9f96ffc0975cc8f28e57fc71612127 commit hash: ab67421b6e9f96ffc0975cc8f28e57fc71612127 commit hash: ab67421b6e9f96ffc0975cc8f28e57fc71612127 commit hash: ab67421b6e9f96ffc0975cc8f28e57fc71612127 ab67421
17:00 Dmitry Marakasov (amdmi3) search for other commits by this committer
lang/python311: add port (at 3.11.0.alpha2)

Python is an interpreted object-oriented programming language, and is
often compared to Tcl, Perl or Scheme.

WWW: https://www.python.org/

PR:		259745
Approved by:	python
commit hash: d6f568cf8a0c57c1280efb31b1b2ab850a87267f commit hash: d6f568cf8a0c57c1280efb31b1b2ab850a87267f commit hash: d6f568cf8a0c57c1280efb31b1b2ab850a87267f commit hash: d6f568cf8a0c57c1280efb31b1b2ab850a87267f d6f568c
Tuesday, 26 Oct 2021
00:50 Wen Heping (wen) search for other commits by this committer
math/py-numpy: Update to 1.20.3

PR:		259063
Reported by:	wen@
Exp-run by:	antoine@
commit hash: 7e9bec828e31369d9b6bab30ac86218bf3def70d commit hash: 7e9bec828e31369d9b6bab30ac86218bf3def70d commit hash: 7e9bec828e31369d9b6bab30ac86218bf3def70d commit hash: 7e9bec828e31369d9b6bab30ac86218bf3def70d 7e9bec8
Thursday, 16 Sep 2021
02:16 Sergey A. Osokin (osa) search for other commits by this committer
devel/mercurial: update to 5.9.1.

Bump PORTREVISIONs for dependant ports.
While I'm here update devel/tortoisehg to 5.9.1. (*)

Approved by:	arrowd (*)
PR:		ports/258352
commit hash: 06a8050112e6f7d9e5cce0e3a61c05686f6d9b25 commit hash: 06a8050112e6f7d9e5cce0e3a61c05686f6d9b25 commit hash: 06a8050112e6f7d9e5cce0e3a61c05686f6d9b25 commit hash: 06a8050112e6f7d9e5cce0e3a61c05686f6d9b25 06a8050
Wednesday, 14 Jul 2021
20:14 Dmitry Marakasov (amdmi3) search for other commits by this committer
lang/python310: add python 3.10.0.beta4

PR:		256150
Approved by:	maintainer timeout (python@, 1 month)
Differential Revision:	https://reviews.freebsd.org/D30475
commit hash: 930c93129234e5ed3f67be1b8795a5a20e2745db commit hash: 930c93129234e5ed3f67be1b8795a5a20e2745db commit hash: 930c93129234e5ed3f67be1b8795a5a20e2745db commit hash: 930c93129234e5ed3f67be1b8795a5a20e2745db 930c931
Sunday, 20 Jun 2021
16:16 Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Remove PY_PYGMENTS
commit hash: 33b4388b0926bbbae18625eda3ee940969ad8e60 commit hash: 33b4388b0926bbbae18625eda3ee940969ad8e60 commit hash: 33b4388b0926bbbae18625eda3ee940969ad8e60 commit hash: 33b4388b0926bbbae18625eda3ee940969ad8e60 33b4388
Thursday, 3 Jun 2021
11:36 Dmitry Marakasov (amdmi3) search for other commits by this committer
devel/py-setuptools: update to 57.0.0 preserving old version

- Copy devel/py-setuptools to devel/py-setuptools44 (for Python 2.7 support)
- Update devel/py-setuptool to 57.0.0 (adding support for Python 3.10)
- Update Mk/Uses/python.mk to chose between py-setuptools and
  py-setuptools44 based on Python version

This allows us to have latest setuptools and working Python 3.10
without breaking packages requiring Python 2 support for remaining
reports that require it.

Exp-run showed 3 ports failing to build with latest setuptools and
they were fixed.

PR:			256173
Exp-run by:		antoine
Reviewed by:		koobs (python)
Approved by:		koobs (python)
Differential_Revision:	https://reviews.freebsd.org/D30473
commit hash: 7a4ce8f831c4911061f4f465b4bf1e830267d4dc commit hash: 7a4ce8f831c4911061f4f465b4bf1e830267d4dc commit hash: 7a4ce8f831c4911061f4f465b4bf1e830267d4dc commit hash: 7a4ce8f831c4911061f4f465b4bf1e830267d4dc 7a4ce8f
Tuesday, 25 May 2021
13:55 Dmitry Marakasov (amdmi3) search for other commits by this committer
Mk: add framework support for two digit python minor version

PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
commit hash: 40d7b487381cc91eb3156103e6ffe8c02d5e8a70 commit hash: 40d7b487381cc91eb3156103e6ffe8c02d5e8a70 commit hash: 40d7b487381cc91eb3156103e6ffe8c02d5e8a70 commit hash: 40d7b487381cc91eb3156103e6ffe8c02d5e8a70 40d7b48
13:55 Dmitry Marakasov (amdmi3) search for other commits by this committer
Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION

This brings python framework in consistense with handbook recommendations
to prefer DISTVERSION and simplifies adding prerelease versions of
python

PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
commit hash: 5f69415313f894338dca54e21b5c3981e5e5f58f commit hash: 5f69415313f894338dca54e21b5c3981e5e5f58f commit hash: 5f69415313f894338dca54e21b5c3981e5e5f58f commit hash: 5f69415313f894338dca54e21b5c3981e5e5f58f 5f69415
13:55 Dmitry Marakasov (amdmi3) search for other commits by this committer
Mk: switch PYTHON_REL to 5 digits to support python 3.10.x

PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
commit hash: 0729af4255a63ee299e0c63a18b6a86520a19e02 commit hash: 0729af4255a63ee299e0c63a18b6a86520a19e02 commit hash: 0729af4255a63ee299e0c63a18b6a86520a19e02 commit hash: 0729af4255a63ee299e0c63a18b6a86520a19e02 0729af4

Number of commits found: 232 (showing only 100 on this page)

1 | 2 | 3  »