python/gunicorn: Updated for version 22.0.0.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2024-05-12 20:06:45 +03:00 committed by Willy Sudiarto Raharjo
parent 3a8b3d757d
commit a520ad01fe
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 8 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for gunicorn # Slackware build script for gunicorn
# Copyright 2016-2022 Dimitris Zlatanidis Orestiada, Greece # Copyright 2016-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gunicorn PRGNAM=gunicorn
VERSION=${VERSION:-20.1.0} VERSION=${VERSION:-22.0.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -79,7 +79,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python3 setup.py install --root=$PKG PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -1,10 +1,10 @@
PRGNAM="gunicorn" PRGNAM="gunicorn"
VERSION="20.1.0" VERSION="22.0.0"
HOMEPAGE="https://gunicorn.org/" HOMEPAGE="https://gunicorn.org/"
DOWNLOAD="https://files.pythonhosted.org/packages/28/5b/0d1f0296485a6af03366604142ea8f19f0833894db3512a40ed07b2a56dd/gunicorn-20.1.0.tar.gz" DOWNLOAD="https://files.pythonhosted.org/packages/1e/88/e2f93c5738a4c1f56a458fc7a5b1676fc31dcdbb182bef6b40a141c17d66/gunicorn-22.0.0.tar.gz"
MD5SUM="db8a7c5c2064000af70286534803bf1d" MD5SUM="c02e8493f941ebeddad35788f427aba2"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES="python3-setuptools-opt"
MAINTAINER="Dimitris Zlatanidis" MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com" EMAIL="dslackw@gmail.com"