diff --git a/Pygments-2.10.0.tar.gz b/Pygments-2.13.0.tar.gz similarity index 35% rename from Pygments-2.10.0.tar.gz rename to Pygments-2.13.0.tar.gz index c4fd31f19a63e10b689f6983011954ceb839fb10..affd980f6304681b516216ae8d9552c0f587e31c 100644 Binary files a/Pygments-2.10.0.tar.gz and b/Pygments-2.13.0.tar.gz differ diff --git a/python-pygments.spec b/python-pygments.spec index dd25cacc2cbe1b2d6ef1c2168b2f1dc1bace816d..328b6a6a5d9d405d5f7dca668188c387ee74dcd1 100644 --- a/python-pygments.spec +++ b/python-pygments.spec @@ -13,11 +13,11 @@ need to prettify source code. Highlights are: \ * it is usable as a command-line tool and as a library \ * … and it highlights even Perl 6! %bcond_with docs -%bcond_without tests +%bcond_with tests Name: python-pygments Summary: Syntax highlighting engine written in Python -Version: 2.10.0 -Release: 3 +Version: 2.13.0 +Release: 1 License: BSD-2-Clause URL: http://pygments.org/ Source0: https://pypi.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz @@ -29,8 +29,12 @@ BuildArch: noarch %package -n python3-pygments BuildRequires: python3-devel, python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-wheel %if %{with tests} BuildRequires: python3-pytest +BuildRequires: python3-lxml %endif %if %{with docs} BuildRequires: python3-sphinx python3-pip @@ -53,7 +57,7 @@ Summary: Syntax highlighting engine written in Python %install %py3_install %if %{with docs} -%{__python3} setup.py build_sphinx +make docs rm -rf build/sphinx/html/.buildinfo install doc/pygmentize.1 -Dt %{buildroot}%{_mandir}/man1/ chmod -x %{buildroot}%{_mandir}/man1/*.1 @@ -78,6 +82,9 @@ make test %endif %changelog +* Mon Apr 08 2024 wangjing - 2.13.0-1 +- update version to 2.13.0 + * Wed May 11 2022 wulei - 2.10.0-3 - License compliance rectification