forked from pool/python-h2
- Add patch to fix building with pytest5 pytest5.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
a1f04bb71d
commit
0740fc12e8
@@ -25,17 +25,19 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/python-hyper/hyper-h2
|
||||
Source0: https://files.pythonhosted.org/packages/source/h/h2/h2-%{version}.tar.gz
|
||||
# test requirements
|
||||
BuildRequires: %{python_module coverage}
|
||||
Patch0: pytest5.patch
|
||||
BuildRequires: %{python_module hpack >= 2.3}
|
||||
BuildRequires: %{python_module hyperframe >= 5.2.0}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
# https://github.com/python-hyper/hyper-h2/issues/1194
|
||||
BuildRequires: %{python_module pytest < 5.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-enum34 >= 1.1.6
|
||||
BuildRequires: python-rpm-macros
|
||||
%ifpython2
|
||||
Requires: python-enum34 >= 1.1.6
|
||||
%endif
|
||||
Requires: python-hpack >= 2.3
|
||||
Requires: python-hyperframe >= 5.2.0
|
||||
BuildArch: noarch
|
||||
@@ -49,6 +51,7 @@ your programming paradigm.
|
||||
|
||||
%prep
|
||||
%setup -q -n h2-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user