python-hyperframe/python-hyperframe.spec

60 lines
1.7 KiB
RPMSpec
Raw Normal View History

2020-03-07 20:57:07 +08:00
Name: python-hyperframe
2021-07-28 15:14:16 +08:00
Version: 6.0.1
2022-04-01 17:05:52 +08:00
Release: 2
2020-03-07 20:57:07 +08:00
Summary: HTTP/2 framing layer for Python
2020-03-10 17:18:25 +08:00
2020-03-07 20:57:07 +08:00
License: MIT
URL: https://github.com/python-hyper/hyperframe
2021-07-28 15:14:16 +08:00
Source0: https://github.com/python-hyper/hyperframe/archive/refs/tags/v%{version}.tar.gz
2020-03-07 20:57:07 +08:00
BuildArch: noarch
2020-03-10 17:18:25 +08:00
BuildRequires: python3-devel python3dist(setuptools) python3dist(pytest)
2020-03-07 20:57:07 +08:00
%{?python_enable_dependency_generator}
%description
2020-03-10 17:18:25 +08:00
This library contains the HTTP/2 framing code used in the hyper project.It provides a
pure-python codebase that is capable of decoding a binary stream into HTTP/2 frames.
2020-03-07 20:57:07 +08:00
%package -n python3-hyperframe
Summary: HTTP/2 framing layer for Python
%{?python_provide:%python_provide python3-hyperframe}
%description -n python3-hyperframe
2020-03-10 17:18:25 +08:00
This library contains the HTTP/2 framing code used in the hyper project.It provides a
pure-python codebase that is capable of decoding a binary stream into HTTP/2 frames.
2020-03-07 20:57:07 +08:00
%prep
%autosetup -n hyperframe-%{version}
2020-03-10 17:18:25 +08:00
rm -rf hyperframe.egg-info
2020-03-07 20:57:07 +08:00
%build
%py3_build
%install
%py3_install
%check
2021-07-28 15:14:16 +08:00
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest
2020-03-07 20:57:07 +08:00
%files -n python3-hyperframe
%doc README.rst LICENSE
%{python3_sitelib}/hyperframe
2022-04-01 17:05:52 +08:00
%{python3_sitelib}/hyperframe-%{version}-py%{python3_version}.egg-info
2020-03-07 20:57:07 +08:00
%changelog
2022-04-01 17:05:52 +08:00
* Fri Apr 01 2022 xigaoxinyan <xigaoxinyan@huawei.com> - 6.0.1-2
- Fix build error caused by py3.10+ wildcard
2021-07-28 15:14:16 +08:00
* Wed Jul 28 2021 liyanan <liyanan32@huawei.com> - 6.0.1-1
- update to 6.0.1
2020-11-09 15:19:03 +08:00
* Mon Nov 09 2020 leiju <leiju4@huawei.com> - 5.2.0-3
- Remove python2 subpackage
2020-03-10 17:18:25 +08:00
* Tue Mar 10 2020 zhangtao <zhangtao221@huawei.com> - 5.2.0-2
- Package update
2020-11-09 15:19:03 +08:00
2020-03-07 20:57:07 +08:00
* Fri Mar 6 2020 zhangtao <zhangtao221@huawei.com> - 5.1.0-4
- Package init