From 025919c22eb7b211f6e7537cbc170f739724ffb5088765d430bad4adf17a7aa8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 29 Jan 2021 22:09:00 +0000 Subject: [PATCH] Accepting request 867801 from home:mcepl:branches:devel:languages:python - Update to 2.7.4 (all what was in the update to 2.7.2 and above it): - Updated lexers: * Ada (#1581) * HTML (#1615, #1614) * Java (#1594, #1586) * JavaScript (#1605, #1589, #1588) * JSON (#1569 -- this is a complete rewrite) * Lean (#1601) * LLVM (#1612) * Mason (#1592) * MySQL (#1555, #1551) * Rust (#1608) * Turtle (#1590, #1553) - Deprecated JsonBareObjectLexer, which is now identical to JsonLexer (#1600) - The ``ImgFormatter`` now calculates the exact character width, which fixes some issues with overlapping text (#1213, #1611) - Documentation fixes (#1609, #1599, #1598) - Fixed duplicated Juttle language alias (#1604, #1606) - Added support for Kotlin scripts (#1587) - Removed CSS rule which forced margin to 0 OBS-URL: https://build.opensuse.org/request/show/867801 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=75 --- Pygments-2.6.1.tar.gz | 3 --- Pygments-2.7.4.tar.gz | 3 +++ python-Pygments.changes | 29 +++++++++++++++++++++++++++++ python-Pygments.spec | 6 +++--- 4 files changed, 35 insertions(+), 6 deletions(-) delete mode 100644 Pygments-2.6.1.tar.gz create mode 100644 Pygments-2.7.4.tar.gz diff --git a/Pygments-2.6.1.tar.gz b/Pygments-2.6.1.tar.gz deleted file mode 100644 index 1c4d4ec..0000000 --- a/Pygments-2.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44 -size 3303050 diff --git a/Pygments-2.7.4.tar.gz b/Pygments-2.7.4.tar.gz new file mode 100644 index 0000000..8cd2883 --- /dev/null +++ b/Pygments-2.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df49d09b498e83c1a73128295860250b0b7edd4c723a32e9bc0d295c7c2ec337 +size 2325473 diff --git a/python-Pygments.changes b/python-Pygments.changes index 419b37c..b291b1c 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Fri Jan 29 15:42:09 UTC 2021 - Matej Cepl + +- Update to 2.7.4 (all what was in the update to 2.7.2 and above + it): + - Updated lexers: + + * Ada (#1581) + * HTML (#1615, #1614) + * Java (#1594, #1586) + * JavaScript (#1605, #1589, #1588) + * JSON (#1569 -- this is a complete rewrite) + * Lean (#1601) + * LLVM (#1612) + * Mason (#1592) + * MySQL (#1555, #1551) + * Rust (#1608) + * Turtle (#1590, #1553) + + - Deprecated JsonBareObjectLexer, which is now identical to + JsonLexer (#1600) + - The ``ImgFormatter`` now calculates the exact character + width, which fixes some issues with overlapping text (#1213, + #1611) + - Documentation fixes (#1609, #1599, #1598) + - Fixed duplicated Juttle language alias (#1604, #1606) + - Added support for Kotlin scripts (#1587) + - Removed CSS rule which forced margin to 0 + ------------------------------------------------------------------- Fri Dec 4 13:06:36 UTC 2020 - Matej Cepl diff --git a/python-Pygments.spec b/python-Pygments.spec index a67c000..789f29d 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pygments # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pygments # DO NOT UPGRADE UNTIL PELICAN IS COMPATIBLE! -Version: 2.6.1 +Version: 2.7.4 Release: 0 Summary: A syntax highlighting package written in Python License: BSD-2-Clause @@ -36,7 +36,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Provides: python-pygments = %{version} Obsoletes: python-pygments < %{version} BuildArch: noarch