summaryrefslogtreecommitdiff
path: root/www/py-gunicorn/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-11-20 11:32:32 +0000
committeradam <adam@pkgsrc.org>2019-11-20 11:32:32 +0000
commita4c933949c90021323e2dad59ed63914a538652f (patch)
treeabee488ad3fadf38ea3c11c3038cfe848acd13b8 /www/py-gunicorn/Makefile
parent8f54612eb17daec125c25481d4424f557abd163c (diff)
downloadpkgsrc-a4c933949c90021323e2dad59ed63914a538652f.tar.gz
py-gunicorn: updated to 20.0.0
20.0: - Fixed `fdopen` `RuntimeWarning` in Python 3.8 - Added check and exception for str type on value in Response process_headers method. - Ensure WSGI header value is string before conducting regex search on it. - Added pypy3 to list of tested environments - Grouped `StopIteration` and `KeyboardInterrupt` exceptions with same body together in Arbiter.run() - Added `setproctitle` module to `extras_require` in setup.py - Avoid unnecessary chown of temporary files - Logging: Handle auth type case insensitively - Removed `util.import_module` - Removed fallback for `types.SimpleNamespace` in tests utils - Use `SourceFileLoader` instead instead of `execfile_` - Use `importlib` instead of `__import__` and eval` - Fixed eventlet patching - Added optional `datadog <https://www.datadoghq.com>`_ tags for statsd metrics - Header values now are encoded using latin-1, not ascii. - Rewritten `parse_address` util added test - Removed redundant super() arguments - Simplify `futures` import in gthread module - Fixed worker_connections` setting to also affects the Gthread worker type - Fixed setting max_requests - Bump minimum Eventlet and Gevent versions to 0.24 and 1.4 - Use Python default SSL cipher list by default - handle `wsgi.input_terminated` extension - Simplify Paste Deployment documentation - Fix root logging: root and logger are same level. - Fixed typo in ssl_version documentation - Documented systemd deployement unit examples - Added systemd sd_notify support - Fixed typo in gthread.py - Added `tornado <https://www.tornadoweb.org/>`_ 5 and 6 support - Declare our setuptools dependency - Added support to `--bind` to open file descriptors - Document how to serve WSGI app modules from Gunicorn - Provide guidance on X-Forwarded-For access log in documentation - Add support for named constants in the `--ssl-version` flag - Clarify log format usage of header & environment in documentation - Fixed systemd documentation to properly setup gunicorn unix socket - Prevent removal unix socket for reuse_port - Fix `ResourceWarning` when reading a Python config module - Remove unnecessary call to dict keys method - Support str and bytes for UNIX socket addresses - fixed `InotifyReloadeder`: handle `module.__file__` is None - `/dev/shm` as a convenient alternative to making your own tmpfs mount in fchmod FAQ - fix examples to work on python3 - Fix typo in `--max-requests` documentation - Clear tornado ioloop before os.fork - Miscellaneous fixes and improvement for linting using Pylint Breaking Change - Removed gaiohttp worker - Drop support for Python 2.x - Drop support for EOL Python 3.2 and 3.3
Diffstat (limited to 'www/py-gunicorn/Makefile')
-rw-r--r--www/py-gunicorn/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/py-gunicorn/Makefile b/www/py-gunicorn/Makefile
index f8ed9b0e817..2d07bb7ea1f 100644
--- a/www/py-gunicorn/Makefile
+++ b/www/py-gunicorn/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2019/07/08 10:36:27 nia Exp $
+# $NetBSD: Makefile,v 1.16 2019/11/20 11:32:32 adam Exp $
-DISTNAME= gunicorn-19.9.0
+DISTNAME= gunicorn-20.0.0
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gunicorn/}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -15,10 +15,11 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.4.0:../../devel/py-test-cov
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
- ${MV} gunicorn gunicorn-${PYVERSSUFFIX} && \
- ${MV} gunicorn_paster gunicorn_paster-${PYVERSSUFFIX} || ${TRUE}
+ ${MV} gunicorn gunicorn-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"