73e5c6c3fb
Version 21.6.2 Bugfixes * Fix handling of exceptions in ASGI app call
30 lines
1 KiB
Makefile
30 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2021/08/05 18:37:30 adam Exp $
|
|
|
|
DISTNAME= sanic-21.6.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/sanic-org/sanic
|
|
COMMENT= Microframework based on uvloop, httptools, and learnings of flask
|
|
LICENSE= mit AND apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.6.0:../../devel/py-aiofiles
|
|
DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools
|
|
DEPENDS+= ${PYPKGPREFIX}-multidict>=5.0.0:../../databases/py-multidict
|
|
DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson
|
|
DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop
|
|
DEPENDS+= ${PYPKGPREFIX}-sanic-routing>=0.7.0:../../www/py-sanic-routing
|
|
DEPENDS+= ${PYPKGPREFIX}-websockets>=9.0:../../www/py-websockets
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 36
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} sanic sanic-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|