blob: bd23268a22caafa947fa047b5c2808d3bb5457d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
PORTNAME= gunicorn
PORTVERSION= 20.1.0
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MASTER_SITES= CHEESESHOP
MAINTAINER= bofh@FreeBSD.org
COMMENT= WSGI HTTP Server for UNIX
WWW= https://gunicorn.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= cpe python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= PROCTITLE
OPTIONS_DEFAULT= PROCTITLE
OPTIONS_GROUP= WORKERS
OPTIONS_GROUP_WORKERS= EVENTLET GEVENT TORNADO
EVENTLET_DESC= Eventlet async worker
GEVENT_DESC= Greenlet worker
PROCTITLE_DESC= Custom process titles with setproctitle(3)
TORNADO_DESC= Tornado async worker
EVENTLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.24.1:net/py-eventlet@${PY_FLAVOR}
GEVENT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>1.4.0:devel/py-gevent@${PY_FLAVOR}
PROCTITLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR}
TORNADO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>=0.2:www/py-tornado@${PY_FLAVOR}
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
|