to power Django Channels. It supports automatic negotiation of protocols; there's no need for URL prefixing to determine WebSocket endpoints versus HTTP endpoints.
24 lines
730 B
Makefile
24 lines
730 B
Makefile
# $NetBSD: Makefile,v 1.1 2017/06/21 19:09:21 adam Exp $
|
|
|
|
DISTNAME= daphne-1.3.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=d/daphne/}
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://github.com/django/daphne
|
|
COMMENT= HTTP, HTTP2 and WebSocket protocol server for ASGI
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-asgiref-[0-9]*:../../www/py-asgiref
|
|
DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn
|
|
DEPENDS+= ${PYPKGPREFIX}-twisted>=17.1:../../net/py-twisted
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/daphne \
|
|
${DESTDIR}${PREFIX}/bin/daphne-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|