pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-gunicorn



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 20 11:32:32 UTC 2019

Modified Files:
        pkgsrc/www/py-gunicorn: ALTERNATIVES Makefile PLIST distinfo
Removed Files:
        pkgsrc/www/py-gunicorn/patches: patch-requirements__test.txt

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-gunicorn/ALTERNATIVES
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/py-gunicorn/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-gunicorn/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-gunicorn/distinfo
cvs rdiff -u -r1.4 -r0 \
    pkgsrc/www/py-gunicorn/patches/patch-requirements__test.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-gunicorn/ALTERNATIVES
diff -u pkgsrc/www/py-gunicorn/ALTERNATIVES:1.2 pkgsrc/www/py-gunicorn/ALTERNATIVES:1.3
--- pkgsrc/www/py-gunicorn/ALTERNATIVES:1.2     Fri Nov  3 14:44:46 2017
+++ pkgsrc/www/py-gunicorn/ALTERNATIVES Wed Nov 20 11:32:32 2019
@@ -1,2 +1 @@
 bin/gunicorn @PREFIX@/bin/gunicorn-@PYVERSSUFFIX@
-bin/gunicorn_paster @PREFIX@/bin/gunicorn_paster-@PYVERSSUFFIX@

Index: pkgsrc/www/py-gunicorn/Makefile
diff -u pkgsrc/www/py-gunicorn/Makefile:1.15 pkgsrc/www/py-gunicorn/Makefile:1.16
--- pkgsrc/www/py-gunicorn/Makefile:1.15        Mon Jul  8 10:36:27 2019
+++ pkgsrc/www/py-gunicorn/Makefile     Wed Nov 20 11:32:32 2019
@@ -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>=
 
 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"

Index: pkgsrc/www/py-gunicorn/PLIST
diff -u pkgsrc/www/py-gunicorn/PLIST:1.10 pkgsrc/www/py-gunicorn/PLIST:1.11
--- pkgsrc/www/py-gunicorn/PLIST:1.10   Wed Jul  4 03:43:12 2018
+++ pkgsrc/www/py-gunicorn/PLIST        Wed Nov 20 11:32:32 2019
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.10 2018/07/04 03:43:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2019/11/20 11:32:32 adam Exp $
 bin/gunicorn-${PYVERSSUFFIX}
-bin/gunicorn_paster-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,9 +10,6 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
 ${PYSITELIB}/gunicorn/__init__.py
 ${PYSITELIB}/gunicorn/__init__.pyc
 ${PYSITELIB}/gunicorn/__init__.pyo
-${PYSITELIB}/gunicorn/_compat.py
-${PYSITELIB}/gunicorn/_compat.pyc
-${PYSITELIB}/gunicorn/_compat.pyo
 ${PYSITELIB}/gunicorn/app/__init__.py
 ${PYSITELIB}/gunicorn/app/__init__.pyc
 ${PYSITELIB}/gunicorn/app/__init__.pyo
@@ -29,9 +25,6 @@ ${PYSITELIB}/gunicorn/app/wsgiapp.pyo
 ${PYSITELIB}/gunicorn/arbiter.py
 ${PYSITELIB}/gunicorn/arbiter.pyc
 ${PYSITELIB}/gunicorn/arbiter.pyo
-${PYSITELIB}/gunicorn/argparse_compat.py
-${PYSITELIB}/gunicorn/argparse_compat.pyc
-${PYSITELIB}/gunicorn/argparse_compat.pyo
 ${PYSITELIB}/gunicorn/config.py
 ${PYSITELIB}/gunicorn/config.pyc
 ${PYSITELIB}/gunicorn/config.pyo
@@ -47,9 +40,6 @@ ${PYSITELIB}/gunicorn/glogging.pyo
 ${PYSITELIB}/gunicorn/http/__init__.py
 ${PYSITELIB}/gunicorn/http/__init__.pyc
 ${PYSITELIB}/gunicorn/http/__init__.pyo
-${PYSITELIB}/gunicorn/http/_sendfile.py
-${PYSITELIB}/gunicorn/http/_sendfile.pyc
-${PYSITELIB}/gunicorn/http/_sendfile.pyo
 ${PYSITELIB}/gunicorn/http/body.py
 ${PYSITELIB}/gunicorn/http/body.pyc
 ${PYSITELIB}/gunicorn/http/body.pyo
@@ -80,15 +70,12 @@ ${PYSITELIB}/gunicorn/pidfile.pyo
 ${PYSITELIB}/gunicorn/reloader.py
 ${PYSITELIB}/gunicorn/reloader.pyc
 ${PYSITELIB}/gunicorn/reloader.pyo
