blob: 6cbad8a5cc7b85cc79bbb15d6eeaa8ebe2c48c96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.22 2021/12/30 13:05:42 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
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} sanic sanic-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|