pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-h2



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan  8 19:08:18 UTC 2020

Modified Files:
        pkgsrc/www/py-h2: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-h2/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-h2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-h2/Makefile
diff -u pkgsrc/www/py-h2/Makefile:1.5 pkgsrc/www/py-h2/Makefile:1.6
--- pkgsrc/www/py-h2/Makefile:1.5       Wed Jun 21 09:57:57 2017
+++ pkgsrc/www/py-h2/Makefile   Wed Jan  8 19:08:18 2020
@@ -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 @@ HOMEPAGE=   http://hyper.rtfd.org/
 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"

Index: pkgsrc/www/py-h2/distinfo
diff -u pkgsrc/www/py-h2/distinfo:1.4 pkgsrc/www/py-h2/distinfo:1.5
--- pkgsrc/www/py-h2/distinfo:1.4       Wed Jun 21 09:57:57 2017
+++ pkgsrc/www/py-h2/distinfo   Wed Jan  8 19:08:18 2020
@@ -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