Update to 2.3.0
This commit is contained in:
parent
adf7a71b72
commit
947ebddd9b
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-termcolor
|
Name: python-termcolor
|
||||||
Version: 1.1.0
|
Version: 2.3.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: ANSII Color formatting for output in terminal.
|
Summary: ANSII Color formatting for output in terminal.
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://pypi.python.org/pypi/termcolor
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
@ -17,6 +17,8 @@ Summary: ANSII Color formatting for output in terminal.
|
|||||||
Provides: python-termcolor
|
Provides: python-termcolor
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip python3-wheel
|
||||||
|
BuildRequires: python3-hatchling python3-hatch-vcs
|
||||||
%description -n python3-termcolor
|
%description -n python3-termcolor
|
||||||
ANSII Color formatting for output in terminal.
|
ANSII Color formatting for output in terminal.
|
||||||
|
|
||||||
@ -27,13 +29,13 @@ Provides: python3-termcolor-doc
|
|||||||
ANSII Color formatting for output in terminal.
|
ANSII Color formatting for output in terminal.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n termcolor-1.1.0
|
%autosetup -n termcolor-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install termcolor==%{version}
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{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
|
%files -n python3-termcolor -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
%{python3_sitelib}/termcolor/__pycache__/*
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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>
|
* Sat Oct 03 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||||
- Package Spec generated
|
- 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