Received: by mail.netbsd.org (Postfix, from userid 605) id 7BCA984D67; Tue, 6 Apr 2021 15:50:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B766984D0E for ; Tue, 6 Apr 2021 15:50:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id EwAp5fQfnZkt for ; Tue, 6 Apr 2021 15:50:45 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id E133B84CDC for ; Tue, 6 Apr 2021 15:50:44 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id DACCAFA95; Tue, 6 Apr 2021 15:50:44 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1617724244299730" MIME-Version: 1.0 Date: Tue, 6 Apr 2021 15:50:44 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/www/py-gunicorn To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20210406155044.DACCAFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1617724244299730 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Tue Apr 6 15:50:44 UTC 2021 Modified Files: pkgsrc/www/py-gunicorn: Makefile PLIST distinfo Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/py-gunicorn/Makefile cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/py-gunicorn/PLIST cvs rdiff -u -r1.13 -r1.14 pkgsrc/www/py-gunicorn/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1617724244299730 Content-Disposition: inline Content-Length: 3031 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/py-gunicorn/Makefile diff -u pkgsrc/www/py-gunicorn/Makefile:1.19 pkgsrc/www/py-gunicorn/Makefile:1.20 --- pkgsrc/www/py-gunicorn/Makefile:1.19 Wed Dec 4 12:57:06 2019 +++ pkgsrc/www/py-gunicorn/Makefile Tue Apr 6 15:50:44 2021 @@ -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: Index: pkgsrc/www/py-gunicorn/PLIST diff -u pkgsrc/www/py-gunicorn/PLIST:1.12 pkgsrc/www/py-gunicorn/PLIST:1.13 --- pkgsrc/www/py-gunicorn/PLIST:1.12 Wed Dec 4 12:57:06 2019 +++ pkgsrc/www/py-gunicorn/PLIST Tue Apr 6 15:50:44 2021 @@ -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.tx ${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 Index: pkgsrc/www/py-gunicorn/distinfo diff -u pkgsrc/www/py-gunicorn/distinfo:1.13 pkgsrc/www/py-gunicorn/distinfo:1.14 --- pkgsrc/www/py-gunicorn/distinfo:1.13 Wed Dec 4 12:57:06 2019 +++ pkgsrc/www/py-gunicorn/distinfo Tue Apr 6 15:50:44 2021 @@ -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 --_----------=_1617724244299730--