pkgsrc/www/py-gunicorn/Makefile
gls 964c780dac 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.
2014-08-13 20:27:09 +00:00

26 lines
658 B
Makefile

# $NetBSD: Makefile,v 1.2 2014/08/13 20:27:09 gls Exp $
DISTNAME= gunicorn-19.1.0
CATEGORIES= www
MASTER_SITES= https://pypi.python.org/packages/source/g/gunicorn/
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
MAINTAINER= gls@NetBSD.org
HOMEPAGE= http://gunicorn.org/
COMMENT= Python WSGI HTTP server
LICENSE= mit
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 \
${DESTDIR}${DOCDIR}
cd ${WRKSRC}/examples && pax -wr -pma * \
${DESTDIR}${EXAMPLESDIR}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"