pkgsrc/www/py-daphne/Makefile
adam 75d1d136f3 py-daphne: updated to 2.3.0
2.3.0:
* Added support for ASGI v3.
2019-05-06 10:24:25 +00:00

26 lines
817 B
Makefile

# $NetBSD: Makefile,v 1.17 2019/05/06 10:24:25 adam Exp $
DISTNAME= daphne-2.3.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
DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.0:../../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"