diff options
author | adam <adam@pkgsrc.org> | 2021-04-06 15:50:44 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-04-06 15:50:44 +0000 |
commit | a15a0f2f266b40833f7ffcdeb8f2af7be3c3a7e9 (patch) | |
tree | a47658c867b9f884eb28de9998493cd4d73750fc | |
parent | 690131139859933f397ec56e16c2cb2cd5cc6ac7 (diff) | |
download | pkgsrc-a15a0f2f266b40833f7ffcdeb8f2af7be3c3a7e9.tar.gz |
py-gunicorn: updated to 20.1.0
20.1.0 - 2021-02-12
document WEB_CONCURRENCY is set by, at least, Heroku
capture peername from accept: Avoid calls to getpeername by capturing the peer name returned by accept
log a warning when a worker was terminated due to a signal
fix tornado usage with latest versions of Django
add support for python -m gunicorn
fix systemd socket activation example
allows to set wsgi application in configg file using wsgi_app
document --timeout = 0
always close a connection when the number of requests exceeds the max requests
Disable keepalive during graceful shutdown
kill tasks in the gthread workers during upgrade
fix latency in gevent worker when accepting new requests
fix file watcher: handle errors when new worker reboot and ensure the list of files is kept
document the default name and path of the configuration file
document how variable impact configuration
document the $PORT environment variable
added milliseconds option to request_time in access_log
added PIP requirements to be used for example
remove version from the Server header
fix sendfile: use socket.sendfile instead of os.sendfile
reloader: use absolute path to prevent empty to prevent0 InotifyError when a file is added to the working directory
Add –print-config option to print the resolved settings at startup.
remove the --log-dict-config CLI flag because it never had a working format (the logconfig_dict setting in configuration files continues to work)
** Breaking changes **
minimum version is Python 3.5
remove version from the Server header
** Others **
miscellaneous changes in the code base to be a better citizen with Python 3
remove dead code
fix documentation generation
-rw-r--r-- | www/py-gunicorn/Makefile | 8 | ||||
-rw-r--r-- | www/py-gunicorn/PLIST | 5 | ||||
-rw-r--r-- | www/py-gunicorn/distinfo | 10 |
3 files changed, 15 insertions, 8 deletions
diff --git a/www/py-gunicorn/Makefile b/www/py-gunicorn/Makefile index 5e84cdba956..2d1e12f171a 100644 --- a/www/py-gunicorn/Makefile +++ b/www/py-gunicorn/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.19 2019/12/04 12:57:06 adam Exp $ +# $NetBSD: Makefile,v 1.20 2021/04/06 15:50:44 adam Exp $ -DISTNAME= gunicorn-20.0.4 +DISTNAME= gunicorn-20.1.0 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=g/gunicorn/} PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -10,11 +10,15 @@ HOMEPAGE= https://gunicorn.org/ COMMENT= Python WSGI HTTP server LICENSE= mit +DEPENDS+= ${PYPKGPREFIX}-setuptools>=3.0:../../devel/py-setuptools TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.5:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.4.0:../../devel/py-test-cov +TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner USE_LANGUAGES= # none +PYSETUPTESTTARGET= pytest + PYTHON_VERSIONS_INCOMPATIBLE= 27 post-install: diff --git a/www/py-gunicorn/PLIST b/www/py-gunicorn/PLIST index 051db5727d0..7ca2bc59327 100644 --- a/www/py-gunicorn/PLIST +++ b/www/py-gunicorn/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2019/12/04 12:57:06 adam Exp $ +@comment $NetBSD: PLIST,v 1.13 2021/04/06 15:50:44 adam Exp $ bin/gunicorn-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -10,6 +10,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/gunicorn/__init__.py ${PYSITELIB}/gunicorn/__init__.pyc ${PYSITELIB}/gunicorn/__init__.pyo +${PYSITELIB}/gunicorn/__main__.py +${PYSITELIB}/gunicorn/__main__.pyc +${PYSITELIB}/gunicorn/__main__.pyo ${PYSITELIB}/gunicorn/app/__init__.py ${PYSITELIB}/gunicorn/app/__init__.pyc ${PYSITELIB}/gunicorn/app/__init__.pyo diff --git a/www/py-gunicorn/distinfo b/www/py-gunicorn/distinfo index 5522205f74b..ca7c5678967 100644 --- a/www/py-gunicorn/distinfo +++ b/www/py-gunicorn/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2019/12/04 12:57:06 adam Exp $ +$NetBSD: distinfo,v 1.14 2021/04/06 15:50:44 adam Exp $ -SHA1 (gunicorn-20.0.4.tar.gz) = 9f149347ba329636c99322fcc3e85ce48317c18f -RMD160 (gunicorn-20.0.4.tar.gz) = a2647958fb7192a4307d2c6e64f7e11dcf88a1ad -SHA512 (gunicorn-20.0.4.tar.gz) = 706620f165e36c178a6d3e65f51a9bb7746abd40dfc7c0f1b3b523771be953dd03b36111f192407aef474ad44afdffd11b6502e51376d11465ffac2255822d5e -Size (gunicorn-20.0.4.tar.gz) = 373841 bytes +SHA1 (gunicorn-20.1.0.tar.gz) = 21bae657b8de9e90987b954bb411ecdfcada6ea5 +RMD160 (gunicorn-20.1.0.tar.gz) = 198d1d4a751fff958d3a8edf7fcebbeb7243e2e6 +SHA512 (gunicorn-20.1.0.tar.gz) = 586c7373504b4018fd462dc9c728991a8cc9f2be71fc2fb5aa23707ff6157dd3953121f6a070cae64d58b10f9ddf77ad59b66ed33981d37919b4764c60609027 +Size (gunicorn-20.1.0.tar.gz) = 370601 bytes |