pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www websockets is a library for developing WebSocket s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86711afb8f23
branches:  trunk
changeset: 364427:86711afb8f23
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jun 24 07:30:18 2017 +0000

description:
websockets is a library for developing WebSocket servers and clients in
Python. It implements RFC 6455 with a focus on correctness and simplicity.
It passes the Autobahn Testsuite.

Built on top of Python's asynchronous I/O support introduced in PEP 3156,
it provides an API based on coroutines, making it easy to write highly
concurrent applications.

diffstat:

 www/Makefile                             |   3 +-
 www/py-websockets/DESCR                  |   7 +++
 www/py-websockets/Makefile               |  16 +++++++
 www/py-websockets/PLIST                  |  66 ++++++++++++++++++++++++++++++++
 www/py-websockets/distinfo               |   7 +++
 www/py-websockets/patches/patch-setup.py |  20 +++++++++
 6 files changed, 118 insertions(+), 1 deletions(-)

diffs (153 lines):

diff -r d1c84a0f3798 -r 86711afb8f23 www/Makefile
--- a/www/Makefile      Sat Jun 24 07:19:44 2017 +0000
+++ b/www/Makefile      Sat Jun 24 07:30:18 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1251 2017/06/21 19:10:13 adam Exp $
+# $NetBSD: Makefile,v 1.1252 2017/06/24 07:30:18 adam Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -741,6 +741,7 @@
 SUBDIR+=       py-webassets
 SUBDIR+=       py-webcolors
 SUBDIR+=       py-webpy
+SUBDIR+=       py-websockets
 SUBDIR+=       py-werkzeug
 SUBDIR+=       py-werkzeug-docs
 SUBDIR+=       py-wtforms
