sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-gunicorn/recipe
name python-gunicorn
version 26.2.0
release 1
arch any
description python-gunicorn: WSGI HTTP Server for UNIX
source https://files.pythonhosted.org/packages/d9/8a/e4ef6ee11701b6cd64702848415ffb69eeff85cb388a3c6c7fe86f22f3f8/gunicorn-${version}.tar.gz
hash sha256:62b864895d9ebff0b2f9867ba04fe811c93121596540830c9c916d0769668447
depend filesystem
depend python
builddep python-setuptools
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