2.4.1: * Avoids Twisted using the default event loop, for compatibility with Django 3.0's ``async_unsafe()`` decorator in threaded contexts, such as using the auto-reloader.
27 lines
820 B
Makefile
27 lines
820 B
Makefile
# $NetBSD: Makefile,v 1.19 2020/02/01 20:39:42 adam Exp $
|
|
|
|
DISTNAME= daphne-2.4.1
|
|
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}-asgiref>=3.2:../../www/py-asgiref
|
|
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
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|