summaryrefslogtreecommitdiff
path: root/www/py-sanic/Makefile
blob: db653258b48e3dd7b10efe04919f783df8397312 (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
# $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"