pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-hpack py-hpack: updated to 4.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/553161de4f09
branches:  trunk
changeset: 440169:553161de4f09
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 03 18:09:10 2020 +0000

description:
py-hpack: 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.

Bugfixes
Performance improvement of static header search. Use dict search instead of linear search.
Fix debug output of headers during encoding.

diffstat:

 net/py-hpack/Makefile |  18 ++++++++++++++----
 net/py-hpack/PLIST    |   5 +----
 net/py-hpack/distinfo |  11 +++++------
 3 files changed, 20 insertions(+), 14 deletions(-)

diffs (69 lines):

diff -r fce98ea1defc -r 553161de4f09 net/py-hpack/Makefile
--- a/net/py-hpack/Makefile     Sat Oct 03 16:59:50 2020 +0000
+++ b/net/py-hpack/Makefile     Sat Oct 03 18:09:10 2020 +0000
@@ -1,16 +1,26 @@
-# $NetBSD: Makefile,v 1.5 2017/04/14 13:08:15 leot Exp $
+# $NetBSD: Makefile,v 1.6 2020/10/03 18:09:10 adam Exp $
 
-DISTNAME=      hpack-3.0.0
+DISTNAME=      hpack-4.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    net
+CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hpack/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://hyper.rtfd.org/
+HOMEPAGE=      https://github.com/python-hyper/hpack
 COMMENT=       Pure-Python HPACK header compression
 LICENSE=       mit
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
 USE_LANGUAGES= # none
 
+PYSETUPTESTTARGET=     pytest
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+pre-test:
+       ${MKDIR} ${WRKSRC}/test/test_fixtures/raw-data
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r fce98ea1defc -r 553161de4f09 net/py-hpack/PLIST
--- a/net/py-hpack/PLIST        Sat Oct 03 16:59:50 2020 +0000
+++ b/net/py-hpack/PLIST        Sat Oct 03 18:09:10 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/04/14 13:08:15 leot Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/10/03 18:09:10 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -6,9 +6,6 @@
 ${PYSITELIB}/hpack/__init__.py
 ${PYSITELIB}/hpack/__init__.pyc
 ${PYSITELIB}/hpack/__init__.pyo
-${PYSITELIB}/hpack/compat.py
-${PYSITELIB}/hpack/compat.pyc
-${PYSITELIB}/hpack/compat.pyo
 ${PYSITELIB}/hpack/exceptions.py
 ${PYSITELIB}/hpack/exceptions.pyc
 ${PYSITELIB}/hpack/exceptions.pyo
diff -r fce98ea1defc -r 553161de4f09 net/py-hpack/distinfo
--- a/net/py-hpack/distinfo     Sat Oct 03 16:59:50 2020 +0000
+++ b/net/py-hpack/distinfo     Sat Oct 03 18:09:10 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/04/14 13:08:15 leot Exp $
+$NetBSD: distinfo,v 1.6 2020/10/03 18:09:10 adam Exp $
 
-SHA1 (hpack-3.0.0.tar.gz) = d230ec65b27dc18e545f90fe9f804586666de890
-RMD160 (hpack-3.0.0.tar.gz) = 3aa077f29a21fb1cd06a3fccd7b05709591f57f9
-SHA512 (hpack-3.0.0.tar.gz) = ffac4bdf19f8826027d8f89fe07e1837eacabbf18d1ff18e0cb13505c6714afd62125aa5cc594c75273725be71cc6e17b2315257fabb7779ce51de8c877267a3
-Size (hpack-3.0.0.tar.gz) = 43321 bytes
-SHA1 (patch-setup.py) = 2f72bac372d14182f4a553904d8db588d40aaa91
+SHA1 (hpack-4.0.0.tar.gz) = 5f4432e5ca99075562d1b4734d4ee0f4a7aef0d3
+RMD160 (hpack-4.0.0.tar.gz) = 6aedf9f459392ec55f894bd5549e181764c1799b
+SHA512 (hpack-4.0.0.tar.gz) = 7a303d00176288cefb4b9c562aad8d15f4e15865d6f6c8c8a086cc2ebf605547c5b2ca0498ba24d758f0a9e37877b585de1b55b232eae271b9eaf2d1238106ca
+Size (hpack-4.0.0.tar.gz) = 49117 bytes



Home | Main Index | Thread Index | Old Index