|
|
8f67b9 |
# Created by pyp2rpm-3.3.2
|
|
|
8f67b9 |
%global pypi_name priority
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%global common_description %{expand:
|
|
|
8f67b9 |
A HTTP/2 Priority Implementation Priority is a pure-Python
|
|
|
8f67b9 |
implementation of the priority logic for HTTP/2, set out in RFC 7540 Section
|
|
|
8f67b9 |
5.3 (Stream Priority)_. This logic allows for clients to express a preference
|
|
|
8f67b9 |
for how the server allocates its (limited) resources to the many outstanding
|
|
|
8f67b9 |
HTTP requests that may be running over a single HTTP/2 connection.}
|
|
|
8f67b9 |
|
|
|
8f67b9 |
Name: python-%{pypi_name}
|
|
|
8f67b9 |
Version: 1.3.0
|
|
|
8f67b9 |
Release: 12%{?dist}
|
|
|
8f67b9 |
Summary: A pure-Python implementation of the HTTP/2 priority tree
|
|
|
8f67b9 |
|
|
|
8f67b9 |
License: MIT
|
|
|
8f67b9 |
URL: http://python-hyper.org/priority/
|
|
|
8f67b9 |
Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
8f67b9 |
|
|
|
8f67b9 |
# Increase deadline for test_period_of_repetition
|
|
|
8f67b9 |
Patch1: deadline.patch
|
|
|
8f67b9 |
|
|
|
8f67b9 |
BuildArch: noarch
|
|
|
8f67b9 |
|
|
|
8f67b9 |
BuildRequires: python3-devel
|
|
|
8f67b9 |
BuildRequires: python3dist(setuptools)
|
|
|
8f67b9 |
BuildRequires: python3dist(pytest)
|
|
|
8f67b9 |
BuildRequires: python3dist(hypothesis)
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%{?python_enable_dependency_generator}
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%description
|
|
|
8f67b9 |
%{common_description}
|
|
|
8f67b9 |
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%package -n python3-%{pypi_name}
|
|
|
8f67b9 |
Summary: %{summary}
|
|
|
8f67b9 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%description -n python3-%{pypi_name}
|
|
|
8f67b9 |
%{common_description}
|
|
|
8f67b9 |
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%prep
|
|
|
8f67b9 |
%autosetup -n %{pypi_name}-%{version} -p1
|
|
|
8f67b9 |
# Remove bundled egg-info
|
|
|
8f67b9 |
rm -rf %{pypi_name}.egg-info
|
|
|
8f67b9 |
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%build
|
|
|
8f67b9 |
%py3_build
|
|
|
8f67b9 |
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%install
|
|
|
8f67b9 |
%py3_install
|
|
|
8f67b9 |
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%check
|
|
|
8f67b9 |
PYTHONPATH=%{buildroot}%{python3_sitelib}:$PYTHONPATH %{__python3} -m pytest
|
|
|
8f67b9 |
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%files -n python3-%{pypi_name}
|
|
|
8f67b9 |
%license LICENSE
|
|
|
8f67b9 |
%doc README.rst
|
|
|
8f67b9 |
%{python3_sitelib}/%{pypi_name}
|
|
|
8f67b9 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
8f67b9 |
|
|
|
8f67b9 |
|
|
|
8f67b9 |
%changelog
|
|
|
8f67b9 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-12
|
|
|
8f67b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-11
|
|
|
8f67b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-10
|
|
|
8f67b9 |
- Rebuilt for Python 3.9
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-9
|
|
|
8f67b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-8
|
|
|
8f67b9 |
- Subpackage python2-priority has been removed
|
|
|
8f67b9 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-7
|
|
|
8f67b9 |
- Rebuilt for Python 3.8
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
|
|
|
8f67b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Thu Mar 07 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.0-5
|
|
|
8f67b9 |
- Add actual tests
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
8f67b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
|
|
8f67b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-2
|
|
|
8f67b9 |
- Rebuilt for Python 3.7
|
|
|
8f67b9 |
|
|
|
8f67b9 |
* Mon May 14 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.0-1
|
|
|
8f67b9 |
- Initial package.
|