Date: Sat, 6 Jul 2013 14:33:06 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322396 - head/www/py-gunicorn Message-ID: <201307061433.r66EX626093260@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Sat Jul 6 14:33:06 2013 New Revision: 322396 URL: http://svnweb.freebsd.org/changeset/ports/322396 Log: www/py-gunicorn: Update to 17.5, add TESTS option - Update to 17.5 (new upstream version convention) - Add TESTS option - Limit scope of bsd.port.pre.mk for future OPTIONS := use (Thanks ak!) Changes: http://docs.gunicorn.org/en/R17.5/2013-news.html#r17-5-2013-07-03 Reviewed by: ak Modified: head/www/py-gunicorn/Makefile head/www/py-gunicorn/distinfo Modified: head/www/py-gunicorn/Makefile ============================================================================== --- head/www/py-gunicorn/Makefile Sat Jul 6 14:03:24 2013 (r322395) +++ head/www/py-gunicorn/Makefile Sat Jul 6 14:33:06 2013 (r322396) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gunicorn -PORTVERSION= 0.17.4 +PORTVERSION= 17.5 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,18 +18,19 @@ USE_PYTHON= yes USE_PYDISTUTILS= easy_install GH_ACCOUNT= benoitc -GH_COMMIT= ca35dc7 +GH_COMMIT= cf0527f -OPTIONS_DEFINE= EVENTLET GEVENT TORNADO SETPROC +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 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MEVENTLET} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9.7:${PORTSDIR}/net/py-eventlet @@ -47,9 +48,15 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tor 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 +.include <bsd.port.pre.mk> + .if ${PYTHON_REL} >= 320 .include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" .endif Modified: head/www/py-gunicorn/distinfo ============================================================================== --- head/www/py-gunicorn/distinfo Sat Jul 6 14:03:24 2013 (r322395) +++ head/www/py-gunicorn/distinfo Sat Jul 6 14:33:06 2013 (r322396) @@ -1,2 +1,2 @@ -SHA256 (gunicorn-0.17.4.tar.gz) = 6adbfe2a921cb06008f0aea98cbbb6cb4a0fc2c673b0be601548703daef56873 -SIZE (gunicorn-0.17.4.tar.gz) = 362303 +SHA256 (gunicorn-17.5.tar.gz) = 2d3983074b4294ee8481b5e246792b5f5b0a0fdde4b76fe79054f0c9b7214a7f +SIZE (gunicorn-17.5.tar.gz) = 367702
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307061433.r66EX626093260>