forked from pool/python-hyperframe
Accepting request 489931 from home:alois:branches:devel:languages:python
Update to 5.0.0 OBS-URL: https://build.opensuse.org/request/show/489931 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hyperframe?expand=0&rev=3
This commit is contained in:
@@ -18,18 +18,20 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-hyperframe
|
||||
Version: 4.0.2
|
||||
Version: 5.0.0
|
||||
Release: 0
|
||||
Summary: HTTP/2 framing layer for Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://hyper.rtfd.org
|
||||
Source0: https://pypi.io/packages/source/h/hyperframe/hyperframe-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -47,10 +49,13 @@ stream into HTTP/2 frames.
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} -v
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README.rst CONTRIBUTORS.rst HISTORY.rst
|
||||
%{python_sitelib}/hyperframe
|
||||
%{python_sitelib}/hyperframe-%{version}-py%{py_ver}.egg-info
|
||||
%{python_sitelib}/hyperframe-%{version}-py%{python_version}.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user