From ae08bbbd7f7a33c2320b70a43bf21ff18b79ce808ecc473a69b2b4673d53257c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 2 Jan 2023 17:30:17 +0000 Subject: [PATCH] Accepting request 1046211 from home:benoit_monin:branches:devel:languages:python - update to 2.14.0 - set minimum python version to 3.6: increased upstream -- gh#pygments/pygments#2059 - remove lxml BuildRequires: dropped upstream -- gh#pygments/pygments#2301 - remove skip_python2: python >= 3.6 is already required - drop python_module macro definition: provided by python-rpm-macros OBS-URL: https://build.opensuse.org/request/show/1046211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=89 --- Pygments-2.13.0.tar.gz | 3 -- Pygments-2.14.0.tar.gz | 3 ++ python-Pygments.changes | 73 +++++++++++++++++++++++++++++++++++++++++ python-Pygments.spec | 9 ++--- 4 files changed, 79 insertions(+), 9 deletions(-) delete mode 100644 Pygments-2.13.0.tar.gz create mode 100644 Pygments-2.14.0.tar.gz diff --git a/Pygments-2.13.0.tar.gz b/Pygments-2.13.0.tar.gz deleted file mode 100644 index 8780e77..0000000 --- a/Pygments-2.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1 -size 4324285 diff --git a/Pygments-2.14.0.tar.gz b/Pygments-2.14.0.tar.gz new file mode 100644 index 0000000..cf1f9a8 --- /dev/null +++ b/Pygments-2.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297 +size 4434562 diff --git a/python-Pygments.changes b/python-Pygments.changes index c4624ce..d54aebd 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,76 @@ +------------------------------------------------------------------- +Mon Jan 2 13:54:50 UTC 2023 - Benoît Monin + +- update to 2.14.0: + * Added lexers: + + Arturo (#2259) + + GAP session (#2211) + + Fift (#2249) + + func (#2232) + + Jsonnet (#2239) + + Minecraft schema (#2276) + + MIPS (#2228) + + Phix (#2222) + + Portugol (#2300) + + TL-b (#2247) + + World of Warcraft TOC format (#2244, #2245) + + Wren (#2271) + * Updated lexers: + + Abap: Update keywords (#2281) + + Alloy: Update for Alloy 6 (#1963) + + C family (C, C++ and many others): + - Fix an issue where a chunk would be wrongly recognized as a + function definition due to braces in comments (#2210) + - Improve parantheses handling for function definitions + (#2207, #2208) + + C#: Fix number and operator recognition (#2256, #2257) + + CSound: Updated builtins (#2268) + + F#: Add .fsx file extension (#2282) + + gas (GNU assembler): recognize braces as punctuation (#2230) + + HTTP: Add CONNECT keyword (#2242) + + Inform 6: Fix lexing of properties and doubles (#2214) + + INI: Allow comments that are not their own line + (#2217, #2161) + + Java properties: Fix issue with whitespace-delimited keys, + support comments starting with ! and escapes, no longer + support undocumented ; and // comments (#2241) + + LilyPond: Improve heuristics, add \maxima duration (#2283) + + LLVM: Add opaque pointer type (#2269) + + Macaulay2: Update keywords (#2305) + + Minecraft-related lexers (SNB and Minecraft function) moved + to pygments.lexers.minecraft (#2276) + + Nim: General improvements (#1970) + + Nix: Fix single quotes inside indented strings (#2289) + + Objective J: Fix catastrophic backtracking (#2225) + + NASM: Add support for SSE/AVX/AVX-512 registers as well as + 'rel' and 'abs' address operators (#2212) + + Powershell: + - Add local: keyword (#2254) + - Allow continuations without markers (#2262, #2263) + + Solidity: Add boolean operators (#2292) + + Spice: Add enum keyword and fix a bug regarding binary, + hexadecimal and octal number tokens (#2227) + + YAML: Accept colons in key names (#2277) + * Fix make mapfiles when Pygments is not installed in editable + mode (#2223) + * Support more filetypes and compression types in autopygmentize + (#2219) + * Merge consecutive tokens in Autohotkey, Clay (#2248) + * Add .nasm as a recognized file type for NASM (#2280) + * Add *Spec.hs as a recognized file type for HSpec (#2308) + * Add *.pyi (for typing stub files) as a recognized file type for + Python (#2331) + * The HTML lexer no longer emits empty spans for whitespace + (#2304) + * Fix IRCFormatter inserting linenumbers incorrectly (#2270) +- set minimum python version to 3.6: + increased upstream -- gh#pygments/pygments#2059 +- remove lxml BuildRequires: + dropped upstream -- gh#pygments/pygments#2301 +- remove skip_python2: python >= 3.6 is already required +- drop python_module macro definition: provided by + python-rpm-macros + ------------------------------------------------------------------- Thu Aug 18 15:23:43 UTC 2022 - Benoît Monin diff --git a/python-Pygments.spec b/python-Pygments.spec index 4f0bcd8..d111dd3 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pygments # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,18 +23,15 @@ %bcond_with libalternatives %endif -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pygments -Version: 2.13.0 +Version: 2.14.0 Release: 0 Summary: A syntax highlighting package written in Python License: BSD-2-Clause Group: Development/Languages/Python URL: http://pygments.org Source: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.5} -BuildRequires: %{python_module lxml} +BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module pytest >= 7} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wcag-contrast-ratio}