package/python-hpack: bump to version 4.0.0

- Drop patch (HISTORY.rst removed)
- Update site in Config.in
- python 2.7 has been dropped
- Update indentation in hash file (two spaces)

https://github.com/python-hyper/hpack/blob/v4.0.0/CHANGELOG.rst

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-01-12 22:28:46 +01:00 committed by Thomas Petazzoni
parent 23e4fbecb3
commit b4e3ef223f
4 changed files with 8 additions and 47 deletions

View File

@ -1,40 +0,0 @@
From 3d195f4f599f37c89419f1db1302f94acb38c264 Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <yegorslists@googlemail.com>
Date: Tue, 1 Aug 2017 10:15:33 +0200
Subject: [PATCH] Convert HISTORY.rst from UTF-8 format to ASCII
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
UTF-8 formatted file breaks installations on some systems:
Traceback (most recent call last):
File "setup.py", line 34, in <module>
long_description=open('README.rst').read() + '\n\n' + open('HISTORY.rst').read(),
File "/home/peko/autobuild/instance-1/output/target/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1125: ordinal not in range(128)
To fix this error just replace '§' with 'S' meaning 'Section'.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
HISTORY.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/HISTORY.rst b/HISTORY.rst
index 37b2d9c..b9310f5 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -27,7 +27,7 @@ Release History
- HPACK now tolerates receiving multiple header table size changes in sequence,
rather than only one.
- HPACK now forbids header table size changes anywhere but first in a header
- block, as required by RFC 7541 § 4.2.
+ block, as required by RFC 7541 S 4.2.
- Other miscellaneous performance improvements.
2.3.0 (2016-08-04)
--
2.11.0

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_PYTHON_HPACK
bool "python-hpack"
depends on BR2_PACKAGE_PYTHON3
help
Pure-Python HPACK header compression.
http://hyper.rtfd.org
https://github.com/python-hyper/hpack

View File

@ -1,5 +1,5 @@
# md5 from https://pypi.python.org/pypi/hpack/json
md5 556b0ae66180f54c2ce8029a0952088b hpack-3.0.0.tar.gz
# Locally computed
sha256 8eec9c1f4bfae3408a3f30500261f7e6a65912dc138526ea054f9ad98892e9d2 hpack-3.0.0.tar.gz
# md5, sha256 from https://pypi.org/pypi/hpack/json
md5 27e01514ef06dc9fa0798d3dcb7de47c hpack-4.0.0.tar.gz
sha256 fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095 hpack-4.0.0.tar.gz
# Locally computed sha256 checksums
sha256 763a9342a04df62046c9dc748a5287934eb0a5331c6863b3ca0aee20e18cb4ed LICENSE

View File

@ -4,9 +4,9 @@
#
################################################################################
PYTHON_HPACK_VERSION = 3.0.0
PYTHON_HPACK_VERSION = 4.0.0
PYTHON_HPACK_SOURCE = hpack-$(PYTHON_HPACK_VERSION).tar.gz
PYTHON_HPACK_SITE = https://pypi.python.org/packages/44/f1/b4440e46e265a29c0cb7b09b6daec6edf93c79eae713cfed93fbbf8716c5
PYTHON_HPACK_SITE = https://files.pythonhosted.org/packages/3e/9b/fda93fb4d957db19b0f6b370e79d586b3e8528b20252c729c476a2c02954
PYTHON_HPACK_SETUP_TYPE = setuptools
PYTHON_HPACK_LICENSE = MIT
PYTHON_HPACK_LICENSE_FILES = LICENSE