Projects
Eulaceura:Mainline
python-cachecontrol
_service:obs_scm:python-CacheControl.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-CacheControl.spec of Package python-cachecontrol
# Created by pyp2rpm-1.1.0b %global pypi_name CacheControl %global common_description %{expand: CacheControl is a port of the caching algorithms in httplib2 for use with requests session object. It was written because httplib2's better support for caching is often mitigated by its lack of thread safety. The same is true of requests in terms of caching.} Name: python-%{pypi_name} Version: 0.14.0 Release: 1 Summary: httplib2 caching for requests License: MIT URL: https://github.com/ionrock/cachecontrol Source0: https://files.pythonhosted.org/packages/06/55/edea9d90ee57ca54d34707607d15c20f72576b96cb9f3e7fc266cb06b426/cachecontrol-0.14.0.tar.gz BuildArch: noarch %description %{common_description} %package -n python3-%{pypi_name} Summary: httplib2 caching for requests BuildRequires: python3-cherrypy BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-lockfile BuildRequires: python3-mock BuildRequires: python3-msgpack BuildRequires: python3-redis BuildRequires: python3-requests BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-flit Requires: python3-msgpack Requires: python3-requests %description -n python3-%{pypi_name} CacheControl is a port of the caching algorithms in httplib2_ for use with requests_ session object. It was written because httplib2's better support for caching is often mitigated by its lack of threadsafety. The same is true of requests in terms of caching. This is the Python 3 build of CacheControl. %prep %setup -q -n cachecontrol-%{version} # Remove bundled egg-info rm -rf cachecontrol.egg-info %build %pyproject_build %install %pyproject_install %files -n python3-%{pypi_name} %doc README.rst %{python3_sitelib}/cachecontrol %{python3_sitelib}/cachecontrol-*.dist-info %{_bindir}/doesitcache %changelog * Fri Jul 26 2024 Hann <hannannan@kylinos.cn> - 0.14.0-1 - Update package to version 0.14.0 - Don't use the cache if the request has a Range header - Fix document code case errors * Sun Jun 25 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 0.13.1-1 - introduce package CacheControl with version 0.13.1 to src openEuler
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2