Files
openRuyi/SPECS/python-cacheout/python-cacheout.spec
2026-01-30 15:35:00 +00:00

43 lines
1.2 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: purofle <yuguo.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%global srcname cacheout
Name: python-%{srcname}
Version: 0.16.0
Release: %autorelease
Summary: Caching library for Python
License: MIT
URL: https://github.com/dgilland/cacheout
#!RemoteAsset: sha256:ee264897cbaa089ae5f406da11952697d99fa7f3583cfab69fe8a00ff8e1952d
Source0: https://files.pythonhosted.org/packages/source/c/%{srcname}/%{srcname}-%{version}.tar.gz
BuildSystem: pyproject
BuildOption(install): -l %{srcname}
BuildRequires: pyproject-rpm-macros
BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(pip)
BuildRequires: python3dist(wheel)
BuildRequires: python3dist(pytest)
Provides: python3-%{srcname}
%python_provide python3-%{srcname}
%description
A caching library for Python.
%generate_buildrequires
%pyproject_buildrequires
%files -f %{pyproject_files}
%doc README.rst
%license LICENSE.rst
%changelog
%{?autochangelog}