pkgsrc/www/py-daphne/Makefile
adam 1440f5e20c py-daphne: updated to 2.2.2
2.2.2:
* X-Forwarded-Proto support is now present and enabled if you turn on the
  --proxy-headers flag
* ASGI applications are no longer instantiated in a thread (the ASGI spec
  was finalised to say all constructors must be non-blocking on the main thread)

2.2.1:
* Python 3.7 compatability is flagged and ensured by using Twisted 18.7 and
  above as a dependency.
* The send() awaitable in applications no longer blocks if the connection is
  closed.
* Fixed a race condition where applications would be cleaned up before they
  had even started.
2018-08-19 10:53:11 +00:00

25 lines
761 B
Makefile

# $NetBSD: Makefile,v 1.12 2018/08/19 10:53:11 adam Exp $
DISTNAME= daphne-2.2.2
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
DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn
DEPENDS+= ${PYPKGPREFIX}-twisted>=18.7:../../net/py-twisted
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 34
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"