0.11.5 Revert "Watch all files, not just .py" due to unexpected side effects. Revert "Pass through gunicorn timeout config." due to unexpected side effects.
28 lines
855 B
Makefile
28 lines
855 B
Makefile
# $NetBSD: Makefile,v 1.5 2020/04/30 06:56:04 adam Exp $
|
|
|
|
DISTNAME= uvicorn-0.11.5
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=u/uvicorn/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/encode/uvicorn
|
|
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
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} uvicorn uvicorn-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|