[Midnightbsd-cvs] mports [24117] trunk/www: add py-autobahn

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 3 11:54:43 EDT 2018


Revision: 24117
          http://svnweb.midnightbsd.org/mports/?rev=24117
Author:   laffer1
Date:     2018-09-03 11:54:42 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
add py-autobahn

Modified Paths:
--------------
    trunk/www/Makefile

Added Paths:
-----------
    trunk/www/py-autobahn/
    trunk/www/py-autobahn/Makefile
    trunk/www/py-autobahn/distinfo
    trunk/www/py-autobahn/files/
    trunk/www/py-autobahn/files/patch-setup.py
    trunk/www/py-autobahn/pkg-descr

Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile	2018-09-03 15:43:48 UTC (rev 24116)
+++ trunk/www/Makefile	2018-09-03 15:54:42 UTC (rev 24117)
@@ -106,6 +106,7 @@
 SUBDIR += pmwiki
 SUBDIR += polipo
 SUBDIR += privoxy
+SUBDIR += py-autobahn
 SUBDIR += py-beaker
 SUBDIR += py-html5lib
 SUBDIR += py-httplib2

Added: trunk/www/py-autobahn/Makefile
===================================================================
--- trunk/www/py-autobahn/Makefile	                        (rev 0)
+++ trunk/www/py-autobahn/Makefile	2018-09-03 15:54:42 UTC (rev 24117)
@@ -0,0 +1,56 @@
+# $MidnightBSD$
+
+PORTNAME=		autobahn
+PORTVERSION=		0.17.2
+DISTVERSIONPREFIX=	v
+PORTREVISION=	1
+CATEGORIES=		www python
+PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=		ports at MidnightBSD.org
+COMMENT=		WebSocket client & server library, WAMP real-time framework
+
+LICENSE=	bsd2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.6.1:devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}txaio>=2.2.0:devel/py-txaio
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.7.2:devel/py-pytest \
+		${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock \
+		${PYTHON_PKGNAMEPREFIX}trollius>0:devel/py-trollius # Not really a depends, but the test doesnt skip
+
+USES=		python
+USE_GITHUB=	yes
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+GH_ACCOUNT=	crossbario
+GH_PROJECT=	autobahn-python
+
+OPTIONS_DEFINE=		ACCELERATE SERIALIZATION
+OPTIONS_DEFAULT=	ACCELERATE SERIALIZATION
+
+BACKENDS_DESC=		Networking Backends
+
+ACCELERATE_DESC=	WebSocket and JSON Acceleration
+SERIALIZATION_DESC=	WAMPv2 Binary Serialization
+
+ACCELERATE_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}wsaccel>=0.6.2:www/py-wsaccel \
+				${PYTHON_PKGNAMEPREFIX}ujson>=1.33:devel/py-ujson
+
+SERIALIZATION_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}msgpack>=0.4.0:devel/py-msgpack
+
+.include <bsd.port.pre.mk>
+
+.if ${FLAVOR} == python2
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6:devel/py-zope.interface \
+		${PYTHON_PKGNAMEPREFIX}twisted>=12.1:devel/py-twisted
+.elif ${FLAVOR} == python3 && ${PYTHON_REL} <= 3300
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}asyncio>=3.4.3:devel/py-asyncio
+.endif
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest autobahn
+
+.include <bsd.port.post.mk>


Property changes on: trunk/www/py-autobahn/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-autobahn/distinfo
===================================================================
--- trunk/www/py-autobahn/distinfo	                        (rev 0)
+++ trunk/www/py-autobahn/distinfo	2018-09-03 15:54:42 UTC (rev 24117)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1488897685
+SHA256 (crossbario-autobahn-python-v0.17.2_GH0.tar.gz) = f6af786d4bbe939e960029bd500da8bfbc07368ebe38f058af5d7cf24c9ddfdd
+SIZE (crossbario-autobahn-python-v0.17.2_GH0.tar.gz) = 1261737


Property changes on: trunk/www/py-autobahn/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-autobahn/files/patch-setup.py
===================================================================
--- trunk/www/py-autobahn/files/patch-setup.py	                        (rev 0)
+++ trunk/www/py-autobahn/files/patch-setup.py	2018-09-03 15:54:42 UTC (rev 24117)
@@ -0,0 +1,18 @@
+--- setup.py.orig	2016-01-24 16:10:22 UTC
++++ setup.py
+@@ -32,12 +32,9 @@ import platform
+ from setuptools import setup
+ from setuptools.command.test import test as test_command
+ 
+-# remember if we already had six _before_ installation
+-try:
+-    import six  # noqa
+-    _HAD_SIX = True
+-except ImportError:
+-    _HAD_SIX = False
++# We don't want this package to regenerate the Twisted dropin.cache
++# as it creates a filesystem violation by writing outside of STAGEDIR
++_HAD_SIX = False
+ 
+ CPY = platform.python_implementation() == 'CPython'
+ PY3 = sys.version_info >= (3,)


Property changes on: trunk/www/py-autobahn/files/patch-setup.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-autobahn/pkg-descr
===================================================================
--- trunk/www/py-autobahn/pkg-descr	                        (rev 0)
+++ trunk/www/py-autobahn/pkg-descr	2018-09-03 15:54:42 UTC (rev 24117)
@@ -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


Property changes on: trunk/www/py-autobahn/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list