sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-pyproject-api/recipe
1022 bytes at e2d5247 · GitHub
name python-pyproject-api
version 1.11.2
release 1
arch any
description python-pyproject-api: API to interact with the python pyproject.toml based projects
source https://files.pythonhosted.org/packages/e1/2d/7b6837335aab9c00bcd18adde43c78948db6a2fe26dfa79a6bfcdefd3c5d/pyproject_api-${version}.tar.gz
hash sha256:7bff8690a101f5f0bac3221475d214018f196ae5eea3af9c9879f4d682a3fd60
depend filesystem
depend python
depend python-packaging
depend python-tomli
builddep python-hatchling
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