summaryrefslogtreecommitdiff
path: root/www/py-sanic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-sanic/Makefile')
-rw-r--r--www/py-sanic/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/py-sanic/Makefile b/www/py-sanic/Makefile
new file mode 100644
index 00000000000..db653258b48
--- /dev/null
+++ b/www/py-sanic/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/07/07 07:27:15 adam Exp $
+
+DISTNAME= sanic-0.5.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/channelcat/sanic
+COMMENT= Microframework based on uvloop, httptools, and learnings of flask
+LICENSE= mit AND apache-2.0
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.3.0:../../devel/py-aiofiles
+BUILD_DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.9:../../www/py-httptools
+BUILD_DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson
+BUILD_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop
+BUILD_DEPENDS+= ${PYPKGPREFIX}-websockets>=3.2:../../www/py-websockets
+
+PYTHON_VERSIONS_ACCEPTED= 36 35
+
+USE_LANGUAGES= c
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"