pkgsrc-Changes archive

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

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jun 24 07:30:18 UTC 2017

Modified Files:
        pkgsrc/www: Makefile
Added Files:
        pkgsrc/www/py-websockets: DESCR Makefile PLIST distinfo
        pkgsrc/www/py-websockets/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1251 -r1.1252 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-websockets/DESCR \
    pkgsrc/www/py-websockets/Makefile pkgsrc/www/py-websockets/PLIST \
    pkgsrc/www/py-websockets/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-websockets/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1251 pkgsrc/www/Makefile:1.1252
--- pkgsrc/www/Makefile:1.1251  Wed Jun 21 19:10:13 2017
+++ pkgsrc/www/Makefile Sat Jun 24 07:30:18 2017
@@ -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-waitress
 SUBDIR+=       py-webassets
 SUBDIR+=       py-webcolors
 SUBDIR+=       py-webpy
+SUBDIR+=       py-websockets
 SUBDIR+=       py-werkzeug
 SUBDIR+=       py-werkzeug-docs
 SUBDIR+=       py-wtforms

Added files:

Index: pkgsrc/www/py-websockets/DESCR
diff -u /dev/null pkgsrc/www/py-websockets/DESCR:1.1
--- /dev/null   Sat Jun 24 07:30:18 2017
+++ pkgsrc/www/py-websockets/DESCR      Sat Jun 24 07:30:18 2017
@@ -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.
Index: pkgsrc/www/py-websockets/Makefile
diff -u /dev/null pkgsrc/www/py-websockets/Makefile:1.1
--- /dev/null   Sat Jun 24 07:30:18 2017
+++ pkgsrc/www/py-websockets/Makefile   Sat Jun 24 07:30:18 2017
@@ -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"
Index: pkgsrc/www/py-websockets/PLIST
diff -u /dev/null pkgsrc/www/py-websockets/PLIST:1.1
--- /dev/null   Sat Jun 24 07:30:18 2017
+++ pkgsrc/www/py-websockets/PLIST      Sat Jun 24 07:30:18 2017
@@ -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
Index: pkgsrc/www/py-websockets/distinfo
diff -u /dev/null pkgsrc/www/py-websockets/distinfo:1.1
--- /dev/null   Sat Jun 24 07:30:18 2017
+++ pkgsrc/www/py-websockets/distinfo   Sat Jun 24 07:30:18 2017
@@ -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

Index: pkgsrc/www/py-websockets/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-websockets/patches/patch-setup.py:1.1
--- /dev/null   Sat Jun 24 07:30:18 2017
+++ pkgsrc/www/py-websockets/patches/patch-setup.py     Sat Jun 24 07:30:18 2017
@@ -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