pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-h11 py-h11: updated to 0.13.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42e36719c90e
branches:  trunk
changeset: 372411:42e36719c90e
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jan 24 14:27:04 2022 +0000

description:
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

diffstat:

 www/py-h11/Makefile |  10 +++++++---
 www/py-h11/PLIST    |   4 +++-
 www/py-h11/distinfo |   8 ++++----
 3 files changed, 14 insertions(+), 8 deletions(-)

diffs (59 lines):

diff -r 80ef5513dedf -r 42e36719c90e www/py-h11/Makefile
--- a/www/py-h11/Makefile       Mon Jan 24 14:14:13 2022 +0000
+++ b/www/py-h11/Makefile       Mon Jan 24 14:27:04 2022 +0000
@@ -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 @@
 
 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 -r 80ef5513dedf -r 42e36719c90e www/py-h11/PLIST
--- a/www/py-h11/PLIST  Mon Jan 24 14:14:13 2022 +0000
+++ b/www/py-h11/PLIST  Mon Jan 24 14:27:04 2022 +0000
@@ -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/_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 -r 80ef5513dedf -r 42e36719c90e www/py-h11/distinfo
--- a/www/py-h11/distinfo       Mon Jan 24 14:14:13 2022 +0000
+++ b/www/py-h11/distinfo       Mon Jan 24 14:27:04 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index