A built-package format for Python.
A wheel is a ZIP-format archive with a specially formatted filename and the
.whl extension. It is designed to contain all the files for a PEP 376
compatible install in a way that is very close to the on-disk format.
Many packages will be properly installed with only the "Unpack" step (simply
extracting the file onto sys.path), and the unpacked archive preserves enough
information to "Spread" (copy data and scripts to their final locations)
at any later time.
The wheel project provides a bdist_wheel command for setuptools (requires
setuptools >= 0.8.0). Wheel files can be installed with a newer pip from
https://github.com/pypa/pip or with wheel's own command line utility.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-wheel044 listed in the above command, you can pick from the names under the Packages section.
*/*: Use C.UTF-8 locale
Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
devel/py-wheel044: move under setuptools vendor directory
Only possible because setuptools already vendors its own circular
dependencies. The site/path configuration is such that this always
follows ${PYTHON_SITELIBDIR}, so anything there always takes
precedence.
PR: 285997
devel/py-wheel044: "temporarily" add
The sole purpose of this port is to build setuptools < 70.1.0 under
USE_PYTHON=pep517, as a stopgap to allow newer Python
distributions/interpreters to land while the setuptools update
continues to be worked on. This port will be removed once setuptools
is updated. Nothing else is to declare this as a dependency; continue
to use devel/py-wheel elsewhere.
As of setuptools 70.1.0, bdist_wheel (what setuptools executes as
part of ${PEP517_BUILD_CMD} to build the wheel) has moved from wheel
to setuptools [0], so once setuptools is updated past said version,
consumers should not continue declaring devel/py-wheel in BUILD_DEPENDS
unless the package needs functionality beyond what moved into
setuptools.
[0] https://setuptools.pypa.io/en/latest/history.html#v70-1-0
PR: 271673, 274671