pkgsrc/www/py-daphne/Makefile
adam 8d578e24d3 py-daphne: updated to 4.1.0
4.1.0 (2024-02-10)
------------------
* Added support for Python 3.12.
* Dropped support for EOL Python 3.7.
* Handled root path for websocket scopes.
* Validate HTTP header names as per RFC 9110.
2024-02-11 15:32:30 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2024/02/11 15:32:30 adam Exp $
DISTNAME= daphne-4.1.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
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.5.2:../../www/py-asgiref
DEPENDS+= ${PYPKGPREFIX}-autobahn>=22.4.2:../../www/py-autobahn
DEPENDS+= ${PYPKGPREFIX}-twisted>=22.4:../../net/py-twisted
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"