15
0
forked from pool/python-hpack

- Upgrade to 4.0.0:

- remove pytest5.patch, which was included in the upstream tarball.
  - support for Python < 3.6 (including 2.7) has been removed.
  - support for Python 3.8 has been added.
  - Performance improvement of static header search. Use dict search
    instead of linear search.
  - Fix debug output of headers during encoding.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hpack?expand=0&rev=18
This commit is contained in:
2020-12-15 21:39:09 +00:00
committed by Git OBS Bridge
parent a0b6bc71a2
commit aaa39837a0
7 changed files with 28 additions and 38 deletions

View File

@@ -18,14 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-hpack
Version: 3.0.0
Version: 4.0.0
Release: 0
Summary: Pure-Python HPACK header compression
License: MIT
URL: https://github.com/python-hyper/hpack
Source: https://files.pythonhosted.org/packages/source/h/hpack/hpack-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/h/hpack/hpack-%{version}.tar.gz
Source1: test_fixtures.tar.xz
Patch0: healthcheck.patch
Patch1: pytest5.patch
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -40,8 +40,7 @@ Python programs that implement HTTP/2. It also contains a compatibility layer th
automatically enables the use of nghttp2 if its available.
%prep
%setup -q -n hpack-%{version}
%autopatch -p1
%autosetup -p1 -a1 -n hpack-%{version}
%build
export LC_ALL="en_US.UTF-8"
@@ -57,7 +56,7 @@ export LC_ALL="en_US.UTF-8"
%files %{python_files}
%license LICENSE
%doc HISTORY.rst CONTRIBUTORS.rst README.rst
%doc CHANGELOG.rst CONTRIBUTORS.rst README.rst
%{python_sitelib}/hpack
%{python_sitelib}/hpack-%{version}-py%{python_version}.egg-info