diff options
author | adam <adam@pkgsrc.org> | 2020-02-06 20:41:42 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-02-06 20:41:42 +0000 |
commit | ca3e05afe2cd37906d7446e7e4c057cb42e7480a (patch) | |
tree | 01c34c337804dbe647d80d518a03b220d8be49d6 /www/py-wsproto | |
parent | 56e559a488693569677e6683c2f22365b73a3359 (diff) | |
download | pkgsrc-ca3e05afe2cd37906d7446e7e4c057cb42e7480a.tar.gz |
py-wsproto: updated to 0.15.0
0.15.0:
* Drop support for Python 2. Please pin to ~= 0.14.0 if you support
Python 2.
* Drop support for Python 3.5, meaning the minimum supported version
is Python 3.6.1.
* Switch events to be dataclass based, otherwise the API is
consistent.
* Add type hints throughout and support PEP 561 via a py.typed
file. This should allow projects that use wsproto to type check their
usage of wsproto.
* Bugfix prevent the test folder being installed as a package called
test.
* Explicitly require Host header in handshake.
* Drop wsaccel support and utilise the aiohttp/@willmcgugan masking
method. wsaccel is unmaintained and this new maksing method is
almost as quick.
Diffstat (limited to 'www/py-wsproto')
-rw-r--r-- | www/py-wsproto/Makefile | 13 | ||||
-rw-r--r-- | www/py-wsproto/PLIST | 12 | ||||
-rw-r--r-- | www/py-wsproto/distinfo | 10 |
3 files changed, 15 insertions, 20 deletions
diff --git a/www/py-wsproto/Makefile b/www/py-wsproto/Makefile index 53dd909a7b8..52d08540c37 100644 --- a/www/py-wsproto/Makefile +++ b/www/py-wsproto/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2019/05/31 20:57:05 adam Exp $ +# $NetBSD: Makefile,v 1.5 2020/02/06 20:41:42 adam Exp $ -DISTNAME= wsproto-0.14.1 +DISTNAME= wsproto-0.15.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=w/wsproto/} @@ -10,17 +10,14 @@ HOMEPAGE= https://wsproto.readthedocs.io/ COMMENT= Pure Python, pure state-machine WebSocket implementation LICENSE= mit -DEPENDS+= ${PYPKGPREFIX}-h11>=0.7.0:../../www/py-h11 +DEPENDS+= ${PYPKGPREFIX}-h11>=0.8.1:../../www/py-h11 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner -.include "../../lang/python/pyversion.mk" -.if ${_PYTHON_VERSION} == 27 -DEPENDS+= ${PYPKGPREFIX}-enum34>=1.0.4:../../devel/py-enum34 -.endif - USE_LANGUAGES= # none PYSETUPTESTTARGET= pytest +PYTHON_VERSIONS_INCOMPATIBLE= 27 + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-wsproto/PLIST b/www/py-wsproto/PLIST index 804e40e0b6d..34610ae374e 100644 --- a/www/py-wsproto/PLIST +++ b/www/py-wsproto/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2019/04/07 15:58:32 adam Exp $ +@comment $NetBSD: PLIST,v 1.3 2020/02/06 20:41:42 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -7,9 +7,6 @@ ${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 @@ -25,9 +22,10 @@ ${PYSITELIB}/wsproto/frame_protocol.pyo ${PYSITELIB}/wsproto/handshake.py ${PYSITELIB}/wsproto/handshake.pyc ${PYSITELIB}/wsproto/handshake.pyo -${PYSITELIB}/wsproto/utf8validator.py -${PYSITELIB}/wsproto/utf8validator.pyc -${PYSITELIB}/wsproto/utf8validator.pyo +${PYSITELIB}/wsproto/py.typed +${PYSITELIB}/wsproto/typing.py +${PYSITELIB}/wsproto/typing.pyc +${PYSITELIB}/wsproto/typing.pyo ${PYSITELIB}/wsproto/utilities.py ${PYSITELIB}/wsproto/utilities.pyc ${PYSITELIB}/wsproto/utilities.pyo diff --git a/www/py-wsproto/distinfo b/www/py-wsproto/distinfo index daba664360a..f42c8398ae0 100644 --- a/www/py-wsproto/distinfo +++ b/www/py-wsproto/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2019/05/31 20:57:05 adam Exp $ +$NetBSD: distinfo,v 1.4 2020/02/06 20:41:42 adam Exp $ -SHA1 (wsproto-0.14.1.tar.gz) = 56c431cd818dd68798554c70443f5034cd7b26bd -RMD160 (wsproto-0.14.1.tar.gz) = cfe0d3fa8434955c52d46b5288060973f391fdf6 -SHA512 (wsproto-0.14.1.tar.gz) = 49f6672df67b620b7496a3141441c88467de07cb7451d4822922609796cfbc9d4b7361a5148c09fa82fb4af90547ff3f5d68e307f239a2495db834dc8bd7f429 -Size (wsproto-0.14.1.tar.gz) = 51640 bytes +SHA1 (wsproto-0.15.0.tar.gz) = f0b1bddbfb92646146dc1b9231ce2ebe55b041b8 +RMD160 (wsproto-0.15.0.tar.gz) = fc36f9573aaf7872e8edd681780d4e93f1e49e87 +SHA512 (wsproto-0.15.0.tar.gz) = c9666ec65374181da762f460f0c394a5bb599f8a0666989fb2d53e5e8822f5ebdd28eae3098e115d5bbacf6d6e1dd33a9cfeb808d569e1a01025eefaff18c531 +Size (wsproto-0.15.0.tar.gz) = 51765 bytes |