70.16. python3-meson-python-0.21.1
The PEP 517 backend numpy, scipy and matplotlib build through
0.21.1-1 · MIT · 0.1 SBU · 233.9 KiB, 20 files · 40_lang, 171 of 186 · ports/core/python/python3-meson-python
Homepage: https://pypi.org/project/meson-python/
Why it is in KDOS. The comment above the 6 ports from python3-scikit-build-core to python3-pybind11 in script/phases/40_lang/packages.d/python.txt:
THE BUILD BACKENDS ARE PORTS, NOT VENDORED WHEELS. numpy and matplotlib build through
mesonpy, pybind11, pikepdf and coolprop throughscikit-build-core, and the rest throughhatchlingorsetuptools. Under pip's build isolation each would fetch its backend from PyPI — whose own chain ends at theninjawrapper, whose sdist COMPILES CMAKE FROM SOURCE. This tree has cmake, ninja and meson already. 30_foundation installs flit-core, hatchling, poetry-core, setuptools-scm and what they build with.
Depends on: python3, python3-setuptools, python3-pip, meson, ninja, python3-pyproject-metadata, python3-packaging.
Required by (5): matplotlib, numpy, pandas, python3-contourpy, scipy.
Sources: python3-meson-python-0.21.1.tar.gz (111.2 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install python3-meson-python'
build.sh:
pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .
Directories: /usr/lib/python3.14/site-packages/meson_python-0.21.1.dist-info, /usr/lib/python3.14/site-packages/mesonpy, /usr/share/licenses/python3-meson-python.