update to websockify-0.11.0
This commit is contained in:
parent
a3e8139ab7
commit
076b2bdac9
|
@ -1,10 +1,9 @@
|
|||
COMMENT= WebSocket to TCP proxy
|
||||
|
||||
MODPY_EGG_VERSION= 0.9.0
|
||||
MODPY_EGG_VERSION= 0.11.0
|
||||
GH_ACCOUNT= novnc
|
||||
GH_PROJECT= websockify
|
||||
GH_TAGNAME= v${MODPY_EGG_VERSION}
|
||||
REVISION= 3
|
||||
|
||||
CATEGORIES= net
|
||||
|
||||
|
@ -13,11 +12,9 @@ PERMIT_PACKAGE= Yes
|
|||
|
||||
MODULES= lang/python
|
||||
MODPY_PYBUILD= setuptools
|
||||
|
||||
RUN_DEPENDS= math/py-numpy${MODPY_FLAVOR}
|
||||
|
||||
# needs mox3 and jwcrypto for tests
|
||||
NO_TEST= Yes
|
||||
MODPY_PYTEST_ARGS= --ignore tests/test_token_plugins.py
|
||||
RUN_DEPENDS= math/py-numpy${MODPY_FLAVOR} \
|
||||
www/py-requests${MODPY_FLAVOR}
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}; env ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (websockify-0.9.0.tar.gz) = br/seR3Xi+ZYT7X+O8J/Aq9UUBvt34RXNoaZ9XHeE64=
|
||||
SIZE (websockify-0.9.0.tar.gz) = 58493
|
||||
SHA256 (websockify-0.11.0.tar.gz) = Yo3VhugIZc13XMQCuWz3X02qZHsP79wxNm0It3UwFr4=
|
||||
SIZE (websockify-0.11.0.tar.gz) = 55126
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
Index: tests/test_websockifyserver.py
|
||||
--- tests/test_websockifyserver.py.orig
|
||||
+++ tests/test_websockifyserver.py
|
||||
@@ -421,36 +421,3 @@ class WebSockifyServerTestCase(unittest.TestCase):
|
||||
lambda *args, **kwargs: None)
|
||||
self.stubs.Set(select, 'select', fake_select)
|
||||
@@ -365,36 +365,3 @@ class WebSockifyServerTestCase(unittest.TestCase):
|
||||
patch('websockify.websockifyserver.WebSockifyServer.daemonize').start()
|
||||
patch('select.select').start().side_effect = fake_select
|
||||
server.start_server()
|
||||
-
|
||||
- def test_socket_set_keepalive_options(self):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Index: websockify/websockifyserver.py
|
||||
--- websockify/websockifyserver.py.orig
|
||||
+++ websockify/websockifyserver.py
|
||||
@@ -469,15 +469,6 @@ class WebSockifyServer(object):
|
||||
@@ -451,15 +451,6 @@ class WebSockifyServer():
|
||||
|
||||
if tcp_keepalive:
|
||||
sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
|
||||
|
|
Loading…
Reference in New Issue