-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-httpcore.spec
82 lines (62 loc) · 2.86 KB
/
python-httpcore.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
%global pypi_name httpcore
# Dependency generator is having problems with the given requirements
%{?python_disable_dependency_generator}
Name: python-%{pypi_name}
Version: 0.12.2
Release: 1.1%{?dist}
Summary: Minimal low-level HTTP client
License: BSD
URL: https://github.com/encode/httpcore
Source0: %{pypi_source}
BuildArch: noarch
%description
The HTTP Core package provides a minimal low-level HTTP client, which does
one thing only: Sending HTTP requests. It does not provide any high level
model abstractions over the API, does not handle redirects, multipart uploads,
building authentication headers, transparent HTTP caching, URL parsing, etc.
%package -n python3-%{pypi_name}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: (python3dist(h11) >= 0.8 with python3dist(h11) < 0.10)
Requires: (python3dist(h2) >= 3 with python3dist(h2) < 5)
Requires: (python3dist(sniffio) >= 1 with python3dist(sniffio) < 2)
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
The HTTP Core package provides a minimal low-level HTTP client, which does
one thing only: Sending HTTP requests. It does not provide any high level
model abstractions over the API, does not handle redirects, multipart uploads,
building authentication headers, transparent HTTP caching, URL parsing, etc.
%prep
%autosetup -n %{pypi_name}-%{version}
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%license LICENSE.md
%doc README.md
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog
* Tue Jan 26 2021 Joel Capitao <jcapitao@redhat.com> - 0.12.2-1.1
- Disable dependency generator
- Add deps explicitly
* Mon Nov 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.2-1
- Enable dependency generator (#1897850)
- Update to latest upstream release 0.12.2 (#1895584)
* Sun Nov 08 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.1-1
- Update to latest upstream release 0.12.1 (#1895584)
* Fri Oct 9 16:39:18 -03 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.12.0-1
- Update to latest upstream release 0.12.0
* Wed Sep 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.11.1-1
- Update to latest upstream release 0.11.1 (#1883308)
* Wed Sep 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.11.0-1
- Update to latest upstream release 0.11.0 (#1881374)
* Thu Sep 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.10.2-1
- Update to latest upstream release 0.10.2 (#1875285)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 05 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.1-1
- Initial package for Fedora