diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2014-01-10 09:29:28 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2014-01-10 09:29:28 +0000 |
commit | b40822e3c5ee7866a0311e07dad959c8c0b61490 (patch) | |
tree | 1054a7636a5efea63100658f674e10591e315260 /www | |
parent | 43ce726eaefd4ed488570ff185991c5e9945f74c (diff) | |
download | ports-b40822e3c5ee7866a0311e07dad959c8c0b61490.tar.gz ports-b40822e3c5ee7866a0311e07dad959c8c0b61490.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/py-gunicorn/Makefile | 52 |
1 files changed, 18 insertions, 34 deletions
diff --git a/www/py-gunicorn/Makefile b/www/py-gunicorn/Makefile index 9e0b5bb40db9..bf9f62817e17 100644 --- a/www/py-gunicorn/Makefile +++ b/www/py-gunicorn/Makefile @@ -3,6 +3,7 @@ PORTNAME= gunicorn PORTVERSION= 18.0 +PORTREVISION= 1 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,47 +14,30 @@ LICENSE= MIT TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest +OPTIONS_DEFINE= SETPROC TESTS +OPTIONS_GROUP= WORKERS +OPTIONS_GROUP_WORKERS= EVENTLET GEVENT TORNADO + +EVENTLET_DESC= Eventlet async worker support +GEVENT_DESC= Gevent async worker support +TORNADO_DESC= Tornado async worker support +SETPROC_DESC= Support custom process names (setproctitle) +TESTS_DESC= Install pytest for unit tests + +EVENTLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9.7:${PORTSDIR}/net/py-eventlet +GEVENT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>=0.12.2:${PORTSDIR}/devel/py-gevent +TORNADO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>=2.2:${PORTSDIR}/www/py-tornado +SETPROC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setproctitle>0:${PORTSDIR}/devel/py-setproctitle +TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} + USE_GITHUB= yes USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes GH_ACCOUNT= benoitc GH_COMMIT= 24fe380 -OPTIONS_DEFINE= EVENTLET GEVENT TORNADO SETPROC TESTS -EVENTLET_DESC= Add Eventlet async worker -GEVENT_DESC= Add Gevent async worker -TORNADO_DESC= Add Tornado async worker -SETPROC_DESC= Support changing process title (setproctitle) -TESTS_DESC= Install pytest for unit tests - -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options -NO_OPTIONS_SORT= yes - -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MEVENTLET} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9.7:${PORTSDIR}/net/py-eventlet -.endif - -.if ${PORT_OPTIONS:MGEVENT} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gevent>=0.12.2:${PORTSDIR}/devel/py-gevent -.endif - -.if ${PORT_OPTIONS:MTORNADO} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=2.2:${PORTSDIR}/www/py-tornado -.endif - -.if ${PORT_OPTIONS:MSETPROC} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setproctitle>0:${PORTSDIR}/devel/py-setproctitle -.endif - -.if ${PORT_OPTIONS:MTESTS} -RUN_DEPENDS+= ${TEST_DEPENDS} -.endif - regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test |