1
10
Fork
You've already forked recipes
1

extra/python-hatchling: Python build back-end #172

Merged
jhuntwork merged 2 commits from oryktos/merelinux-recipes:recipe-python-hatchling into main 2026年07月07日 18:24:54 +02:00
Contributor
Copy link

Dependency of other Python dependencies, again following the uv thread. This is one of the simpler ones, depending only on python-installer (and Python itself). Again converted from the Alpine Linux port py3-hatchling.

Main difference is changing --destdir "${DESTDIR}" to --prefix "${DESTDIR}"/usr. It seems python-installer does some odd things with the default install prefix. This needs to be controlled by setting the prefix explicitly, but also means the destination directory does not need to be adjusted. The Python version also doesn't need to be discovered/parsed this way, which is interesting.

Dependency of other Python dependencies, again following the [uv](https://docs.astral.sh/uv/) thread. This is one of the simpler ones, depending only on `python-installer` (and Python itself). Again converted from the Alpine Linux port `py3-hatchling`. Main difference is changing `--destdir "${DESTDIR}"` to `--prefix "${DESTDIR}"/usr`. It seems `python-installer` does some odd things with the default install prefix. This needs to be controlled by setting the prefix explicitly, but also means the destination directory does not need to be adjusted. The Python version also doesn't need to be discovered/parsed this way, which is interesting.
Another Alpine apkbuild conversion. Replaced destination directory spec
with prefix: prefix must be changed as python-installer does something
weird to get the prefix, then the change to destdir is no longer needed.
extra/python-hatchling: clarify comment
All checks were successful
/ validate (pull_request) Successful in 4s
02e2f664a0
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
merelinux/recipes!172
Reference in a new issue
merelinux/recipes
No description provided.
Delete branch "oryktos/merelinux-recipes:recipe-python-hatchling"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?