1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- Update to 0.17.2

- Update pkg-plist
- Tweak COMMENT
- Re-order USE_ section
- Remove TESTS option
- Update RUN_DEPENDS version requirements

Approved by:	rm (mentor)
This commit is contained in:
Kubilay Kocak 2013-03-24 08:59:49 +00:00
parent e3818fa7ee
commit 2ef1360363
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315107
3 changed files with 15 additions and 20 deletions

View File

@ -2,30 +2,29 @@
# $FreeBSD$
PORTNAME= gunicorn
PORTVERSION= 0.16.1
PORTVERSION= 0.17.2
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python WSGI server for unix
COMMENT= Python WSGI server for UNIX
LICENSE= MIT
USE_GITHUB= yes
GH_ACCOUNT= benoitc
GH_TAGNAME= 0.16.1
GH_COMMIT= 0d91a51
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
# Python3 Ready
USE_GITHUB= yes
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
OPTIONS_DEFINE= EVENTLET GEVENT TORNADO SETPROC TESTS
GH_ACCOUNT= benoitc
GH_COMMIT= 5369c6c
OPTIONS_DEFINE= EVENTLET GEVENT TORNADO SETPROC
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 tools for running unittests
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
NO_OPTIONS_SORT= yes
@ -33,11 +32,11 @@ NO_OPTIONS_SORT= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MEVENTLET}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9:${PORTSDIR}/net/py-eventlet
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9.7:${PORTSDIR}/net/py-eventlet
.endif
.if ${PORT_OPTIONS:MGEVENT}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gevent>0:${PORTSDIR}/devel/py-gevent
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gevent>=0.12.2:${PORTSDIR}/devel/py-gevent
.endif
.if ${PORT_OPTIONS:MTORNADO}
@ -48,13 +47,6 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=2.2:${PORTSDIR}/www/py-tornado
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setproctitle>0:${PORTSDIR}/devel/py-setproctitle
.endif
.if ${PORT_OPTIONS:MTESTS}
BUILD_DEPENDS:= ${TEST_DEPENDS} \
${RUN_DEPENDS}
.endif
TEST_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

View File

@ -1,2 +1,2 @@
SHA256 (gunicorn-0.16.1.tar.gz) = e1972878b7a742302fb5281cb4d4c64f4c0eace2c58a814e88bd09754149ff40
SIZE (gunicorn-0.16.1.tar.gz) = 333263
SHA256 (gunicorn-0.17.2.tar.gz) = 9483f2adfde0659ef42ad47da9417aaf4417aa672ab8da3185149f0489db03d1
SIZE (gunicorn-0.17.2.tar.gz) = 360240

View File

@ -31,6 +31,9 @@ bin/gunicorn_paster
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/arbiter.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/arbiter.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/arbiter.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/argparse_compat.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/argparse_compat.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/argparse_compat.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/config.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/config.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/config.pyo