From owner-svn-ports-all@FreeBSD.ORG Sat Feb 14 08:45:18 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 153A5763; Sat, 14 Feb 2015 08:45:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA655357; Sat, 14 Feb 2015 08:45:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1E8jHha024262; Sat, 14 Feb 2015 08:45:17 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1E8jGhP024257; Sat, 14 Feb 2015 08:45:16 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201502140845.t1E8jGhP024257@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sat, 14 Feb 2015 08:45:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378952 - in head/www: . py-autobahn X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2015 08:45:18 -0000 Author: koobs Date: Sat Feb 14 08:45:16 2015 New Revision: 378952 URL: https://svnweb.freebsd.org/changeset/ports/378952 QAT: https://qat.redports.org/buildarchive/r378952/ Log: [NEW] www/py-autobahn: WebSocket library, WAMP real-time framework Autobahn|Python is a networking library that is part of the Autobahn project and provides implementations of: * The WebSocket Protocol * The Web Application Messaging Protocol (WAMP) for Twisted and asyncio, on Python 2 & 3 and for writing servers and clients. WebSocket allows bidirectional real-time messaging on the Web and WAMP adds asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket. WWW: http://autobahn.ws/python Added: head/www/py-autobahn/ head/www/py-autobahn/Makefile (contents, props changed) head/www/py-autobahn/distinfo (contents, props changed) head/www/py-autobahn/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sat Feb 14 08:01:19 2015 (r378951) +++ head/www/Makefile Sat Feb 14 08:45:16 2015 (r378952) @@ -1460,6 +1460,7 @@ SUBDIR += py-albatross SUBDIR += py-amf SUBDIR += py-apachelog + SUBDIR += py-autbahn SUBDIR += py-beaker SUBDIR += py-beautifulsoup SUBDIR += py-beautifulsoup32 Added: head/www/py-autobahn/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-autobahn/Makefile Sat Feb 14 08:45:16 2015 (r378952) @@ -0,0 +1,56 @@ +# Created by: Kubilay Kocak +# $FreeBSD$ + +PORTNAME= autobahn +PORTVERSION= 0.9.6 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= WebSocket client & server library, WAMP real-time framework + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.6.1:${PORTSDIR}/devel/py-six +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \ + ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock + +USES= dos2unix python +USE_PYTHON= autoplist distutils + +OPTIONS_DEFINE= ACCELERATE SERIALIZATION +OPTIONS_MULTI= BACKENDS +OPTIONS_MULTI_BACKENDS= ASYNCIO TWISTED +OPTIONS_DEFAULT= ASYNCIO ACCELERATE SERIALIZATION TWISTED + +BACKENDS_DESC= Networking Backends + +ACCELERATE_DESC= WebSocket and JSON Acceleration +ASYNCIO_DESC= asyncio (PEP-3156 aka "Tulip") Backend +SERIALIZATION_DESC= WAMPv2 Binary Serialization +TWISTED_DESC= Twisted Backend (Python 2.x ONLY) + +ACCELERATE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wsaccel>=0.6.2:${PORTSDIR}/www/py-wsaccel \ + ${PYTHON_PKGNAMEPREFIX}ujson>=1.33:${PORTSDIR}/devel/py-ujson +SERIALIZATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.4.0:${PORTSDIR}/devel/py-msgpack +TWISTED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6:${PORTSDIR}/devel/py-zope.interface +TWISTED_USES= twisted:run + +.include + +.if ${PORT_OPTIONS:MTWISTED} && ${PYTHON_REL} >= 300 +BROKEN= Twisted currently only supports Python 2.x. Disable the TWISTED option and use ASYNCIO instead +.endif + +.if ${PORT_OPTIONS:MASYNCIO} && ${PYTHON_REL} <= 340 +.if ${PYTHON_REL} >= 330 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}asyncio>=0.2.1:${PORTSDIR}/devel/py-asyncio +.else +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}trollius>=0.1.2:${PORTSDIR}/devel/py-trollius \ + ${PYTHON_PKGNAMEPREFIX}futures>=2.1.5:${PORTSDIR}/devel/py-futures +.endif +.endif + +.include Added: head/www/py-autobahn/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-autobahn/distinfo Sat Feb 14 08:45:16 2015 (r378952) @@ -0,0 +1,2 @@ +SHA256 (autobahn-0.9.6.tar.gz) = 7b17ea657ef275a361dba1977cdbfc822c664ef3fc8500c4b0d82cbf42854f9f +SIZE (autobahn-0.9.6.tar.gz) = 137891 Added: head/www/py-autobahn/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-autobahn/pkg-descr Sat Feb 14 08:45:16 2015 (r378952) @@ -0,0 +1,14 @@ +Autobahn|Python is a networking library that is part of the Autobahn +project and provides implementations of: + + * The WebSocket Protocol + * The Web Application Messaging Protocol (WAMP) + +for Twisted and asyncio, on Python 2 & 3 and for writing servers and +clients. + +WebSocket allows bidirectional real-time messaging on the Web and WAMP +adds asynchronous Remote Procedure Calls and Publish & Subscribe on top +of WebSocket. + +WWW: http://autobahn.ws/python