mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-05-14 10:54:01 +00:00
42 lines
1.2 KiB
RPMSpec
42 lines
1.2 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
|
|
# SPDX-FileContributor: misaka00251 <liuxin@iscas.ac.cn>
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
%global srcname python_utils
|
|
|
|
Name: python-utils
|
|
Version: 3.9.1
|
|
Release: %autorelease
|
|
Summary: Library to provide visual progress to long running operations
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/WoLpH/python-utils
|
|
#!RemoteAsset
|
|
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{srcname}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: pyproject
|
|
|
|
BuildOption(install): -l %{srcname}
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
Provides: python3-utils
|
|
%python_provide python3-utils
|
|
|
|
%description
|
|
Python Utils is a collection of small Python functions and classes which
|
|
make common patterns shorter and easier. This module makes it easy to
|
|
execute common tasks in Python scripts such as converting text to numbers
|
|
and making sure a string is in unicode or bytes format.
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires -r
|
|
|
|
%files -f %{pyproject_files}
|
|
%doc README.rst
|
|
|
|
%changelog
|
|
%{?autochangelog}
|