HomeFreeBSD

devel/py-setuptools: convert to USE_PYTHON=pep517

Description

devel/py-setuptools: convert to USE_PYTHON=pep517

The previous method of building/bootstrapping setuptools via the
built-in distutils module no longer works in Python 3.12+ as it has
been removed [0]. Since USE_PYTHON=pep517 has its own bootstrapping
process, use this method to build setuptools.

This allows newer Python distributions/interpreters to land in the
tree, for the purpose of having buildable packages.

While here, remove a slew of dead code and adjust WWW

[0] https://peps.python.org/pep-0632/

PR: 271673, 274671

Details

Provenance
vishwinAuthored on Apr 5 2025, 8:45 PM
Parents
R11:de7c5ca4a2d4: devel/py-wheel044: "temporarily" add
Branches
Unknown
Tags
Unknown