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 4.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c3093dcbb703
branches:  trunk
changeset: 440171:c3093dcbb703
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 03 18:11:14 2020 +0000

description:
py-h2: updated to 4.0.0

4.0.0:
API Changes (Backward-Incompatible)
Support for Python 2.7 has been removed.
Support for Python 3.4 has been removed.
Support for Python 3.5 has been removed.
Support for PyPy (Python 2.7 compatible) has been removed.
Support for Python 3.8 has been added.
Receiving DATA before HEADERS now raises a ProtocolError (see https://tools.ietf.org/html/rfc7540#section-8.1)

diffstat:

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

diffs (57 lines):

diff -r 3256b49d93fc -r c3093dcbb703 www/py-h2/Makefile
--- a/www/py-h2/Makefile        Sat Oct 03 18:10:19 2020 +0000
+++ b/www/py-h2/Makefile        Sat Oct 03 18:11:14 2020 +0000
@@ -1,29 +1,24 @@
-# $NetBSD: Makefile,v 1.8 2020/05/17 20:18:36 adam Exp $
+# $NetBSD: Makefile,v 1.9 2020/10/03 18:11:14 adam Exp $
 
-DISTNAME=      h2-3.2.0
+DISTNAME=      h2-4.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/h2/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://hyper.rtfd.org/
+HOMEPAGE=      https://github.com/python-hyper/hyper-h2
 COMMENT=       HTTP/2 State-Machine based protocol implementation
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-hyperframe>=5.2.0:../../www/py-hyperframe
-DEPENDS+=      ${PYPKGPREFIX}-hpack>=3.0:../../net/py-hpack
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-enum34>=1.1.6:../../devel/py-enum34
-.endif
-
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+DEPENDS+=      ${PYPKGPREFIX}-hyperframe>=6.0.0:../../www/py-hyperframe
+DEPENDS+=      ${PYPKGPREFIX}-hpack>=4.0:../../net/py-hpack
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
-do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test
+PYSETUPTESTTARGET=     pytest
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3256b49d93fc -r c3093dcbb703 www/py-h2/distinfo
--- a/www/py-h2/distinfo        Sat Oct 03 18:10:19 2020 +0000
+++ b/www/py-h2/distinfo        Sat Oct 03 18:11:14 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2020/02/17 12:12:37 adam Exp $
+$NetBSD: distinfo,v 1.7 2020/10/03 18:11:14 adam Exp $
 
-SHA1 (h2-3.2.0.tar.gz) = 711cef417af279a30f226b49d4d4bb4fe665c43b
-RMD160 (h2-3.2.0.tar.gz) = 21731cd61668464d4a69b39a5fad657bb760a83f
-SHA512 (h2-3.2.0.tar.gz) = c955fffb2f7ff05a2e734a0d7266a695cdde0182cbbc05f55f36d60b726ebc1e593aadee4709d1a69728dcf1396000f88bd7a215f4906a1f3c8b1936be15b958
-Size (h2-3.2.0.tar.gz) = 2215889 bytes
+SHA1 (h2-4.0.0.tar.gz) = 2d23cc9a7c8cbae068ffff7a933133b0318c9caf
+RMD160 (h2-4.0.0.tar.gz) = 0807fb5a8aa8294662413269879ec80e7871d410
+SHA512 (h2-4.0.0.tar.gz) = d93adc2fe1d2b13eb9013cb4e11be203b04b2b51bf47f4890513815c62e4765d6695980cd561f5b6d50e4b55074f209559186af3a82bea1761b7e383f5267bd4
+Size (h2-4.0.0.tar.gz) = 2143850 bytes



Home | Main Index | Thread Index | Old Index