pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-gunicorn py-gunicorn: updated to 20.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4306dba0aa4
branches:  trunk
changeset: 449842:a4306dba0aa4
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 06 15:50:44 2021 +0000

description:
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

diffstat:

 www/py-gunicorn/Makefile |   8 ++++++--
 www/py-gunicorn/PLIST    |   5 ++++-
 www/py-gunicorn/distinfo |  10 +++++-----
 3 files changed, 15 insertions(+), 8 deletions(-)

diffs (62 lines):

diff -r 283137e36ee7 -r a4306dba0aa4 www/py-gunicorn/Makefile
--- a/www/py-gunicorn/Makefile  Tue Apr 06 15:45:44 2021 +0000
+++ b/www/py-gunicorn/Makefile  Tue Apr 06 15:50:44 2021 +0000
@@ -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 @@
 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 -r 283137e36ee7 -r a4306dba0aa4 www/py-gunicorn/PLIST
--- a/www/py-gunicorn/PLIST     Tue Apr 06 15:45:44 2021 +0000
+++ b/www/py-gunicorn/PLIST     Tue Apr 06 15:50:44 2021 +0000
@@ -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}/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 -r 283137e36ee7 -r a4306dba0aa4 www/py-gunicorn/distinfo
--- a/www/py-gunicorn/distinfo  Tue Apr 06 15:45:44 2021 +0000
+++ b/www/py-gunicorn/distinfo  Tue Apr 06 15:50:44 2021 +0000
@@ -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


Home | Main Index | Thread Index | Old Index