sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-hatchling/recipe
1077 bytes at e2d5247 · GitHub
name python-hatchling
version 1.32.4
release 1
arch any
description python-hatchling: Modern, extensible Python build backend
source https://files.pythonhosted.org/packages/f6/97/b5312f01a8c6daf729a9d272dd442e0c546dbcc630495788786c4b567ed0/hatchling-${version}.tar.gz
hash sha256:c4468f73144c054d2aab4ef0f0378c43b9878bf07f8ffd6b79690e970d375f07
depend filesystem
depend python
depend python-packaging
depend python-pathspec
depend python-pluggy
depend python-tomli
depend python-tomlkit
depend python-trove-classifiers
install python3 -m pip install --no-deps --no-build-isolation --no-compile --root="$PKG" --prefix=/usr .
install pyver=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])'); \
if [ -d "$PKG/usr/lib/python$pyver" ]; then \
mkdir -p "$PKG/usr/lib64"; \
cp -a "$PKG/usr/lib/python$pyver/." "$PKG/usr/lib64/python$pyver/"; \
rm -rf "$PKG/usr/lib/python$pyver"; \
rmdir "$PKG/usr/lib" 2>/dev/null || :; fi