Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37779602
en ru br
ALT Linux repositórios
S:0.13.1-alt1

Group :: Development/Python3
RPM: python3-module-cachecontrol

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable snapshot
#%%define _unpackaged_files_terminate_build 1
%define pypi_name cachecontrol
%define modname CacheControl

%def_enable check

Name: python3-module-%pypi_name
Version: 0.12.12
Release: alt1

Summary: CacheControl is a port of the caching algorithms in httplib2
License: Apache-2.0
Group: Development/Python3
Url: https://github.com/ionrock/cachecontrol

%if_disabled snapshot
Source: https://github.com/ionrock/cachecontrol/archive/v%version/%pypi_name-%version.tar.gz
%else
Vcs: https://github.com/ionrock/cachecontrol.git
Source: %pypi_name-%version.tar
%endif

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3(wheel) python3(setuptools)

%{?_enable_check:BuildRequires: python3(pytest)
BuildRequires: python3(pytest_cov)
BuildRequires: python3(tox)
BuildRequires: python3(tox_console_scripts)
BuildRequires: python3(requests)
BuildRequires: python3(msgpack)
BuildRequires: python3(mock)
BuildRequires: python3(redis)
BuildRequires: python3(filelock)
BuildRequires: python3(cherrypy)}

%description
CacheControl is a port of the caching algorithms in "httplib2" for use with
"requests" session object.

%prep
%setup -n %pypi_name-%version

%build
%pyproject_build

%install
%pyproject_install

%check
%tox_check

%files
%_bindir/doesitcache
%python3_sitelibdir/%pypi_name/
%python3_sitelibdir/%modname-%version.dist-info/
%doc README*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009