-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-aiohttp.spec
364 lines (251 loc) · 13.2 KB
/
python-aiohttp.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
%global srcname aiohttp
%global debug_package %{nil}
Name: python-%{srcname}
Version: 3.7.3
Release: 1%{?dist}
Summary: Python HTTP client/server for asyncio
License: ASL 2.0
URL: https://github.com/aio-libs/aiohttp
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
# Unbundle http-parser
Patch0: unbundle-http-parser.patch
BuildRequires: gcc
BuildRequires: http-parser-devel
# EPEL8 is utilizing the CentOS Devel repo for some packages. However, this is
# not available for s390x, so exclude it.
# https://fedoraproject.org/wiki/EPEL/FAQ#RHEL_8.2B_has_binaries_in_the_release.2C_but_is_missing_some_corresponding_-devel_package._How_do_I_build_a_package_that_needs_that_missing_-devel_package.3F
%if %{defined el8}
ExcludeArch: s390x
%endif
%description
Python HTTP client/server for asyncio which supports both the client and the
server side of the HTTP protocol, client and server websocket, and webservers
with middlewares and pluggable routing.
%package -n python3-%{srcname}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-Cython
Recommends: python%{python3_version}dist(aiodns)
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
Python HTTP client/server for asyncio which supports both the client and the
server side of the HTTP protocol, client and server websocket, and webservers
with middlewares and pluggable routing.
%prep
%autosetup -p 1 -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{srcname}
%doc CHANGES.rst CONTRIBUTING.rst CONTRIBUTORS.txt HISTORY.rst README.rst
%license LICENSE.txt
%{python3_sitearch}/%{srcname}-*.egg-info/
%{python3_sitearch}/%{srcname}/
%changelog
- Update to latest upstream release 3.7.3
- Update to latest upstream release 3.7.2
- Update to new upstream version 3.7.1
- Update to new upstream version 3.6.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- Rebuilt for Python 3.9
- Don't build for s390x on EL8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- Update to new upstream version 3.6.2
- Update to new upstream version 3.6.1
- Update to new upstream version 3.6.0
- Rebuilt for Python 3.8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
- Remove dep generator
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- Update to new upstream version 3.5.4
- Update to new upstream version 3.5.3
- Update to new upstream version 3.5.2
- Update to new upstream version 3.5.1
- Update to new upstream version 3.4.4 (rhbz#1625634)
- Update to 3.4.3
- Update to 3.4.2
- Unbundle http-parser (rhbz#1622508)
- Fix rhbz#1622310
- Recommend aiodns
- Update to new upstream version 3.4.0 (rhbz#1622288)
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- Rebuilt for Python 3.7
- Update to new upstream version 3.3.2
- Update to new upstream version 3.3.1
- Update to new upstream version 3.3.0 (rhbz#1585170)
- Update to new upstream version 3.2.1 (rhbz#1576796)
- Update to new upstream version 3.2.0 (rhbz#1575435)
- Update to new upstream version 3.1.3 (rhbz#1567093)
- Update to new upstream version 3.1.2
- Update to new upstream version 3.1.1
- Update to new upstream version 3.1.0
- Update to new upstream version 3.0.9 (rhbz#1556612)
- Update to new upstream version 3.0.8
- Update to new upstream version 3.0.7 (rhbz#1548601)
- Update to new upstream version 3.0.6 (rhbz#1548601)
- Update to new upstream version 3.0.5 (rhbz#1548601)
- Update to new upstream version 3.0.1
- Update to new upstream version 3.0.0 (rhbz#1544413)
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
- Update to new upstream version 2.3.10 (rhbz#1541369)
- Enable usage of dependency generator
- Update to 2.3.9
- Update to new upstream version 2.3.8
- Update to new upstream version 2.3.7 (rhbz#1529275)
- Update to new upstream version 2.3.6
- Update to new upstream version 2.3.5
- Update to new upstream version 2.3.3 (rhbz#1514434)
- Update to 2.3.2
- Update to new upstream version 2.3.1 (rhbz#1504339)
- Update to new upstream version 2.3.0
- Update to new upstream version 2.2.5
- Update to new upstream version 2.2.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
- Update to new upstream version 2.2.3 (rhbz#1467742)
- Update to new upstream version 2.2.2
- Update to new upstream version 2.2.1 (rhbz#1467114)
- Update to new upstream version 2.2.0 (rhbz#1463234)
- Update URL
- Update to new upstream version 2.1.0 (rhbz#1456063)
- Update to 2.0.7
- Update to 2.0.6
- Update to 2.0.5
- Update to 2.0.4
- Update to new upstream version 2.0.3 (rhbz#1435844)
- Specify proper yarl version
- Fix requires
- Update to new upstream version 2.0.2 (rhbz#1432690)
- Update to 1.3.4
- Update to new upstream version 1.3.3 (rhbz#1423053)
- Update to 1.3
- Update to new upstream version 1.2
- Add new requirement
- Add real description
- Add missing dependency on async-timeout (RHBZ #1391287)
- Rebuild for Python 3.6
- Update to new upstream version 1.0.5
- Update to new upstream version 0.22.5
- Move requires under real subpackage
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
- Add missing Requires: python3-multidict (RHBZ #1349576)
- Update to 0.21.6
- Update to new upstream version 0.21.5
- Update to new upstream version 0.21.2
- Add requirements (rhbz#1300186)
- Update to new upstream version 0.21.1
- Update to new upstream version 0.21.0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
- Update py3
- Update to new upstream version 0.19.0
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
- Update to new upstream version 0.17.4
- Fix license
- Update to lastest upstream release 0.16.6 (rhbz#1231670)
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
- Update to lastest upstream release 0.16.5 (rhbz#1231670)
- Update to lastest upstream release 0.10.2
- Build only a py3 package
- Initial package for Fedora