1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/www/py-gunicorn/Makefile
2021-04-06 16:31:07 +02:00

44 lines
1.2 KiB
Makefile

# Created by: Kristaps Kulis <kristaps.kulis@gmail.com>
PORTNAME= gunicorn
PORTVERSION= 19.9.0
PORTREVISION= 1
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= WSGI HTTP Server for UNIX
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
OPTIONS_DEFINE= PROCTITLE
OPTIONS_DEFAULT= PROCTITLE
OPTIONS_GROUP= WORKERS
OPTIONS_GROUP_WORKERS= EVENTLET GAIOHTTP TORNADO
EVENTLET_DESC= Eventlet async worker
GAIOHTTP_DESC= gaiohttp async worker
PROCTITLE_DESC= Custom process titles with setproctitle(3)
TORNADO_DESC= Tornado async worker
EVENTLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9.7:net/py-eventlet@${PY_FLAVOR}
GAIOHTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR}
PROCTITLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR}
TORNADO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>=2.2:www/py-tornado@${PY_FLAVOR}
USES= python:3.6+
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils
GH_ACCOUNT= benoitc
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>