diff -r d1c84a0f3798 -r 86711afb8f23 www/py-websockets/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-websockets/DESCR   Sat Jun 24 07:30:18 2017 +0000
@@ -0,0 +1,7 @@
+websockets is a library for developing WebSocket servers and clients in
+Python. It implements RFC 6455 with a focus on correctness and simplicity.
+It passes the Autobahn Testsuite.
+
+Built on top of Python's asynchronous I/O support introduced in PEP 3156,
+it provides an API based on coroutines, making it easy to write highly
+concurrent applications.
diff -r d1c84a0f3798 -r 86711afb8f23 www/py-websockets/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-websockets/Makefile        Sat Jun 24 07:30:18 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/06/24 07:30:18 adam Exp $
+
+DISTNAME=      websockets-3.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=w/websockets/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/aaugustin/websockets
+COMMENT=       Implementation of the WebSocket Protocol (RFC 6455)
+LICENSE=       modified-bsd
+
+PYTHON_VERSIONS_ACCEPTED=      36 35 34
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d1c84a0f3798 -r 86711afb8f23 www/py-websockets/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-websockets/PLIST   Sat Jun 24 07:30:18 2017 +0000
@@ -0,0 +1,66 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/24 07:30:18 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/websockets/__init__.py
+${PYSITELIB}/websockets/__init__.pyc
+${PYSITELIB}/websockets/__init__.pyo
+${PYSITELIB}/websockets/client.py
+${PYSITELIB}/websockets/client.pyc
+${PYSITELIB}/websockets/client.pyo
+${PYSITELIB}/websockets/compatibility.py
+${PYSITELIB}/websockets/compatibility.pyc
+${PYSITELIB}/websockets/compatibility.pyo
+${PYSITELIB}/websockets/exceptions.py
+${PYSITELIB}/websockets/exceptions.pyc
+${PYSITELIB}/websockets/exceptions.pyo
+${PYSITELIB}/websockets/framing.py
+${PYSITELIB}/websockets/framing.pyc
+${PYSITELIB}/websockets/framing.pyo
+${PYSITELIB}/websockets/handshake.py
+${PYSITELIB}/websockets/handshake.pyc
+${PYSITELIB}/websockets/handshake.pyo
+${PYSITELIB}/websockets/http.py
+${PYSITELIB}/websockets/http.pyc
+${PYSITELIB}/websockets/http.pyo
+${PYSITELIB}/websockets/protocol.py
+${PYSITELIB}/websockets/protocol.pyc
+${PYSITELIB}/websockets/protocol.pyo
+${PYSITELIB}/websockets/py35/__init__.py
+${PYSITELIB}/websockets/py35/__init__.pyc
+${PYSITELIB}/websockets/py35/__init__.pyo
+${PYSITELIB}/websockets/py35/client.py
+${PYSITELIB}/websockets/py35/client.pyc
+${PYSITELIB}/websockets/py35/client.pyo
+${PYSITELIB}/websockets/py35/client_server.py
+${PYSITELIB}/websockets/py35/client_server.pyc
+${PYSITELIB}/websockets/py35/client_server.pyo
+${PYSITELIB}/websockets/server.py
+${PYSITELIB}/websockets/server.pyc
+${PYSITELIB}/websockets/server.pyo
+${PYSITELIB}/websockets/test_client_server.py
+${PYSITELIB}/websockets/test_client_server.pyc
+${PYSITELIB}/websockets/test_client_server.pyo
+${PYSITELIB}/websockets/test_framing.py
+${PYSITELIB}/websockets/test_framing.pyc
+${PYSITELIB}/websockets/test_framing.pyo
+${PYSITELIB}/websockets/test_handshake.py
+${PYSITELIB}/websockets/test_handshake.pyc
+${PYSITELIB}/websockets/test_handshake.pyo
+${PYSITELIB}/websockets/test_http.py
+${PYSITELIB}/websockets/test_http.pyc
+${PYSITELIB}/websockets/test_http.pyo
+${PYSITELIB}/websockets/test_protocol.py
+${PYSITELIB}/websockets/test_protocol.pyc
+${PYSITELIB}/websockets/test_protocol.pyo
+${PYSITELIB}/websockets/test_uri.py
+${PYSITELIB}/websockets/test_uri.pyc
+${PYSITELIB}/websockets/test_uri.pyo
+${PYSITELIB}/websockets/uri.py
+${PYSITELIB}/websockets/uri.pyc
+${PYSITELIB}/websockets/uri.pyo
+${PYSITELIB}/websockets/version.py
+${PYSITELIB}/websockets/version.pyc
+${PYSITELIB}/websockets/version.pyo
diff -r d1c84a0f3798 -r 86711afb8f23 www/py-websockets/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-websockets/distinfo        Sat Jun 24 07:30:18 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/06/24 07:30:18 adam Exp $
+
+SHA1 (websockets-3.3.tar.gz) = ab9a51b180e8ff557f49befb673bb5f21778b532
+RMD160 (websockets-3.3.tar.gz) = c97794ae8eace7c19f3b3041337044e6ce1d153b
+SHA512 (websockets-3.3.tar.gz) = 6f73a854bd00e7066c7a167eb218edcbed3eadfbe1f08d6d164192b0b2cd10263666eb55884cd8e1ddba08edf3bf951fc5ddb99fd32aa23ce4e5e2ad69b3ce8a
+Size (websockets-3.3.tar.gz) = 33852 bytes
+SHA1 (patch-setup.py) = 8cecab543470a7b9545d04de589dcd3b4deda7f9
diff -r d1c84a0f3798 -r 86711afb8f23 www/py-websockets/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-websockets/patches/patch-setup.py  Sat Jun 24 07:30:18 2017 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-setup.py,v 1.1 2017/06/24 07:30:18 adam Exp $
+
+Don't rely on UTF-8 being the default system encoding.
+https://github.com/aaugustin/websockets/commit/53f61fa9c4c3ba10789a1de86aa7a69b8f623414
+
+--- setup.py.orig      2017-06-24 07:24:21.000000000 +0000
++++ setup.py
+@@ -7,10 +7,10 @@ root_dir = os.path.abspath(os.path.dirna
+ 
+ description = "An implementation of the WebSocket Protocol (RFC 6455)"
+ 
+-with open(os.path.join(root_dir, 'README.rst')) as f:
++with open(os.path.join(root_dir, 'README.rst'), encoding='utf-8') as f:
+     long_description = f.read()
+ 
+-with open(os.path.join(root_dir, 'websockets', 'version.py')) as f:
++with open(os.path.join(root_dir, 'websockets', 'version.py'), encoding='utf-8') as f:
+     exec(f.read())
+ 
+ py_version = sys.version_info[:2]



Home | Main Index | Thread Index | Old Index