Update to 2.7.1

This commit is contained in:
Tomas Hrnciar 2020-10-12 10:59:10 +02:00
parent 8ff7f90f12
commit 987ed3b33f
3 changed files with 15 additions and 9 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ Pygments-1.3.1.tar.gz
/Pygments-2.3.1.tar.gz
/Pygments-2.4.2.tar.gz
/Pygments-2.6.1.tar.gz
/Pygments-2.7.1.tar.gz

View File

@ -3,8 +3,8 @@
%bcond_without tests
Name: python-pygments
Version: 2.6.1
Release: 4%{?dist}
Version: 2.7.1
Release: 1%{?dist}
Summary: Syntax highlighting engine written in Python
License: BSD
@ -32,7 +32,7 @@ need to prettify source code. Highlights are:
%package -n python%{python3_pkgversion}-pygments
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: pyproject-rpm-macros
%if %{with tests}
BuildRequires: python%{python3_pkgversion}-pytest
%endif
@ -47,12 +47,16 @@ Summary: Syntax highlighting engine written in Python
%prep
%autosetup -p1 -n Pygments-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
sed -i 's/\r//' LICENSE
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files pygments
%if %{with docs}
%{python3} setup.py build_sphinx
@ -69,11 +73,9 @@ make test PYTHON=%{python3}
%endif
%files -n python%{python3_pkgversion}-pygments
%files -n python%{python3_pkgversion}-pygments -f %{pyproject_files}
%doc AUTHORS CHANGES doc/reST
%license LICENSE
%{python3_sitelib}/pygments/
%{python3_sitelib}/Pygments-%{version}-py%{python3_version}.egg-info/
%{_bindir}/pygmentize
%if %{with docs}
%lang(en) %{_mandir}/man1/pygmentize.1*
@ -81,6 +83,9 @@ make test PYTHON=%{python3}
%endif
%changelog
* Mon Oct 12 2020 Tomas Hrnciar <thrnciar@redhat.com> - 2.7.1-1
- Update to 2.7.1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Pygments-2.6.1.tar.gz) = 0d793bb6eabe43645541347e44932ee50ccd4309f40e7a327422bcbe57d40a7cb8bbf2fb0911744ed6f316c6c08f4216462be88d79192a2ea004d6da51329932
SHA512 (Pygments-2.7.1.tar.gz) = 95d1109cd53092fafa2f1d5c21a135c426700fc92e39bb22a27f47e63d10bdcb9e52593cd282339a3b501430ededbccea4f8d5970ba1171204579b964a6771c8