5 Star 0 Fork 2

src-openEuler/python-colorclass

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
python-colorclass.spec 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
qiaojijun 提交于 2022-09-14 10:44 . modify spec file
%global srcname colorclass
%global sum Yet another ANSI color text library for Python
Name: python-%{srcname}
Version: 2.2.2
Release: 1
Summary: Yet another ANSI color text library for Python
License: MIT
URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://files.pythonhosted.org/packages/source/c/%{srcname}/%{srcname}-%{version}.tar.gz
Source1: https://github.com/Robpol86/colorclass/blob/master/LICENSE
BuildArch: noarch
%description
Colorful worry-free console applications for Linux, Mac OS X, and Windows.
Yet another ANSI color text library for Python. Provides "auto colors" for
dark/light terminals. Works on Linux, OS X, and Windows.
%package -n python3-%{srcname}
Summary: Yet another ANSI color text library for Python
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
Colorful worry-free console applications for Linux, Mac OS X, and Windows.
Yet another ANSI color text library for Python. Provides "auto colors" for
dark/light terminals. Works on Linux, OS X, and Windows.
%prep
%autosetup -n %{srcname}-%{version}
cp %{SOURCE1} .
rm -rf colorclass.egg-info
%build
%py3_build
%install
%py3_install
%check
%files -n python3-%{srcname}
%license LICENSE
%doc README.md
%{python3_sitelib}/colorclass*
%changelog
* Wed Sep 14 2022 Qiao Jijun <[email protected]> - 2.2.2-1
- Update to 2.2.2
* Fri Jul 2 2021 liuliang <[email protected]> - 2.2.0-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-colorclass.git
[email protected]:src-openeuler/python-colorclass.git
src-openeuler
python-colorclass
python-colorclass
master

搜索帮助