pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-wsproto: Import py-wsproto-0.11.0 as wip/py-wsproto
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Thu Feb 22 21:42:27 2018 +0100
Changeset: 4e4a402b2718e0c527554be278bbea891fbdfec1
Modified Files:
Makefile
Added Files:
py-wsproto/DESCR
py-wsproto/Makefile
py-wsproto/PLIST
py-wsproto/distinfo
py-wsproto/patches/patch-setup.py
Log Message:
py-wsproto: Import py-wsproto-0.11.0 as wip/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 see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4e4a402b2718e0c527554be278bbea891fbdfec1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-wsproto/DESCR | 4 ++++
py-wsproto/Makefile | 24 ++++++++++++++++++++++++
py-wsproto/PLIST | 27 +++++++++++++++++++++++++++
py-wsproto/distinfo | 7 +++++++
py-wsproto/patches/patch-setup.py | 19 +++++++++++++++++++
6 files changed, 82 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 9936582986..a2e48a82d3 100644
--- a/Makefile
+++ b/Makefile
@@ -3886,6 +3886,7 @@ SUBDIR+= py-wpull
SUBDIR+= py-wqio
SUBDIR+= py-wsgi-intercept
SUBDIR+= py-wsgiref
+SUBDIR+= py-wsproto
SUBDIR+= py-wxWidgets-unicode
SUBDIR+= py-xarray
SUBDIR+= py-xcal-raman
diff --git a/py-wsproto/DESCR b/py-wsproto/DESCR
new file mode 100644
index 0000000000..36bef416e8
--- /dev/null
+++ b/py-wsproto/DESCR
@@ -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 --git a/py-wsproto/Makefile b/py-wsproto/Makefile
new file mode 100644
index 0000000000..598879447f
--- /dev/null
+++ b/py-wsproto/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.5 2017/06/21 09:57:57 adam 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:../../wip/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 --git a/py-wsproto/PLIST b/py-wsproto/PLIST
new file mode 100644
index 0000000000..ccd2cd46c7
--- /dev/null
+++ b/py-wsproto/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD$
+${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 --git a/py-wsproto/distinfo b/py-wsproto/distinfo
new file mode 100644
index 0000000000..7a75c6e3f0
--- /dev/null
+++ b/py-wsproto/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.4 2017/06/21 09:57:57 adam 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 --git a/py-wsproto/patches/patch-setup.py b/py-wsproto/patches/patch-setup.py
new file mode 100644
index 0000000000..9172edb1c6
--- /dev/null
+++ b/py-wsproto/patches/patch-setup.py
@@ -0,0 +1,19 @@
+$NetBSD$
+
+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