]> git.pld-linux.org Git - packages/python3-pygments.git/commitdiff
- updated to 2.13.0
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 1 Sep 2022 17:24:47 +0000 (19:24 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 1 Sep 2022 17:24:47 +0000 (19:24 +0200)
- updated rpmspec patch

python3-pygments.spec
rpmspec.patch

index 49e5a5a090b2019e42826636dacba5875afa9610..dbc087adfb4604a0d831ad0a10d1ee925aab5150 100644 (file)
@@ -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
index f638ef49e0358a4738c2c317da251c3708ce011a..087fe552b3179fb8b4d9352e5ba653227aad11fd 100644 (file)
@@ -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)),
This page took 0.186086 seconds and 4 git commands to generate.