pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-wsproto py-wsproto: Import py-wsproto-0.11.0 as...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bac0a0efd3b7
branches: trunk
changeset: 376172:bac0a0efd3b7
user: leot <leot%pkgsrc.org@localhost>
date: Mon Feb 26 12:09:18 2018 +0000
description:
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.
diffstat:
www/py-wsproto/DESCR | 4 ++++
www/py-wsproto/Makefile | 24 ++++++++++++++++++++++++
www/py-wsproto/PLIST | 27 +++++++++++++++++++++++++++
www/py-wsproto/distinfo | 7 +++++++
www/py-wsproto/patches/patch-setup.py | 19 +++++++++++++++++++
5 files changed, 81 insertions(+), 0 deletions(-)
diffs (101 lines):
diff -r 3ac8c64e053b -r bac0a0efd3b7 www/py-wsproto/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-wsproto/DESCR Mon Feb 26 12:09:18 2018 +0000
@@ -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.
diff -r 3ac8c64e053b -r bac0a0efd3b7 www/py-wsproto/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-wsproto/Makefile Mon Feb 26 12:09:18 2018 +0000
@@ -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"
diff -r 3ac8c64e053b -r bac0a0efd3b7 www/py-wsproto/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-wsproto/PLIST Mon Feb 26 12:09:18 2018 +0000
@@ -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
diff -r 3ac8c64e053b -r bac0a0efd3b7 www/py-wsproto/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-wsproto/distinfo Mon Feb 26 12:09:18 2018 +0000
@@ -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
diff -r 3ac8c64e053b -r bac0a0efd3b7 www/py-wsproto/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-wsproto/patches/patch-setup.py Mon Feb 26 12:09:18 2018 +0000
@@ -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