cd76d1756e
0.13.4 - 2021-02-20 Fixed Fixed wsgi middleware PATH_INFO encoding Fixed uvloop dependency Relax watchgod up bound Return 'connection: close' header in response Added Docs: Nginx + websockets Document the default value of 1 for workers Enabled permessage-deflate extension in websockets
33 lines
1,011 B
Makefile
33 lines
1,011 B
Makefile
# $NetBSD: Makefile,v 1.19 2021/02/26 10:17:18 adam Exp $
|
|
|
|
DISTNAME= uvicorn-0.13.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=u/uvicorn/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.uvicorn.org/
|
|
COMMENT= The lightning-fast ASGI server
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-click>=7.0:../../devel/py-click
|
|
DEPENDS+= ${PYPKGPREFIX}-h11>=0.8:../../www/py-h11
|
|
DEPENDS+= ${PYPKGPREFIX}-httptools>=0.1.1:../../www/py-httptools
|
|
DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.14.0:../../devel/py-uvloop
|
|
DEPENDS+= ${PYPKGPREFIX}-websockets>=8.0:../../www/py-websockets
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 36
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} < 38
|
|
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
|
|
.endif
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} uvicorn uvicorn-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|