summaryrefslogtreecommitdiff
path: root/www/py-gunicorn
diff options
context:
space:
mode:
authorgls <gls@pkgsrc.org>2014-08-13 20:27:09 +0000
committergls <gls@pkgsrc.org>2014-08-13 20:27:09 +0000
commit54f414252d162942ab133b31a487863449b0108e (patch)
tree55da761714518d69fd368c2ed68af143d935ec08 /www/py-gunicorn
parentde7c50151e624027bceff220ad105a2513274471 (diff)
downloadpkgsrc-54f414252d162942ab133b31a487863449b0108e.tar.gz
Update www/py-gunicorn to 19.1.0
pkgsrc changes: --------------- - Cleanups Upstream changes: ----------------- Complete changelog in share/doc/py-gunicorn/2014-news.rst. 19.1 ==== Bugfix release. 19.0 ==== Gunicorn 19.0 is a major release with new features and fixes. This version improve a lot the usage of Gunicorn with python 3 by adding two new workers to it: `gthread` a fully threaded async worker using futures and `gaiohttp` a worker using asyncio. Breaking Changes ~~~~~~~~~~~~~~~~ Switch QUIT and TERM signals ++++++++++++++++++++++++++++ With this change, when gunicorn receives a QUIT all the workers are killed immediately and exit and TERM is used for the graceful shutdown. Note: the old behaviour was based on the NGINX but the new one is more correct according the following doc: https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html also it is complying with the way the signals are sent by heroku: https://devcenter.heroku.com/articles/python-faq#what-constraints-exist-when-developing-applications-on-heroku Deprecations +++++++++++++ `run_gunicorn`, `gunicorn_django` and `gunicorn_paster` are now completely deprecated and will be removed in the next release. Use the `gunicorn` command instead.
Diffstat (limited to 'www/py-gunicorn')
-rw-r--r--www/py-gunicorn/Makefile6
-rw-r--r--www/py-gunicorn/PLIST100
-rw-r--r--www/py-gunicorn/distinfo8
3 files changed, 65 insertions, 49 deletions
diff --git a/www/py-gunicorn/Makefile b/www/py-gunicorn/Makefile
index 8548bd2c623..87da8721309 100644
--- a/www/py-gunicorn/Makefile
+++ b/www/py-gunicorn/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2014/05/08 09:05:51 imil Exp $
+# $NetBSD: Makefile,v 1.2 2014/08/13 20:27:09 gls Exp $
-DISTNAME= gunicorn-18.0
+DISTNAME= gunicorn-19.1.0
CATEGORIES= www
MASTER_SITES= https://pypi.python.org/packages/source/g/gunicorn/
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-USE_TOOLS+= pax
MAINTAINER= gls@NetBSD.org
HOMEPAGE= http://gunicorn.org/
COMMENT= Python WSGI HTTP server
@@ -15,6 +14,7 @@ USE_TOOLS+= pax
DOCDIR= ${PREFIX}/share/doc/py-gunicorn
EXAMPLESDIR= ${PREFIX}/share/examples/py-gunicorn
+AUTO_MKDIRS= yes
post-install:
cd ${WRKSRC}/docs/source && pax -wr -pma *.rst \
diff --git a/www/py-gunicorn/PLIST b/www/py-gunicorn/PLIST
index ac9662983e0..0b751f88862 100644
--- a/www/py-gunicorn/PLIST
+++ b/www/py-gunicorn/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2014/05/08 09:05:51 imil Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/08/13 20:27:09 gls Exp $
bin/gunicorn
bin/gunicorn_django
bin/gunicorn_paster
@@ -11,117 +11,131 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/gunicorn/__init__.py
${PYSITELIB}/gunicorn/__init__.pyc
${PYSITELIB}/gunicorn/__init__.pyo
-${PYSITELIB}/gunicorn/arbiter.pyc
-${PYSITELIB}/gunicorn/arbiter.pyo
-${PYSITELIB}/gunicorn/argparse_compat.pyc
-${PYSITELIB}/gunicorn/argparse_compat.pyo
-${PYSITELIB}/gunicorn/config.pyc
-${PYSITELIB}/gunicorn/config.pyo
-${PYSITELIB}/gunicorn/debug.pyc
-${PYSITELIB}/gunicorn/debug.pyo
-${PYSITELIB}/gunicorn/errors.pyc
-${PYSITELIB}/gunicorn/errors.pyo
-${PYSITELIB}/gunicorn/glogging.pyc
-${PYSITELIB}/gunicorn/glogging.pyo
-${PYSITELIB}/gunicorn/pidfile.pyc
-${PYSITELIB}/gunicorn/pidfile.pyo
-${PYSITELIB}/gunicorn/six.pyc
-${PYSITELIB}/gunicorn/six.pyo
-${PYSITELIB}/gunicorn/sock.pyc
-${PYSITELIB}/gunicorn/sock.pyo
-${PYSITELIB}/gunicorn/util.pyc
-${PYSITELIB}/gunicorn/util.pyo
${PYSITELIB}/gunicorn/app/__init__.py
${PYSITELIB}/gunicorn/app/__init__.pyc
${PYSITELIB}/gunicorn/app/__init__.pyo
+${PYSITELIB}/gunicorn/app/base.py
${PYSITELIB}/gunicorn/app/base.pyc
${PYSITELIB}/gunicorn/app/base.pyo
+${PYSITELIB}/gunicorn/app/django_wsgi.py
${PYSITELIB}/gunicorn/app/django_wsgi.pyc
${PYSITELIB}/gunicorn/app/django_wsgi.pyo
+${PYSITELIB}/gunicorn/app/djangoapp.py
${PYSITELIB}/gunicorn/app/djangoapp.pyc
${PYSITELIB}/gunicorn/app/djangoapp.pyo
+${PYSITELIB}/gunicorn/app/pasterapp.py
${PYSITELIB}/gunicorn/app/pasterapp.pyc
${PYSITELIB}/gunicorn/app/pasterapp.pyo
+${PYSITELIB}/gunicorn/app/wsgiapp.py
${PYSITELIB}/gunicorn/app/wsgiapp.pyc
${PYSITELIB}/gunicorn/app/wsgiapp.pyo
-${PYSITELIB}/gunicorn/app/base.py
-${PYSITELIB}/gunicorn/app/django_wsgi.py
-${PYSITELIB}/gunicorn/app/djangoapp.py
-${PYSITELIB}/gunicorn/app/pasterapp.py
-${PYSITELIB}/gunicorn/app/wsgiapp.py
${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
${PYSITELIB}/gunicorn/debug.py
+${PYSITELIB}/gunicorn/debug.pyc
+${PYSITELIB}/gunicorn/debug.pyo
${PYSITELIB}/gunicorn/errors.py
+${PYSITELIB}/gunicorn/errors.pyc
+${PYSITELIB}/gunicorn/errors.pyo
${PYSITELIB}/gunicorn/glogging.py
+${PYSITELIB}/gunicorn/glogging.pyc
+${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
+${PYSITELIB}/gunicorn/http/errors.py
${PYSITELIB}/gunicorn/http/errors.pyc
${PYSITELIB}/gunicorn/http/errors.pyo
+${PYSITELIB}/gunicorn/http/message.py
${PYSITELIB}/gunicorn/http/message.pyc
${PYSITELIB}/gunicorn/http/message.pyo
+${PYSITELIB}/gunicorn/http/parser.py
${PYSITELIB}/gunicorn/http/parser.pyc
${PYSITELIB}/gunicorn/http/parser.pyo
+${PYSITELIB}/gunicorn/http/unreader.py
${PYSITELIB}/gunicorn/http/unreader.pyc
${PYSITELIB}/gunicorn/http/unreader.pyo
+${PYSITELIB}/gunicorn/http/wsgi.py
${PYSITELIB}/gunicorn/http/wsgi.pyc
${PYSITELIB}/gunicorn/http/wsgi.pyo
-${PYSITELIB}/gunicorn/http/_sendfile.py
-${PYSITELIB}/gunicorn/http/body.py
-${PYSITELIB}/gunicorn/http/errors.py
-${PYSITELIB}/gunicorn/http/message.py
-${PYSITELIB}/gunicorn/http/parser.py
-${PYSITELIB}/gunicorn/http/unreader.py
-${PYSITELIB}/gunicorn/http/wsgi.py
+${PYSITELIB}/gunicorn/instrument/__init__.py
+${PYSITELIB}/gunicorn/instrument/__init__.pyc
+${PYSITELIB}/gunicorn/instrument/__init__.pyo
+${PYSITELIB}/gunicorn/instrument/statsd.py
+${PYSITELIB}/gunicorn/instrument/statsd.pyc
+${PYSITELIB}/gunicorn/instrument/statsd.pyo
${PYSITELIB}/gunicorn/management/__init__.py
${PYSITELIB}/gunicorn/management/__init__.pyc
${PYSITELIB}/gunicorn/management/__init__.pyo
${PYSITELIB}/gunicorn/management/commands/__init__.py
${PYSITELIB}/gunicorn/management/commands/__init__.pyc
${PYSITELIB}/gunicorn/management/commands/__init__.pyo
+${PYSITELIB}/gunicorn/management/commands/run_gunicorn.py
${PYSITELIB}/gunicorn/management/commands/run_gunicorn.pyc
${PYSITELIB}/gunicorn/management/commands/run_gunicorn.pyo
-${PYSITELIB}/gunicorn/management/commands/run_gunicorn.py
${PYSITELIB}/gunicorn/pidfile.py
+${PYSITELIB}/gunicorn/pidfile.pyc
+${PYSITELIB}/gunicorn/pidfile.pyo
+${PYSITELIB}/gunicorn/reloader.py
+${PYSITELIB}/gunicorn/reloader.pyc
+${PYSITELIB}/gunicorn/reloader.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/util.py
+${PYSITELIB}/gunicorn/util.pyc
+${PYSITELIB}/gunicorn/util.pyo
${PYSITELIB}/gunicorn/workers/__init__.py
${PYSITELIB}/gunicorn/workers/__init__.pyc
${PYSITELIB}/gunicorn/workers/__init__.pyo
+${PYSITELIB}/gunicorn/workers/async.py
${PYSITELIB}/gunicorn/workers/async.pyc
${PYSITELIB}/gunicorn/workers/async.pyo
+${PYSITELIB}/gunicorn/workers/base.py
${PYSITELIB}/gunicorn/workers/base.pyc
${PYSITELIB}/gunicorn/workers/base.pyo
+${PYSITELIB}/gunicorn/workers/geventlet.py
${PYSITELIB}/gunicorn/workers/geventlet.pyc
${PYSITELIB}/gunicorn/workers/geventlet.pyo
+${PYSITELIB}/gunicorn/workers/ggevent.py
${PYSITELIB}/gunicorn/workers/ggevent.pyc
${PYSITELIB}/gunicorn/workers/ggevent.pyo
+${PYSITELIB}/gunicorn/workers/gthread.py
+${PYSITELIB}/gunicorn/workers/gthread.pyc
+${PYSITELIB}/gunicorn/workers/gthread.pyo
+${PYSITELIB}/gunicorn/workers/gtornado.py
${PYSITELIB}/gunicorn/workers/gtornado.pyc
${PYSITELIB}/gunicorn/workers/gtornado.pyo
+${PYSITELIB}/gunicorn/workers/sync.py
${PYSITELIB}/gunicorn/workers/sync.pyc
${PYSITELIB}/gunicorn/workers/sync.pyo
+${PYSITELIB}/gunicorn/workers/workertmp.py
${PYSITELIB}/gunicorn/workers/workertmp.pyc
${PYSITELIB}/gunicorn/workers/workertmp.pyo
-${PYSITELIB}/gunicorn/workers/async.py
-${PYSITELIB}/gunicorn/workers/base.py
-${PYSITELIB}/gunicorn/workers/geventlet.py
-${PYSITELIB}/gunicorn/workers/ggevent.py
-${PYSITELIB}/gunicorn/workers/gtornado.py
-${PYSITELIB}/gunicorn/workers/sync.py
-${PYSITELIB}/gunicorn/workers/workertmp.py
share/doc/py-gunicorn/2010-news.rst
share/doc/py-gunicorn/2011-news.rst
share/doc/py-gunicorn/2012-news.rst
share/doc/py-gunicorn/2013-news.rst
+share/doc/py-gunicorn/2014-news.rst
share/doc/py-gunicorn/community.rst
share/doc/py-gunicorn/configure.rst
+share/doc/py-gunicorn/custom.rst
share/doc/py-gunicorn/deploy.rst
share/doc/py-gunicorn/design.rst
share/doc/py-gunicorn/faq.rst
@@ -134,8 +148,8 @@ share/doc/py-gunicorn/signals.rst
share/examples/py-gunicorn/alt_spec.py
share/examples/py-gunicorn/bad.py
share/examples/py-gunicorn/boot_fail.py
+share/examples/py-gunicorn/echo.py
share/examples/py-gunicorn/example_config.py
-share/examples/py-gunicorn/example_gevent_reloader.py
share/examples/py-gunicorn/frameworks/cherryapp.py
share/examples/py-gunicorn/frameworks/django/README
share/examples/py-gunicorn/frameworks/django/djangotest/__init__.py
@@ -214,8 +228,10 @@ share/examples/py-gunicorn/sendfile.py
share/examples/py-gunicorn/server.crt
share/examples/py-gunicorn/server.key
share/examples/py-gunicorn/slowclient.py
+share/examples/py-gunicorn/standalone_app.py
share/examples/py-gunicorn/supervisor.conf
share/examples/py-gunicorn/test.py
+share/examples/py-gunicorn/timeout.py
share/examples/py-gunicorn/websocket/gevent_websocket.py
share/examples/py-gunicorn/websocket/websocket.html
share/examples/py-gunicorn/websocket/websocket.py
diff --git a/www/py-gunicorn/distinfo b/www/py-gunicorn/distinfo
index 89d30197dd9..343a90c533c 100644
--- a/www/py-gunicorn/distinfo
+++ b/www/py-gunicorn/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2014/05/08 09:05:51 imil Exp $
+$NetBSD: distinfo,v 1.2 2014/08/13 20:27:09 gls Exp $
-SHA1 (gunicorn-18.0.tar.gz) = 74351882d74128fe34e6a8d27a3bca1d1db9919d
-RMD160 (gunicorn-18.0.tar.gz) = 7b73e1776dd6140ec82dfbe09cc4334fbbf216e0
-Size (gunicorn-18.0.tar.gz) = 366635 bytes
+SHA1 (gunicorn-19.1.0.tar.gz) = de194e73fb3b6e726a93447e2cb654bce3eb7048
+RMD160 (gunicorn-19.1.0.tar.gz) = 3e20543935ccc30b36d01a2ff8235cb8a9ff454f
+Size (gunicorn-19.1.0.tar.gz) = 382397 bytes