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
This commit is contained in:
parent
424948a5b8
commit
c9ab7f022f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322396
2 changed files with 13 additions and 6 deletions
|
@ -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}tornado>=2.2:${PORTSDIR}/www/py-tornado
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue