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

- Update to 0.3.2 [1]

- Use option helpers
- Bump minimal versions for gevent and tornado dependencies
Submitted by:	portscout [1]
This commit is contained in:
Rene Ladan 2013-09-13 09:27:55 +00:00
parent d756359e22
commit 50f69fa751
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327137
2 changed files with 7 additions and 16 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= ws4py
PORTVERSION= 0.2.4
PORTREVISION= 1
PORTVERSION= 0.3.2
CATEGORIES= www python
MASTER_SITES= http://www.defuze.org/oss/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -24,23 +23,15 @@ CHERRYPY_DESC= CherryPy server support
GEVENT_DESC= gevent-based client/server support
TORNADO_DESC= Tornado client support
.include <bsd.port.options.mk>
CHERRYPY_FILES= test/test_cherrypy.py ws4py/server/cherrypyserver.py
GEVENT_FILES= ws4py/client/geventclient.py ws4py/server/geventserver.py
TORNADO_FILES= ws4py/client/tornadoclient.py
.if ${PORT_OPTIONS:MCHERRYPY}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cherrypy>=3.2.2:${PORTSDIR}/www/py-cherrypy
.endif
CHERRYPY_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cherrypy>=3.2.2:${PORTSDIR}/www/py-cherrypy
GEVENT_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gevent>=0.13.8:${PORTSDIR}/devel/py-gevent
TORNADO_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=3.1:${PORTSDIR}/www/py-tornado
.if ${PORT_OPTIONS:MGEVENT}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gevent>=0.13.6:${PORTSDIR}/devel/py-gevent
.endif
.if ${PORT_OPTIONS:MTORNADO}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=2.0:${PORTSDIR}/www/py-tornado
.endif
.include <bsd.port.options.mk>
# Do not install files which will not work
post-patch:

View File

@ -1,2 +1,2 @@
SHA256 (ws4py-0.2.4.tar.gz) = 1adb03db73d97886a05a0b22318265e4e1b0d05e9324873576f91f2ef6dfb0ad
SIZE (ws4py-0.2.4.tar.gz) = 25049
SHA256 (ws4py-0.3.2.tar.gz) = c8728811f1fb20fac6be0565075dfe31e0b50f8a18806693524335b6f4a7f42d
SIZE (ws4py-0.3.2.tar.gz) = 33568