pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-wsproto
Module Name: pkgsrc
Committed By: leot
Date: Mon Feb 26 12:09:18 UTC 2018
Added Files:
pkgsrc/www/py-wsproto: DESCR Makefile PLIST distinfo
pkgsrc/www/py-wsproto/patches: patch-setup.py
Log Message:
py-wsproto: Import py-wsproto-0.11.0 as www/py-wsproto
Pure-Python implementation of a WebSocket protocol stack. It's written from the
ground up to be embeddable in whatever program you choose to use, ensuring that
you can communicate via WebSockets, as defined in RFC6455, regardless of your
programming paradigm.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-wsproto/DESCR \
pkgsrc/www/py-wsproto/Makefile pkgsrc/www/py-wsproto/PLIST \
pkgsrc/www/py-wsproto/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-wsproto/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/www/py-wsproto/DESCR
diff -u /dev/null pkgsrc/www/py-wsproto/DESCR:1.1
--- /dev/null Mon Feb 26 12:09:18 2018
+++ pkgsrc/www/py-wsproto/DESCR Mon Feb 26 12:09:18 2018
@@ -0,0 +1,4 @@
+Pure-Python implementation of a WebSocket protocol stack. It's written from the
+ground up to be embeddable in whatever program you choose to use, ensuring that
+you can communicate via WebSockets, as defined in RFC6455, regardless of your
+programming paradigm.
Index: pkgsrc/www/py-wsproto/Makefile
diff -u /dev/null pkgsrc/www/py-wsproto/Makefile:1.1
--- /dev/null Mon Feb 26 12:09:18 2018
+++ pkgsrc/www/py-wsproto/Makefile Mon Feb 26 12:09:18 2018
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2018/02/26 12:09:18 leot Exp $
+
+DISTNAME= wsproto-0.11.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_PYPI:=w/wsproto/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://wsproto.readthedocs.io/
+COMMENT= Pure Python, pure state-machine WebSocket implementation
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-h11>=0.7.0:../../www/py-h11
+
+.include "../../lang/python/pyversion.mk"
+
+.if "${PYPKGPREFIX}" == "py27"
+DEPENDS+= ${PYPKGPREFIX}-enum34>=1.0.4:../../devel/py-enum34
+.endif
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-wsproto/PLIST
diff -u /dev/null pkgsrc/www/py-wsproto/PLIST:1.1
--- /dev/null Mon Feb 26 12:09:18 2018
+++ pkgsrc/www/py-wsproto/PLIST Mon Feb 26 12:09:18 2018
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/26 12:09:18 leot 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}/wsproto/__init__.py
+${PYSITELIB}/wsproto/__init__.pyc
+${PYSITELIB}/wsproto/__init__.pyo
+${PYSITELIB}/wsproto/compat.py
+${PYSITELIB}/wsproto/compat.pyc
+${PYSITELIB}/wsproto/compat.pyo
+${PYSITELIB}/wsproto/connection.py
+${PYSITELIB}/wsproto/connection.pyc
+${PYSITELIB}/wsproto/connection.pyo
+${PYSITELIB}/wsproto/events.py
+${PYSITELIB}/wsproto/events.pyc
+${PYSITELIB}/wsproto/events.pyo
+${PYSITELIB}/wsproto/extensions.py
+${PYSITELIB}/wsproto/extensions.pyc
+${PYSITELIB}/wsproto/extensions.pyo
+${PYSITELIB}/wsproto/frame_protocol.py
+${PYSITELIB}/wsproto/frame_protocol.pyc
+${PYSITELIB}/wsproto/frame_protocol.pyo
+${PYSITELIB}/wsproto/utf8validator.py
+${PYSITELIB}/wsproto/utf8validator.pyc
+${PYSITELIB}/wsproto/utf8validator.pyo
Index: pkgsrc/www/py-wsproto/distinfo
diff -u /dev/null pkgsrc/www/py-wsproto/distinfo:1.1
--- /dev/null Mon Feb 26 12:09:18 2018
+++ pkgsrc/www/py-wsproto/distinfo Mon Feb 26 12:09:18 2018
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/02/26 12:09:18 leot Exp $
+
+SHA1 (wsproto-0.11.0.tar.gz) = acfb9cd1c58ed2573843a6390d03fdfe808c6fed
+RMD160 (wsproto-0.11.0.tar.gz) = cdf698bd685916b2c27f1b40394174cd2773dcc0
+SHA512 (wsproto-0.11.0.tar.gz) = 583e030dc88971b3733e5e84e5fbaa70d6043d01485cabbbf45470baa31e4f511aea55e108132fc298aeae0031542af7bdd22b7ae25b11832179025a2fde4bdd
+Size (wsproto-0.11.0.tar.gz) = 41179 bytes
+SHA1 (patch-setup.py) = 6c229f58d9dd44a46322c849535a2d9ad657ac1d
Index: pkgsrc/www/py-wsproto/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-wsproto/patches/patch-setup.py:1.1
--- /dev/null Mon Feb 26 12:09:18 2018
+++ pkgsrc/www/py-wsproto/patches/patch-setup.py Mon Feb 26 12:09:18 2018
@@ -0,0 +1,19 @@
+$NetBSD: patch-setup.py,v 1.1 2018/02/26 12:09:18 leot Exp $
+
+Avoid too strict version requirements.
+
+--- setup.py.orig 2017-12-31 17:19:40.000000000 +0000
++++ setup.py
+@@ -47,10 +47,10 @@ setup(
+ 'Programming Language :: Python :: Implementation :: PyPy',
+ ],
+ install_requires=[
+- 'h11 ~= 0.7.0', # means: 0.7.x where x >= 0
++ 'h11>=0.7.0',
+ ],
+ extras_require={
+ ':python_version == "2.7" or python_version == "3.3"':
+- ['enum34>=1.0.4, <2'],
++ ['enum34>=1.0.4'],
+ }
+ )
Home |
Main Index |
Thread Index |
Old Index