2015-07-09 08:06:33 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-cachetools
|
|
|
|
|
#
|
2025-01-28 10:27:30 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2015-07-09 08:06:33 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2018-12-04 13:18:20 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-07-09 08:06:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2023-04-21 14:50:48 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2015-07-09 08:06:33 +00:00
|
|
|
Name: python-cachetools
|
2025-07-12 11:43:50 +00:00
|
|
|
Version: 6.1.0
|
2015-07-09 08:06:33 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Extensible memoizing collections and decorators
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/Python
|
2018-12-04 17:10:49 +00:00
|
|
|
URL: https://github.com/tkem/cachetools
|
2017-08-16 16:34:50 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/c/cachetools/cachetools-%{version}.tar.gz
|
2025-06-16 06:18:29 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2017-08-16 16:34:50 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-16 06:18:29 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-08-16 16:34:50 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2015-07-09 08:06:33 +00:00
|
|
|
BuildArch: noarch
|
2017-08-16 16:34:50 +00:00
|
|
|
%python_subpackages
|
2015-07-09 08:06:33 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module provides various memoizing collections and decorators,
|
|
|
|
|
including a variant of the Python 3 Standard Library `@lru_cache`_
|
|
|
|
|
function decorator.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n cachetools-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2025-06-16 06:18:29 +00:00
|
|
|
%pyproject_wheel
|
2015-07-09 08:06:33 +00:00
|
|
|
|
|
|
|
|
%install
|
2025-06-16 06:18:29 +00:00
|
|
|
%pyproject_install
|
2017-08-16 16:34:50 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2015-07-09 08:06:33 +00:00
|
|
|
|
|
|
|
|
%check
|
2021-05-28 07:50:17 +00:00
|
|
|
%pyunittest discover -v
|
2015-07-09 08:06:33 +00:00
|
|
|
|
2017-08-16 16:34:50 +00:00
|
|
|
%files %{python_files}
|
2018-12-04 17:10:49 +00:00
|
|
|
%license LICENSE
|
2020-01-24 09:50:29 +00:00
|
|
|
%doc CHANGELOG.rst README.rst
|
2025-06-16 06:18:29 +00:00
|
|
|
%{python_sitelib}/cachetools
|
|
|
|
|
%{python_sitelib}/cachetools-%{version}.dist-info
|
2015-07-09 08:06:33 +00:00
|
|
|
|
|
|
|
|
%changelog
|