Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2012 05:57:44 GMT
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170227: [UPDATE] www/py-gunicorn to 0.14.6
Message-ID:  <201207280557.q6S5vivE054617@red.freebsd.org>
Resent-Message-ID: <201207280600.q6S60NVi075676@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170227
>Category:       ports
>Synopsis:       [UPDATE] www/py-gunicorn to 0.14.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 28 06:00:22 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
Add OPTIONS_SINGLE for workers (Gevent, Eventlet and Tornado) and web applications (WSGI, Django and Paste).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: distinfo
===================================================================
--- distinfo	(révision 301624)
+++ distinfo	(copie de travail)
@@ -1,2 +1,2 @@
-SHA256 (gunicorn-0.14.5.tar.gz) = cef7820010cc5d1bf134e25b0ab22097b67886ae72c42a774d555be605a9b422
-SIZE (gunicorn-0.14.5.tar.gz) = 228742
+SHA256 (gunicorn-0.14.6.tar.gz) = 00cb88f3da5bcb6eb96dacd01c1103b9b777fabfd750ee08d9965288a4681a70
+SIZE (gunicorn-0.14.6.tar.gz) = 219695
Index: Makefile
===================================================================
--- Makefile	(révision 301624)
+++ Makefile	(copie de travail)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gunicorn
-PORTVERSION=	0.14.5
+PORTVERSION=	0.14.6
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,15 +17,27 @@
 USE_PYTHON=	2.5-2.7
 USE_PYDISTUTILS=	easy_install
 
-OPTIONS_DEFINE= EVENTLET GEVENT SETPROC
-EVENTLET_DESC=  Add Eventlet asynchronous worker
-GEVENT_DESC=    Add Gevent asynchronous worker
+OPTIONS_DEFINE= SETPROC WEBAPPS WORKERS
+OPTIONS_SINGLE=	WEBAPPS WORKERS
+OPTIONS_SINGLE_WORKERS=	EVENTLET GEVENT TORNADO
+OPTIONS_SINGLE=	WEBAPPS
+OPTIONS_SINGLE_WEBAPPS=	DJANGO PASTE
+
+DJANGO_DESC=	Add Django support
+EVENTLET_DESC=  Add Eventlet support
+GEVENT_DESC=    Add Gevent support
+PASTE_DESC=	Add Paste support 
 SETPROC_DESC=   Change process name support
+TORNADO_DESC=	Add Tornado support
 
 OPTIONSFILE?=   ${PORT_DBDIR}/py-${PORTNAME}/options
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MDJANGO}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}django>=0:${PORTSDIR}/www/py-django
+.endif
+
 .if ${PORT_OPTIONS:MEVENTLET}
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}eventlet>=0.9:${PORTSDIR}/net/py-eventlet
 .endif
@@ -34,8 +46,16 @@
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/gevent/__init__.py:${PORTSDIR}/devel/py-gevent
 .endif
 
+.if ${PORT_OPTIONS:MPASTE}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}Paste>=1.6:${PORTSDIR}/www/py-paste
+.endif
+
 .if ${PORT_OPTIONS:MSETPROC}
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/setproctitle.so:${PORTSDIR}/devel/py-setproctitle
 .endif
 
+.if ${PORT_OPTIONS:MTORNADO}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tornado>=2.2:${PORTSDIR}/www/py-tornado
+.endif
+
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207280557.q6S5vivE054617>