Blame SPECS/python-hpack.spec

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