File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ sources :
2
+ CacheControl-0.12.11.tar.gz : 97c65f787f1799433745e7aa7223aaf77afb460b
Original file line number Diff line number Diff line change
1
+ Summary: An implementation of httplib2 caching for requests in Python
2
+ Name: python-cachecontrol
3
+ Version: 0.12.11
4
+ Release: 1
5
+ License: MIT
6
+ Group: Development/Python
7
+ URL: https://pypi.org/project/cachecontrol/
8
+ Source0: https://files.pythonhosted.org/packages/source/C/CacheControl/CacheControl-%{version }.tar.gz
9
+ BuildRequires: pkgconfig(python3)
10
+ BuildRequires: python%{pyver }dist(pip)
11
+ BuildRequires: python%{pyver }dist(setuptools)
12
+ BuildRequires: python%{pyver }dist(wheel)
13
+ BuildArch: noarch
14
+
15
+ %description
16
+ CacheControl is a port of the caching algorithms in httplib2 for use with
17
+ requests session object.
18
+
19
+ It was written because httplib2’s better support for caching is often
20
+ mitigated by its lack of thread safety. The same is true of requests in
21
+ terms of caching.
22
+
23
+ %files
24
+ %doc README.rst
25
+ %license LICENSE.txt
26
+ %{_bindir }/doesitcache
27
+ #%%{_bindir}/cachecontrol
28
+ %{py_sitedir} /cachecontrol
29
+ %{py_sitedir} /CacheControl-* .* -info
30
+
31
+ #--------------------------------------------------------------------
32
+
33
+ %prep
34
+ %autosetup -p1 -n CacheControl-%{version }
35
+
36
+ %build
37
+ %py_build
38
+
39
+ %install
40
+ %py_install
41
+
You can’t perform that action at this time.
0 commit comments