sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-werkzeug/recipe
name python-werkzeug
version 3.1.8
release 1
arch any
description python-werkzeug: The comprehensive WSGI web application library
source https://files.pythonhosted.org/packages/dd/b2/381be8cfdee792dd117872481b6e378f85c957dd7c5bca38897b08f765fd/werkzeug-${version}.tar.gz
hash sha256:9bad61a4268dac112f1c5cd4630a56ede601b6ed420300677a869083d70a4c44
depend filesystem
depend python
depend python-markupsafe
builddep python-flit-core
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