!4 update to 4.0.0

From: @lyn1001
Reviewed-by: @myeuler
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2021-07-29 06:16:27 +00:00 committed by Gitee
commit e061cef2c7
3 changed files with 9 additions and 5 deletions

Binary file not shown.

BIN
h2-4.0.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,14 @@
Name: python-h2
Version: 3.1.0
Release: 5
Version: 4.0.0
Release: 1
Summary: A HTTP/2 protocol stack for Python
License: MIT
URL: http://hyper.rtfd.org
Source0: https://files.pythonhosted.org/packages/c9/08/109f814130177273afc06b1f9851084397c337b09cdc6f17172c00f3d02b/h2-3.1.0.tar.gz
Source0: https://files.pythonhosted.org/packages/05/b8/cc1692aab910c0319b7c35e03c043bdda1cfeff67fa25b555eb2864a36e3/h2-4.0.0.tar.gz
BuildArch: noarch
BuildRequires: (python3dist(hpack) >= 2.3 with python3dist(hpack) < 4) (python3dist(hyperframe) with python3dist(hyperframe) < 6)
BuildRequires: (python3dist(hpack) >= 4 with python3dist(hpack) < 5)
BuildRequires: (python3dist(hyperframe) >= 6 with python3dist(hyperframe) < 7)
BuildRequires: python3-devel python3dist(setuptools) python3dist(sphinx) python3dist(pytest) python3dist(hypothesis)
BuildRequires: js-jquery js-underscore
@ -59,7 +60,7 @@ ln -s /usr/share/javascript/jquery/3.2.1/jquery.js html/_static/jquery-3.2.1.js
%py3_install
%check
%{__python3} -m pytest
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest
%files -n python3-h2
%doc README.rst LICENSE
@ -70,6 +71,9 @@ ln -s /usr/share/javascript/jquery/3.2.1/jquery.js html/_static/jquery-3.2.1.js
%doc html LICENSE
%changelog
* Wed Jul 28 2021 liyanan <liyanan32@huawei.com> - 4.0.0-1
- update to 4.0.0
* Mon Oct 26 2020 maminjie <maminjie1@huawei.com> - 3.1.0-5
- Drop python2 support