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: updated to 0.15.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/96cbb403c38f
branches: trunk
changeset: 422929:96cbb403c38f
user: adam <adam%pkgsrc.org@localhost>
date: Thu Feb 06 20:41:42 2020 +0000
description:
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:
www/py-wsproto/Makefile | 13 +++++--------
www/py-wsproto/PLIST | 12 +++++-------
www/py-wsproto/distinfo | 10 +++++-----
3 files changed, 15 insertions(+), 20 deletions(-)
diffs (81 lines):
diff -r 9d3f86642233 -r 96cbb403c38f www/py-wsproto/Makefile
--- a/www/py-wsproto/Makefile Thu Feb 06 20:21:02 2020 +0000
+++ b/www/py-wsproto/Makefile Thu Feb 06 20:41:42 2020 +0000
@@ -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 @@
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 -r 9d3f86642233 -r 96cbb403c38f www/py-wsproto/PLIST
--- a/www/py-wsproto/PLIST Thu Feb 06 20:21:02 2020 +0000
+++ b/www/py-wsproto/PLIST Thu Feb 06 20:41:42 2020 +0000
@@ -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}/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/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 -r 9d3f86642233 -r 96cbb403c38f www/py-wsproto/distinfo
--- a/www/py-wsproto/distinfo Thu Feb 06 20:21:02 2020 +0000
+++ b/www/py-wsproto/distinfo Thu Feb 06 20:41:42 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index