From owner-svn-ports-head@FreeBSD.ORG Fri Oct 19 14:26:06 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3BDEA5C; Fri, 19 Oct 2012 14:26:05 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CB2048FC19; Fri, 19 Oct 2012 14:26:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9JEQ5KV011815; Fri, 19 Oct 2012 14:26:05 GMT (envelope-from rm@svn.freebsd.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9JEQ5BS011810; Fri, 19 Oct 2012 14:26:05 GMT (envelope-from rm@svn.freebsd.org) Message-Id: <201210191426.q9JEQ5BS011810@svn.freebsd.org> From: Ruslan Mahmatkhanov Date: Fri, 19 Oct 2012 14:26:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306124 - head/www/py-gunicorn X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 14:26:06 -0000 Author: rm Date: Fri Oct 19 14:26:05 2012 New Revision: 306124 URL: http://svn.freebsd.org/changeset/ports/306124 Log: - Update to 0.15.0 - Tweak USE_PYTHON version - Add TEST_DEPENDS and regression-test: target - Add LICENSE - Add TORNADO and TESTS - Add NO_OPTIONS_SORT - Tweak OPTIONS descriptions - Trim Makefile header - Whitespace alignment PR: 172875 Submitted by: Kubilay Kocak (maintainer) Tested by: redports Feature safe: yes Modified: head/www/py-gunicorn/Makefile head/www/py-gunicorn/distinfo head/www/py-gunicorn/pkg-descr Modified: head/www/py-gunicorn/Makefile ============================================================================== --- head/www/py-gunicorn/Makefile Fri Oct 19 14:13:06 2012 (r306123) +++ head/www/py-gunicorn/Makefile Fri Oct 19 14:26:05 2012 (r306124) @@ -1,12 +1,8 @@ -# New ports collection makefile for: py-gunicorn -# Date created: 2010-03-03 -# Whom: Kristaps Kulis -# +# Created by: Kristaps Kulis # $FreeBSD$ -# PORTNAME= gunicorn -PORTVERSION= 0.14.5 +PORTVERSION= 0.15.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,15 +10,22 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs.freebsd@gmail.com COMMENT= Python WSGI server for unix -USE_PYTHON= 2.5-2.7 +LICENSE= MIT + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose + +USE_PYTHON= -2.7 USE_PYDISTUTILS= easy_install -OPTIONS_DEFINE= EVENTLET GEVENT SETPROC -EVENTLET_DESC= Add Eventlet asynchronous worker -GEVENT_DESC= Add Gevent asynchronous worker -SETPROC_DESC= Change process name support +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 nose for running unittests -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options +NO_OPTIONS_SORT= yes .include @@ -31,11 +34,22 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}eve .endif .if ${PORT_OPTIONS:MGEVENT} -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gevent/__init__.py:${PORTSDIR}/devel/py-gevent +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gevent>0:${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_SITELIBDIR}/setproctitle.so:${PORTSDIR}/devel/py-setproctitle +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setproctitle>0:${PORTSDIR}/devel/py-setproctitle .endif +.if ${PORT_OPTIONS:MTESTS} +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose +.endif + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} nosetests + .include Modified: head/www/py-gunicorn/distinfo ============================================================================== --- head/www/py-gunicorn/distinfo Fri Oct 19 14:13:06 2012 (r306123) +++ head/www/py-gunicorn/distinfo Fri Oct 19 14:26:05 2012 (r306124) @@ -1,2 +1,2 @@ -SHA256 (gunicorn-0.14.5.tar.gz) = cef7820010cc5d1bf134e25b0ab22097b67886ae72c42a774d555be605a9b422 -SIZE (gunicorn-0.14.5.tar.gz) = 228742 +SHA256 (gunicorn-0.15.0.tar.gz) = 811f7e9b6b81f5ef4ba07ba071ee8f09ce2c9b16824b75fcaf6452af8bc9a9ad +SIZE (gunicorn-0.15.0.tar.gz) = 119108 Modified: head/www/py-gunicorn/pkg-descr ============================================================================== --- head/www/py-gunicorn/pkg-descr Fri Oct 19 14:13:06 2012 (r306123) +++ head/www/py-gunicorn/pkg-descr Fri Oct 19 14:26:05 2012 (r306124) @@ -1,6 +1,6 @@ Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. -It's a pre-fork worker model ported from Ruby's Unicorn project. +It's a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resource usage, and fairly speedy. -WWW: http://gunicorn.org/ +WWW: http://gunicorn.org/