Skip to content

Commit ca936f7

Browse files
committedMar 9, 2023
initial release
0 parents  commit ca936f7

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
 

‎.abf.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sources:
2+
CacheControl-0.12.11.tar.gz: 97c65f787f1799433745e7aa7223aaf77afb460b

‎python-cachecontrol.spec

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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+

0 commit comments

Comments
 (0)
Please sign in to comment.