pkgsrc/www/py-sanic/Makefile
adam 73e5c6c3fb py-sanic: updated to 21.6.2
Version 21.6.2
Bugfixes
* Fix handling of exceptions in ASGI app call
2021-08-05 18:37:30 +00:00

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"