-${PYSITELIB}/gunicorn/selectors.py
-${PYSITELIB}/gunicorn/selectors.pyc
-${PYSITELIB}/gunicorn/selectors.pyo
-${PYSITELIB}/gunicorn/six.py
-${PYSITELIB}/gunicorn/six.pyc
-${PYSITELIB}/gunicorn/six.pyo
 ${PYSITELIB}/gunicorn/sock.py
 ${PYSITELIB}/gunicorn/sock.pyc
 ${PYSITELIB}/gunicorn/sock.pyo
+${PYSITELIB}/gunicorn/socketfromfd.py
+${PYSITELIB}/gunicorn/socketfromfd.pyc
+${PYSITELIB}/gunicorn/socketfromfd.pyo
 ${PYSITELIB}/gunicorn/systemd.py
 ${PYSITELIB}/gunicorn/systemd.pyc
 ${PYSITELIB}/gunicorn/systemd.pyo
@@ -98,18 +85,12 @@ ${PYSITELIB}/gunicorn/util.pyo
 ${PYSITELIB}/gunicorn/workers/__init__.py
 ${PYSITELIB}/gunicorn/workers/__init__.pyc
 ${PYSITELIB}/gunicorn/workers/__init__.pyo
-${PYSITELIB}/gunicorn/workers/_gaiohttp.py
-${PLIST.py3x}${PYSITELIB}/gunicorn/workers/_gaiohttp.pyc
-${PLIST.py3x}${PYSITELIB}/gunicorn/workers/_gaiohttp.pyo
 ${PYSITELIB}/gunicorn/workers/base.py
 ${PYSITELIB}/gunicorn/workers/base.pyc
 ${PYSITELIB}/gunicorn/workers/base.pyo
 ${PYSITELIB}/gunicorn/workers/base_async.py
 ${PYSITELIB}/gunicorn/workers/base_async.pyc
 ${PYSITELIB}/gunicorn/workers/base_async.pyo
-${PYSITELIB}/gunicorn/workers/gaiohttp.py
-${PYSITELIB}/gunicorn/workers/gaiohttp.pyc
-${PYSITELIB}/gunicorn/workers/gaiohttp.pyo
 ${PYSITELIB}/gunicorn/workers/geventlet.py
 ${PYSITELIB}/gunicorn/workers/geventlet.pyc
 ${PYSITELIB}/gunicorn/workers/geventlet.pyo

Index: pkgsrc/www/py-gunicorn/distinfo
diff -u pkgsrc/www/py-gunicorn/distinfo:1.9 pkgsrc/www/py-gunicorn/distinfo:1.10
--- pkgsrc/www/py-gunicorn/distinfo:1.9 Wed Jul  4 03:43:12 2018
+++ pkgsrc/www/py-gunicorn/distinfo     Wed Nov 20 11:32:32 2019
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.9 2018/07/04 03:43:12 adam Exp $
+$NetBSD: distinfo,v 1.10 2019/11/20 11:32:32 adam Exp $
 
-SHA1 (gunicorn-19.9.0.tar.gz) = 4fa8b5a57c8be192b761ed2d76bcafe29b379aed
-RMD160 (gunicorn-19.9.0.tar.gz) = 89a61547e6540306e81371986bb941adf47248c2
-SHA512 (gunicorn-19.9.0.tar.gz) = 4a89f963daa7afe7741a4fb9aa4f14192429ac0e9ba5672547d683475dd2f2733efeed903ec99db9d831e2b05b9ed9e583e3cfec483a1b481d897aa77373e8a3
-Size (gunicorn-19.9.0.tar.gz) = 415774 bytes
-SHA1 (patch-requirements__test.txt) = 11a315b675db6af30bcf3e116b5da48ecf51755b
+SHA1 (gunicorn-20.0.0.tar.gz) = 8839f7fa7572307c7bdede42ecc545bea9d162b6
+RMD160 (gunicorn-20.0.0.tar.gz) = ac2c011b6aaec6f598514f18f18065552d1974c3
+SHA512 (gunicorn-20.0.0.tar.gz) = 2b68af60d09f1770a0aa503ba459f9be83ca9495da50c95008ab07ccffafeca9189d48cf0150eed500ba2c5f773a7a8d9de0960ebab421558336585f9b7df3ed
+Size (gunicorn-20.0.0.tar.gz) = 363029 bytes



Home | Main Index | Thread Index | Old Index