Group :: Development/Python3
RPM: python3-module-requests-cache
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname requests-cache
# some problems with pymongo
%def_without check
Name: python3-module-%oname
Version: 1.0.1
Release: alt1
Summary: Persistent cache for requests library
License: BSD-2-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/requests-cache/
BuildArch: noarch
# https://github.com/reclosedev/requests-cache.git
Source0: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-poetry
%if_with check
BuildRequires: python3-module-timeout-decorator
BuildRequires: python3-module-url-normalize
BuildRequires: python3-module-cattrs
%endif
%py3_provides requests_cache
%py3_requires sqlite3
%description
Requests-cache is a transparent persistent cache for requests
(version >= 1.1.0) library.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc *.md LICENSE
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
%define oname requests-cache
# some problems with pymongo
%def_without check
Name: python3-module-%oname
Version: 1.0.1
Release: alt1
Summary: Persistent cache for requests library
License: BSD-2-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/requests-cache/
BuildArch: noarch
# https://github.com/reclosedev/requests-cache.git
Source0: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-poetry
%if_with check
BuildRequires: python3-module-timeout-decorator
BuildRequires: python3-module-url-normalize
BuildRequires: python3-module-cattrs
%endif
%py3_provides requests_cache
%py3_requires sqlite3
%description
Requests-cache is a transparent persistent cache for requests
(version >= 1.1.0) library.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc *.md LICENSE
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui