Accepting request 1058308 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1058308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2023-01-15 16:57:56 +00:00 committed by Git OBS Bridge
commit 347150c61f
4 changed files with 80 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1
size 4324285

3
Pygments-2.14.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297
size 4434562

View File

@ -1,3 +1,76 @@
-------------------------------------------------------------------
Mon Jan 2 13:54:50 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
- 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 <benoit.monin@gmx.fr> Thu Aug 18 15:23:43 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-Pygments # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -23,18 +23,15 @@
%bcond_with libalternatives %bcond_with libalternatives
%endif %endif
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pygments Name: python-Pygments
Version: 2.13.0 Version: 2.14.0
Release: 0 Release: 0
Summary: A syntax highlighting package written in Python Summary: A syntax highlighting package written in Python
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://pygments.org URL: https://pygments.org
Source: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.5} BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest >= 7} BuildRequires: %{python_module pytest >= 7}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wcag-contrast-ratio} BuildRequires: %{python_module wcag-contrast-ratio}