17
0

- Update to 5.2.0:

* Add a new ENABLE_CONNECT_PROTOCOL settings paramter.
  * Fix collections.abc deprecation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hyperframe?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal
2019-03-26 14:00:44 +00:00
committed by Git OBS Bridge
parent 8e79f6ecdc
commit 3ef697da5a
4 changed files with 16 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-hyperframe
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-hyperframe
Version: 5.1.0
Version: 5.2.0
Release: 0
Summary: HTTP/2 framing layer for Python
License: MIT
Group: Development/Languages/Python
URL: http://hyper.rtfd.org
URL: https://github.com/python-hyper/hyperframe
Source0: https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-%{version}.tar.gz
# test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -45,10 +45,10 @@ stream into HTTP/2 frames.
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} -v
%pytest
%files %{python_files}
%license LICENSE