8560be0ed3
Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
30 lines
866 B
Makefile
30 lines
866 B
Makefile
# $NetBSD: Makefile,v 1.25 2023/06/06 12:42:49 riastradh Exp $
|
|
|
|
DISTNAME= daphne-3.0.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
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.10:../../www/py-asgiref
|
|
DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn
|
|
DEPENDS+= ${PYPKGPREFIX}-twisted>=18.7:../../net/py-twisted
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|