pkgsrc/www/py-daphne/Makefile
adam add318758a py-daphne: updated to 2.2.0
2.2.0:

* HTTP timeouts have been removed by default, as they were only needed
  with ASGI/Channels 1. You can re-enable them with the --http-timeout
  argument to Daphne.

* Occasional errors on application timeout for non-fully-opened sockets
  and for trying to read closed requests under high load are fixed.

* X-Forwarded-For headers are now correctly decoded in all environments
  and no longer have unicode matching issues.
2018-06-14 07:55:00 +00:00

26 lines
820 B
Makefile

# $NetBSD: Makefile,v 1.11 2018/06/14 07:55:00 adam Exp $
DISTNAME= daphne-2.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/daphne/}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= https://github.com/django/daphne
COMMENT= HTTP, HTTP2 and WebSocket protocol server for ASGI
LICENSE= modified-bsd
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 34
DEPENDS+= ${PYPKGPREFIX}-asgiref>=2.0:../../www/py-asgiref
DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn
DEPENDS+= ${PYPKGPREFIX}-twisted>=17.5:../../net/py-twisted
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"