Received: by mail.netbsd.org (Postfix, from userid 605) id 3D8E684DCC; Thu, 6 Feb 2020 20:41:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B7CBA84DC8 for ; Thu, 6 Feb 2020 20:41:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id J3P9235h5n9K for ; Thu, 6 Feb 2020 20:41:43 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0047F84DC7 for ; Thu, 6 Feb 2020 20:41:42 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id EE53CFBF4; Thu, 6 Feb 2020 20:41:42 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_158102170249290" MIME-Version: 1.0 Date: Thu, 6 Feb 2020 20:41:42 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/www/py-wsproto To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20200206204142.EE53CFBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_158102170249290 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Feb 6 20:41:42 UTC 2020 Modified Files: pkgsrc/www/py-wsproto: Makefile PLIST distinfo Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-wsproto/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-wsproto/PLIST cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-wsproto/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_158102170249290 Content-Disposition: inline Content-Length: 3653 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/py-wsproto/Makefile diff -u pkgsrc/www/py-wsproto/Makefile:1.4 pkgsrc/www/py-wsproto/Makefile:1.5 --- pkgsrc/www/py-wsproto/Makefile:1.4 Fri May 31 20:57:05 2019 +++ pkgsrc/www/py-wsproto/Makefile Thu Feb 6 20:41:42 2020 @@ -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" Index: pkgsrc/www/py-wsproto/PLIST diff -u pkgsrc/www/py-wsproto/PLIST:1.2 pkgsrc/www/py-wsproto/PLIST:1.3 --- pkgsrc/www/py-wsproto/PLIST:1.2 Sun Apr 7 15:58:32 2019 +++ pkgsrc/www/py-wsproto/PLIST Thu Feb 6 20:41:42 2020 @@ -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.tx ${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 Index: pkgsrc/www/py-wsproto/distinfo diff -u pkgsrc/www/py-wsproto/distinfo:1.3 pkgsrc/www/py-wsproto/distinfo:1.4 --- pkgsrc/www/py-wsproto/distinfo:1.3 Fri May 31 20:57:05 2019 +++ pkgsrc/www/py-wsproto/distinfo Thu Feb 6 20:41:42 2020 @@ -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 --_----------=_158102170249290--