upgrade version to 2.10.0

This commit is contained in:
rwx403335 2021-12-20 17:20:27 +08:00
parent 3699813743
commit 5796b057f3
3 changed files with 8 additions and 4 deletions

BIN
Pygments-2.10.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -12,10 +12,11 @@ need to prettify source code. Highlights are: \
RTF, LaTeX and ANSI sequences \
* it is usable as a command-line tool and as a library \
* and it highlights even Perl 6!
%bcond_without docs
%bcond_without tests
Name: python-pygments
Summary: Syntax highlighting engine written in Python
Version: 2.8.1
Version: 2.10.0
Release: 1
License: BSD
URL: http://pygments.org/
@ -32,7 +33,7 @@ BuildRequires: python3-devel, python3-setuptools
BuildRequires: python3-pytest
%endif
%if %{with docs}
BuildRequires: python3-sphinx
BuildRequires: python3-sphinx python3-pip
%endif
Summary: Syntax highlighting engine written in Python
%{?python_provide:%python_provide python3-pygments}
@ -60,7 +61,7 @@ chmod -x %{buildroot}%{_mandir}/man1/*.1
cp -r doc/docs doc/reST
%if %{with tests}
%check
make test PYTHON=%{python3}
make test
%endif
@ -77,6 +78,9 @@ make test PYTHON=%{python3}
%endif
%changelog
* Mon Dec 20 2021 renhongxun <renhongxun@huawei.com> - 2.10.0-1
- Upgrade version to 2.10.0
* Fri Aug 06 2021 OpenStack_SIG <openstack@openeuler.org> - 2.8.1-1
- Update version to 2.8.1