[packages/python3-pygments] - updated to 2.13.0 - updated rpmspec patch
qboosh
qboosh at pld-linux.org
Thu Sep 1 19:24:40 CEST 2022
commit 7cb00ee193eaec1dc0043037fb378e1fcbafc0ca
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Sep 1 19:24:47 2022 +0200
- updated to 2.13.0
- updated rpmspec patch
python3-pygments.spec | 14 +++++++-------
rpmspec.patch | 12 ++++++------
2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/python3-pygments.spec b/python3-pygments.spec
index 49e5a5a..dbc087a 100644
--- a/python3-pygments.spec
+++ b/python3-pygments.spec
@@ -7,18 +7,18 @@
Summary: A generic syntax highlighter as Python 3 module
Summary(pl.UTF-8): Moduł Pythona 3 do ogólnego podświetlania składni
Name: python3-%{module}
-Version: 2.11.2
-Release: 4
+Version: 2.13.0
+Release: 1
License: BSD
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/pygments/
Source0: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
-# Source0-md5: 217b4355612df4b61dc570df4b0148ba
+# Source0-md5: 6ccae578d28d18968b30a4711652fd9a
Patch0: rpmspec.patch
URL: https://pygments.org/
-BuildRequires: python3 >= 1:3.5
-BuildRequires: python3-devel >= 1:3.5
-BuildRequires: python3-modules >= 1:3.5
+BuildRequires: python3 >= 1:3.6
+BuildRequires: python3-devel >= 1:3.6
+BuildRequires: python3-modules >= 1:3.6
BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-pytest
@@ -26,7 +26,7 @@ BuildRequires: python3-pytest
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%{?with_doc:BuildRequires: sphinx-pdg}
-Requires: python3-modules >= 1:3.5
+Requires: python3-modules >= 1:3.6
Requires: python3-setuptools
Conflicts: python-pygments < 2.5.2
BuildArch: noarch
diff --git a/rpmspec.patch b/rpmspec.patch
index f638ef4..087fe55 100644
--- a/rpmspec.patch
+++ b/rpmspec.patch
@@ -1,12 +1,12 @@
---- Pygments-2.0.2/pygments/lexers/installers.py~ 2014-11-10 21:17:51.000000000 +0200
-+++ Pygments-2.0.2/pygments/lexers/installers.py 2015-06-15 14:57:19.665609691 +0300
-@@ -201,7 +201,8 @@
+--- Pygments-2.13.0/pygments/lexers/installers.py.orig 2022-09-01 19:07:12.905773545 +0200
++++ Pygments-2.13.0/pygments/lexers/installers.py 2022-09-01 19:11:33.161030288 +0200
+@@ -203,7 +203,8 @@ class RPMSpecLexer(RegexLexer):
(r'.', Text),
],
'macro': [
-- (r'%define.*\n', Comment.Preproc),
-+ (r'%(?:un)?define.*\n', Comment.Preproc),
-+ (r'%include.*\n', Comment.Preproc),
+- (r'%define.*$', Comment.Preproc),
++ (r'%(?:un)?define.*$', Comment.Preproc),
++ (r'%include.*$', Comment.Preproc),
(r'%\{\!\?.*%define.*\}', Comment.Preproc),
(r'(%(?:if(?:n?arch)?|else(?:if)?|endif))(.*)$',
bygroups(Comment.Preproc, Text)),
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pygments.git/commitdiff/7cb00ee193eaec1dc0043037fb378e1fcbafc0ca
More information about the pld-cvs-commit
mailing list