From e6a97335a8dc45b79da08f041e7825d80f035c5d Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 24 Jan 2022 14:27:04 +0000 Subject: py-h11: updated to 0.13.0 v0.13.0 (2022-01-19) Features - Clarify that the Headers class is a Sequence and inherit from the collections Sequence abstract base class to also indicate this (and gain the mixin methods). - Switch event classes to dataclasses for easier typing and slightly improved performance. - Shorten traceback of protocol errors for easier readability - Add typing including a PEP 561 marker for usage by type checkers - Expand the allowed status codes to [0, 999] from [0, 600] Backwards **in**\compatible changes - Ensure request method is a valid token --- www/py-h11/Makefile | 10 +++++++--- www/py-h11/PLIST | 4 +++- www/py-h11/distinfo | 8 ++++---- 3 files changed, 14 insertions(+), 8 deletions(-) (limited to 'www') diff --git a/www/py-h11/Makefile b/www/py-h11/Makefile index 9043ea36331..c7a0bd46a30 100644 --- a/www/py-h11/Makefile +++ b/www/py-h11/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2022/01/04 20:55:29 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2022/01/24 14:27:04 adam Exp $ -DISTNAME= h11-0.12.0 +DISTNAME= h11-0.13.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=h/h11/} @@ -15,5 +14,10 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +.include "../../lang/python/pyversion.mk" +.if ${_PYTHON_VERSION} < 38 +DEPENDS+= ${PYPKGPREFIX}-typing-extensions>0:../../devel/py-typing-extensions +.endif + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-h11/PLIST b/www/py-h11/PLIST index 4beb41a0879..dd8e0534811 100644 --- a/www/py-h11/PLIST +++ b/www/py-h11/PLIST @@ -1,7 +1,8 @@ -@comment $NetBSD: PLIST,v 1.2 2018/04/09 10:50:22 adam Exp $ +@comment $NetBSD: PLIST,v 1.3 2022/01/24 14:27:04 adam 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}/h11/__init__.py ${PYSITELIB}/h11/__init__.pyc @@ -36,6 +37,7 @@ ${PYSITELIB}/h11/_version.pyo ${PYSITELIB}/h11/_writers.py ${PYSITELIB}/h11/_writers.pyc ${PYSITELIB}/h11/_writers.pyo +${PYSITELIB}/h11/py.typed ${PYSITELIB}/h11/tests/__init__.py ${PYSITELIB}/h11/tests/__init__.pyc ${PYSITELIB}/h11/tests/__init__.pyo diff --git a/www/py-h11/distinfo b/www/py-h11/distinfo index c65b46eb4a1..921b2ef4649 100644 --- a/www/py-h11/distinfo +++ b/www/py-h11/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2021/10/26 11:30:41 nia Exp $ +$NetBSD: distinfo,v 1.10 2022/01/24 14:27:04 adam Exp $ -BLAKE2s (h11-0.12.0.tar.gz) = f695762742573bade18732618ba85e97b008d14492f876f41643865b4a9acb81 -SHA512 (h11-0.12.0.tar.gz) = ba2a2c185af270185ba5e1fd80ec9308e35afcd60a125a77cbeae2669f462983d063339371312f154a7c80c154ac97796ab36782b36549235435dcfd81b93421 -Size (h11-0.12.0.tar.gz) = 98121 bytes +BLAKE2s (h11-0.13.0.tar.gz) = 49b7eab8abf4d9d7130766ab1e3b12517b934079db0840d5e36795b18b6a9a36 +SHA512 (h11-0.13.0.tar.gz) = c3a16dd66287ab6491b664aab9d72e14f1e61950c19182d60e195b81b2857e47157c38137b2ee2a9cd35d9d54997f554f768a3933051030895ddf7bc5b813e02 +Size (h11-0.13.0.tar.gz) = 100165 bytes -- cgit v1.2.3