!6 Update to 2.3.0
From: @starlet-dx Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
0a4180738c
@ -1,11 +1,11 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-termcolor
|
||||
Version: 1.1.0
|
||||
Version: 2.3.0
|
||||
Release: 1
|
||||
Summary: ANSII Color formatting for output in terminal.
|
||||
License: MIT
|
||||
URL: http://pypi.python.org/pypi/termcolor
|
||||
Source0: https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/source/t/termcolor/termcolor-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
@ -17,6 +17,8 @@ Summary: ANSII Color formatting for output in terminal.
|
||||
Provides: python-termcolor
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip python3-wheel
|
||||
BuildRequires: python3-hatchling python3-hatch-vcs
|
||||
%description -n python3-termcolor
|
||||
ANSII Color formatting for output in terminal.
|
||||
|
||||
@ -27,13 +29,13 @@ Provides: python3-termcolor-doc
|
||||
ANSII Color formatting for output in terminal.
|
||||
|
||||
%prep
|
||||
%autosetup -n termcolor-1.1.0
|
||||
%autosetup -n termcolor-%{version} -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install termcolor==%{version}
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
@ -62,10 +64,14 @@ mv %{buildroot}/doclist.lst .
|
||||
|
||||
%files -n python3-termcolor -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
%{python3_sitelib}/termcolor/__pycache__/*
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Fri May 05 2023 yaoxin <yao_xin001@hoperun.com> - 2.3.0-1
|
||||
- Update to 2.3.0
|
||||
|
||||
* Sat Oct 03 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
|
||||
Binary file not shown.
BIN
termcolor-2.3.0.tar.gz
Normal file
BIN
termcolor-2.3.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user