pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-h2 py-h2: updated to 3.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73dff50df4f5
branches:  trunk
changeset: 347198:73dff50df4f5
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 08 19:08:18 2020 +0000

description:
py-h2: updated to 3.1.1

3.1.1:

Bugfixes
- Ignore WINDOW_UPDATE and RST_STREAM frames received after stream
  closure.


3.1.0:

API Changes (Backward-Incompatible)
- ``h2.connection.H2Connection.data_to_send`` first and only argument ``amt``
  was renamed to ``amount``.
- Support for Python 3.3 has been removed.

API Changes (Backward-Compatible)
- ``h2.connection.H2Connection.send_data`` now supports ``data`` parameter
  being a ``memoryview`` object.
- Refactor ping-related events: a ``h2.events.PingReceived`` event is fired
  when a PING frame is received and a ``h2.events.PingAckReceived`` event is
  fired when a PING frame with an ACK flag is received.
  ``h2.events.PingAcknowledged`` is deprecated in favour of the identical
  ``h2.events.PingAckReceived``.
- Added ``ENABLE_CONNECT_PROTOCOL`` to ``h2.settings.SettingCodes``.
- Support ``CONNECT`` requests with a ``:protocol`` pseudo header
  thereby supporting RFC 8441.
- A limit to the number of closed streams kept in memory by the
  connection is applied. It can be configured by
  ``h2.connection.H2Connection.MAX_CLOSED_STREAMS``.

Bugfixes
- Debug logging when stream_id is None is now fixed and no longer errors.

diffstat:

 www/py-h2/Makefile |  18 +++++++++++++-----
 www/py-h2/distinfo |  10 +++++-----
 2 files changed, 18 insertions(+), 10 deletions(-)

diffs (51 lines):

diff -r f3dd834c7ded -r 73dff50df4f5 www/py-h2/Makefile
--- a/www/py-h2/Makefile        Wed Jan 08 18:57:25 2020 +0000
+++ b/www/py-h2/Makefile        Wed Jan 08 19:08:18 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2017/06/21 09:57:57 adam Exp $
+# $NetBSD: Makefile,v 1.6 2020/01/08 19:08:18 adam Exp $
 
-DISTNAME=      h2-3.0.1
+DISTNAME=      h2-3.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    www
+CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/h2/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,10 +10,18 @@
 COMMENT=       HTTP/2 State-Machine based protocol implementation
 LICENSE=       mit
 
+DEPENDS+=      ${PYPKGPREFIX}-hyperframe>=5.2.0:../../www/py-hyperframe
+DEPENDS+=      ${PYPKGPREFIX}-hpack>=2.3:../../net/py-hpack
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-enum34>=1.1.6:../../devel/py-enum34
+.endif
+
 USE_LANGUAGES= # none
 
-DEPENDS+=      ${PYPKGPREFIX}-hyperframe>=3.1:../../www/py-hyperframe
-DEPENDS+=      ${PYPKGPREFIX}-hpack>=2.2:../../net/py-hpack
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f3dd834c7ded -r 73dff50df4f5 www/py-h2/distinfo
--- a/www/py-h2/distinfo        Wed Jan 08 18:57:25 2020 +0000
+++ b/www/py-h2/distinfo        Wed Jan 08 19:08:18 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/06/21 09:57:57 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/01/08 19:08:18 adam Exp $
 
-SHA1 (h2-3.0.1.tar.gz) = cf645989412368f6c925145e9e97f946b4e20ee4
-RMD160 (h2-3.0.1.tar.gz) = 209dbe04edb223e4408f4730cb7e0ef13a21c79e
-SHA512 (h2-3.0.1.tar.gz) = 4206ed9b298477b02cb4ae6be3f3e421225f14b25c327a324544f8ffe2246b949d8f1f0171f2c6821afb32aa7a8c1ac976e1221217c0296d0e6ebea8877f4d02
-Size (h2-3.0.1.tar.gz) = 2208816 bytes
+SHA1 (h2-3.1.1.tar.gz) = c3f8ec250f663f490e06f1c9133dc84ffd038a84
+RMD160 (h2-3.1.1.tar.gz) = b65a0b4dcc2ad03b1021648eb35d01b364fc7e1c
+SHA512 (h2-3.1.1.tar.gz) = 6595b23f5b76eab7cd8b29fc96c9014fc58fe2974b306a067d5a0f6e3d2ce51a3e582bffc0004910eac7246add4347ac62db714de8f7def8196a65836db50d24
+Size (h2-3.1.1.tar.gz) = 2214612 bytes



Home | Main Index | Thread Index | Old Index