a34c99c
# Created by pyp2rpm-3.3.2
a34c99c
%global pypi_name hpack
a34c99c
a34c99c
%global common_description %{expand:
a34c99c
HTTP/2 Header Encoding for Python This module contains a pure-Python
a34c99c
HTTP/2 header encoding (HPACK) logic for use in Python programs that implement
a34c99c
HTTP/2. It also contains a compatibility layer that automatically enables the
a34c99c
use of nghttp2 if it's available.}
a34c99c
a34c99c
Name:           python-%{pypi_name}
e528222
Version:        4.0.0
7f66366
Release:        4%{?dist}
a34c99c
Summary:        Pure-Python HPACK header compression
a34c99c
a34c99c
License:        MIT
a34c99c
URL:            http://hyper.rtfd.org
b8c7cc3
Source0:        https://github.com/python-hyper/hpack/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
a34c99c
BuildArch:      noarch
fccefe4
a34c99c
BuildRequires:  python3-devel
a34c99c
BuildRequires:  python3dist(setuptools)
b8c7cc3
BuildRequires:  python3dist(pytest)
b8c7cc3
BuildRequires:  python3dist(hypothesis)
a34c99c
a34c99c
%description
a34c99c
%{common_description}
a34c99c
a34c99c
%package -n     python3-%{pypi_name}
a34c99c
Summary:        %{summary}
a34c99c
a34c99c
%description -n python3-%{pypi_name}
a34c99c
%{common_description}
a34c99c
a34c99c
%prep
a34c99c
%autosetup -n %{pypi_name}-%{version}
a34c99c
# Remove bundled egg-info
a34c99c
rm -rf %{pypi_name}.egg-info
b8c7cc3
rm -rf bench
a34c99c
a34c99c
%build
a34c99c
%py3_build
a34c99c
a34c99c
%install
a34c99c
%py3_install
a34c99c
a34c99c
%check
e528222
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -k 'not test_get_by_index_out_of_range'
a34c99c
a34c99c
%files -n python3-%{pypi_name}
a34c99c
%license LICENSE
a34c99c
%doc README.rst
a34c99c
%{python3_sitelib}/%{pypi_name}
be585ce
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
a34c99c
a34c99c
%changelog
7f66366
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-4
7f66366
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
7f66366
2e67be5
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 4.0.0-3
2e67be5
- Rebuilt for Python 3.10
2e67be5
78bfbd6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
78bfbd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
78bfbd6
e528222
* Sat Nov 14 15:30:44 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 4.0.0-1
e528222
- Update to 4.0.0
e528222
- Close: rhbz#1873806
e528222
6cd0d29
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-11
6cd0d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6cd0d29
8f1e721
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.0-10
8f1e721
- Rebuilt for Python 3.9
8f1e721
0a4a5ae
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-9
0a4a5ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0a4a5ae
fccefe4
* Wed Sep 11 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.0-8
fccefe4
- Drop Python 2 subpackage (#1750717)
fccefe4
44bcb74
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.0-7
44bcb74
- Rebuilt for Python 3.8
44bcb74
ee6fff1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-6
ee6fff1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ee6fff1
b8c7cc3
* Thu Mar 07 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.0-5
b8c7cc3
- Add actual tests
b8c7cc3
37d0b62
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
37d0b62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
37d0b62
2040eef
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
2040eef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2040eef
6055744
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.0.0-2
6055744
- Rebuilt for Python 3.7
6055744
a34c99c
* Mon May 14 2018 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.0-1
a34c99c
- Initial package.