mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-05-13 18:33:44 +00:00
41 lines
1.2 KiB
RPMSpec
41 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 wcwidth
|
|
|
|
Name: python-%{srcname}
|
|
Version: 0.2.13
|
|
Release: %autorelease
|
|
Summary: Measures number of Terminal column cells of wide-character codes
|
|
License: MIT
|
|
URL: https://github.com/jquast/wcwidth
|
|
#!RemoteAsset
|
|
Source0: https://files.pythonhosted.org/packages/source/w/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: pyproject
|
|
|
|
BuildOption(install): -l %{srcname}
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
BuildRequires: pkgconfig(python3)
|
|
|
|
Provides: python3-%{srcname}
|
|
%python_provide python3-%{srcname}
|
|
|
|
%description
|
|
This API is mainly for Terminal Emulator implementors, or those writing programs
|
|
that expect to interpreted by a terminal emulator and wish to determine the
|
|
printable width of a string on a Terminal.
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
%files -f %{pyproject_files}
|
|
%doc README.rst
|
|
|
|
%changelog
|
|
%{?autochangelog}
|