11
0

129 Commits

Author SHA256 Message Date
38b665f89c Accepting request 1291573 from devel:languages:python
- Skip testcase that breaks with pytest 8.4.

OBS-URL: https://build.opensuse.org/request/show/1291573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=51
2025-07-10 21:14:59 +00:00
709380b11c - Skip testcase that breaks with pytest 8.4.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=127
2025-07-10 02:55:56 +00:00
157f195a11 Accepting request 1287798 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1287798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=50
2025-06-24 18:45:52 +00:00
26c9019df4 Accepting request 1287583 from home:benoit_monin:branches:devel:languages:python
- update to version 2.19.2
- skip random input tests because they get stuck from time to time

OBS-URL: https://build.opensuse.org/request/show/1287583
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=125
2025-06-23 05:37:58 +00:00
f8eedab652 Accepting request 1277326 from devel:languages:python
- Redownload source file to have the same version released in pypi.

OBS-URL: https://build.opensuse.org/request/show/1277326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=49
2025-05-15 14:59:48 +00:00
OBS User buildservice-autocommit
dcf7ab8331 auto commit by copy to link target
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=124
2025-05-15 14:59:48 +00:00
OBS User buildservice-autocommit
625bb98fb6 Updating link to change in openSUSE:Factory/python-Pygments revision 49
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=1316268b92399a310284d77bfb741698
2025-05-15 14:59:48 +00:00
4b04594242 - Redownload source file to have the same version released in pypi.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=123
2025-05-14 07:22:29 +00:00
1e3a45b8ac Accepting request 1251963 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1251963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=48
2025-03-11 19:42:32 +00:00
3611a3bc52 - Remove files from testsamples that licensedigger flagged as high risks.
Also created an issue upstream for potential licensing issues. See
  https://github.com/pygments/pygments/issues/2872
- Disable tests which depended on those files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=121
2025-03-11 07:56:11 +00:00
965a93db19 Accepting request 1239845 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=47
2025-01-23 16:57:23 +00:00
6c476ed6d2 - Drop dependency on ca-certificates-mozilla-prebuilt to really
avoid buildcycles

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=119
2025-01-23 11:32:10 +00:00
f544e30964 update to version 2.19.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=118
2025-01-06 21:56:27 +00:00
3473806d2f Accepting request 1191413 from home:benoit_monin:branches:devel:languages:python
fix build by forcing pip to use the prebuilt CA bundle

OBS-URL: https://build.opensuse.org/request/show/1191413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=117
2024-08-09 08:55:04 +00:00
e3c91fb8b2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=116 2024-07-15 14:30:18 +00:00
ceb19f606c - add buildignores to avoid bootstrap buildcycle
p11-kit/gtk-doc/python-Pygments which comes via
  pip/ca-certificates

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=115
2024-07-11 14:25:32 +00:00
bf0a651ea8 Accepting request 1172327 from devel:languages:python
- update to version 2.18.0:
  * New lexers:
    + Janet (#2557)
    + Lean 4 (#2618, #2626)
    + Luau (#2605)
    + Mojo (#2691, #2515)
    + org-mode (#2628, #2636)
    + Promela (#2620)
    + Soong / ``Android.bp`` (#2659)
    + Tact (#2571)
    + Typst (#2596)
  * Updated lexers:
    + Awk: recognize ternary operator (#2687)
    + Bash: add ``openrc`` alias (#2599, #2371)
    + Coq: add keywords, lex more vernacular command arguments,
      produce fewer tokens on heading comments (#2678)
    + DNS zone files: Fix comment parsing (#2595)
    + Hy: Support unicode literals (#1126)
    + Inform6: Update to Inform 6.42 (#2644)
    + lean: Fix name handling (#2614)
    + Logtalk: add ``uninstantiation`` keyword and recognize escape
      sequences (#2619)
    + Macaulay2: Update to 1.23 (#2655)
    + Python: fix highlighting of soft keywords before ``None``/
      ``True``/``False``
    + reStructuredText: use ``Token.Comment`` for comments instead
      of ``Comment.Preproc`` (#2598)
    + Rust: highlight ``:``, ``::`` and ``->`` as ``Punctuation``
      and whitespace as ``Whitespace``, instead of ``Text`` in both
      cases (#2631)

OBS-URL: https://build.opensuse.org/request/show/1172327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=46
2024-05-13 15:56:55 +00:00
0e46b8a0e9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=112 2024-05-07 06:34:31 +00:00
e68da9f6b5 Accepting request 1172211 from home:benoit_monin:branches:devel:languages:python
- update to version 2.18.0
- set the base python version to 3.8
- drop the requirement of importlib-metadata: already included in python 3.8 and above
- remove unneeded executable bit from some python files

OBS-URL: https://build.opensuse.org/request/show/1172211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=109
2024-05-07 06:21:42 +00:00
eb650f444f Accepting request 1129077 from devel:languages:python
- update to 2.17.2:
  * Fix a packaging issue on macOS
  * Updated lexers:
  * TOML: Fix bug making lexing of single-quoted strings too
    eager
  * Cypher: fix comment matching, add missing keywords
  * Fortran: add ``elseif`` keyword
  * Lean: make it available as ``lean3``, in preparation for
  * a possible switch to ``lean`` highlighting as Lean 4
  * JSON: add MIME types and file extensions for several line-
    delimited JSON formats
  * Nix: many improvements
  * OCaml: Add ``and`` keyword, remove ``value`` from keywords
  * Python: add ``starlark`` and ``bazel`` aliases
  * Snowball: Treat ``len`` like ``size``
  * Spice: add ``panic`` keyword and ``->`` operator
  * squid.conf: fix catastrophic backtracking
  * TOML: rewritten, with many fixes
  * Turtle: support blank nodes
  * Wikitext: fix erroneous highlighting of LanguageConverter
    markup
  * CMake: support ``[=[ bracketed arguments ]=]```
  * Fix ctags support and tests
  * Include ``Lexer.add_filter`` in the documentation
  * Add a ``Lean3Lexer`` alias
  * The ``pygments.styles`` module contains a new ``STYLES``
    variable with a dictionary of built-in styles.  The old
    ``STYLE_MAP`` variable, which uses a different format,
    is kept for backwards compatibility.
  * On Windows, add a new installation extra (``windows-

OBS-URL: https://build.opensuse.org/request/show/1129077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=45
2023-11-28 21:18:15 +00:00
980ba03073 - update to 2.17.2:
* Fix a packaging issue on macOS
  * Updated lexers:
  * TOML: Fix bug making lexing of single-quoted strings too
    eager
  * Cypher: fix comment matching, add missing keywords
  * Fortran: add ``elseif`` keyword
  * Lean: make it available as ``lean3``, in preparation for
  * a possible switch to ``lean`` highlighting as Lean 4
  * JSON: add MIME types and file extensions for several line-
    delimited JSON formats
  * Nix: many improvements
  * OCaml: Add ``and`` keyword, remove ``value`` from keywords
  * Python: add ``starlark`` and ``bazel`` aliases
  * Snowball: Treat ``len`` like ``size``
  * Spice: add ``panic`` keyword and ``->`` operator
  * squid.conf: fix catastrophic backtracking
  * TOML: rewritten, with many fixes
  * Turtle: support blank nodes
  * Wikitext: fix erroneous highlighting of LanguageConverter
    markup
  * CMake: support ``[=[ bracketed arguments ]=]```
  * Fix ctags support and tests
  * Include ``Lexer.add_filter`` in the documentation
  * Add a ``Lean3Lexer`` alias
  * The ``pygments.styles`` module contains a new ``STYLES``
    variable with a dictionary of built-in styles.  The old
    ``STYLE_MAP`` variable, which uses a different format,
    is kept for backwards compatibility.
  * On Windows, add a new installation extra (``windows-

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=107
2023-11-27 09:26:31 +00:00
7dbf141366 Accepting request 1123390 from devel:languages:python
- Add skip-wcag-contrast-ratio.patch to make
  python-wcag-contrast-ratio just optional dependency
  (gh#pygments/pygments!2564).

OBS-URL: https://build.opensuse.org/request/show/1123390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=44
2023-11-06 20:13:42 +00:00
891dbeaad5 Add skip-wcag-contrast-ratio.patch to make python-wcag-contrast-ratio just optional dependency (gh#pygments/pygments!2564).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=105
2023-11-05 07:40:18 +00:00
b37f0f9357 Draft of the patch send up
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=104
2023-11-05 07:22:48 +00:00
b2afb8964a Accepting request 1109328 from devel:languages:python
it) (CVE-2021-20270, bsc#1183169, CVE-2021-27291, bsc#1184812):
  * drops cve_2021_20270.patch, cve_2021_27291.patch in older dists

OBS-URL: https://build.opensuse.org/request/show/1109328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=43
2023-09-07 19:12:43 +00:00
8ae7f2b854 it) (CVE-2021-20270, bsc#1183169, CVE-2021-27291, bsc#1184812):
* drops cve_2021_20270.patch, cve_2021_27291.patch in older dists

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=102
2023-09-06 19:26:15 +00:00
f50e7995b2 Accepting request 1102730 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1102730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=42
2023-08-14 20:34:58 +00:00
f1ff54e402 Accepting request 1102719 from home:benoit_monin:branches:devel:languages:python
update to version 2.16.1

OBS-URL: https://build.opensuse.org/request/show/1102719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=100
2023-08-07 14:43:13 +00:00
5ba13584d1 Accepting request 1084417 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1084417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=41
2023-05-04 15:09:09 +00:00
1ac03858c5 Accepting request 1084416 from home:dirkmueller:acdc:as_python3_module
- Make calling of %{sle15modernpython} optional.

OBS-URL: https://build.opensuse.org/request/show/1084416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=98
2023-05-03 15:14:48 +00:00
9ddade1d98 Accepting request 1083107 from devel:languages:python
- add sle15_python_module_pythons (jsc#PED-68)

- update to 2.15.1:
  * Updated lexers:
    + Java properties: Fix catastrophic backtracking (#2356, #2404)
  * Fix Python console traceback lexing being too strict
    and sometimes reordering output (#2407, #2410, #2412)

- update to 2.15.0:
  * Added lexers:
    + Carbon (#2362, #2365, #2366, #2367, #2368, #2369, #2370)
    + Dax (#2335, #2345)
    + MediaWiki Wikitext (#2373, #827)
    + PostgreSQL Explain (#2398)
    + WGSL (WebGPU Shading Language) (#2386)
    + X++ (#2339)
  * Updated lexers:
    + AMDGPU: Add support for scratch_ instructions, the attr*.*
      argument, as well as the off modifier (#2327).
    + APDL: Miscellaneous improvements (#2314)
    + bash/tcsh:
      - Move break to keywords (#2377)
      - Improve bash math expansion lexing (#2255, #2353)
    + Chapel: Support attributes (#2376)
    + CMake: Implement bracket style comments (#2338, #2354)
    + CSS: Improve lexing of numbers inside function calls (#2382,
      #2383)
    + diff: Support normal diff syntax, as opposed to unified diff
      syntax (#2321)
    + GLSL, HLSL:

OBS-URL: https://build.opensuse.org/request/show/1083107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=40
2023-05-03 10:56:13 +00:00
b8fdf0397a - add sle15_python_module_pythons (jsc#PED-68)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=94
2023-04-26 20:14:46 +00:00
5a161fe9d8 Accepting request 1080279 from home:benoit_monin:branches:devel:languages:python
update to 2.15.1

OBS-URL: https://build.opensuse.org/request/show/1080279
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=93
2023-04-19 10:57:01 +00:00
d4ae05f938 Accepting request 1078284 from home:benoit_monin:branches:devel:languages:python
- update to 2.15.0
- increase required python version to 3.7
- set a minimum version for setuptools to match the requirement from upstream
- since setup.py is gone:
  * require pip and wheel to build
  * use pyproject macros to build and install

OBS-URL: https://build.opensuse.org/request/show/1078284
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=92
2023-04-11 14:48:42 +00:00
347150c61f 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
2023-01-15 16:57:56 +00:00
2cd5a065fd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=90 2023-01-06 22:01:55 +00:00
ae08bbbd7f 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
2023-01-02 17:30:17 +00:00
3ad03f264a Accepting request 998096 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/998096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=38
2022-08-20 18:27:49 +00:00
3ae33bb23d Accepting request 998014 from home:benoit_monin:branches:devel:languages:python
update to 2.13.0

OBS-URL: https://build.opensuse.org/request/show/998014
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=87
2022-08-19 06:49:48 +00:00
16968ce415 Accepting request 989964 from devel:languages:python
- Add BR of wcag-contrast-ratio to enable more tests.
- Removing a test file is too much a hack for me
- Don't fall back to setuptools but to importlib-metadata for
  plugin loading. (If a package for 15.X would be build, but
  Pytest 7 is required for testing -- gh#pygments/pygments#2080)

OBS-URL: https://build.opensuse.org/request/show/989964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=37
2022-08-08 06:44:52 +00:00
7a6601f27e Accepting request 989963 from home:mcepl:branches:devel:languages:python
- Add BR of wcag-contrast-ratio to enable more tests.

OBS-URL: https://build.opensuse.org/request/show/989963
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=85
2022-07-18 13:12:36 +00:00
fb5373309a - Removing a test file is too much a hack for me
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=84
2022-07-18 12:12:21 +00:00
cd8449b35a Accepting request 989740 from home:bnavigator:branches:devel:languages:python
fix another typo.

- Don't fall back to setuptools but to importlib-metadata for
  plugin loading. (If a package for 15.X would be build, but
  Pytest 7 is required for testing -- gh#pygments/pygments#2080)

OBS-URL: https://build.opensuse.org/request/show/989740
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=83
2022-07-18 12:05:11 +00:00
9a8f8e81ac Accepting request 977386 from devel:languages:python
- update to 2.12.0:
  - Added lexers:
    * Cplint (#2045)
    * Macaulay2 (#1791)
    * Minecraft (#2107)
    * Qlik (#1925)
    * ``UnixConfigLexer`` for "colon-separated" config files, like ``/etc/passwd`` (#2112)
  - Updated lexers:
    * Agda: Update keyword list (#2017)
    * C family: Fix identifiers after ``case`` statements (#2084)
    * Clojure: Highlight ratios (#2042)
    * Csound: Update to 6.17 (#2064)
    * CSS: Update the list of properties (#2113)
    * Elpi:
      - Fix catastrophic backtracking (#2053, #2061)
      - Fix handling of ``->`` (#2028)
    * Futhark: Add missing tokens (#2118)
    * Gherkin: Add ``But`` (#2046)
    * Inform6: Update to 6.36 (#2050)
    * LilyPond:
      - Fix incorrect lexing of names containing a built-in (#2071)
      - Fix properties containing dashes (#2099)
    * PHP: Update builtin function and keyword list (#2054, #2056)
    * Scheme: Various improvements (#2060)
    * Spice: Update the keyword list, add new types (#2063, #2067)
    * Terraform:
      - Support non-idiomatic comments (#2065, #2066)
      - Fix class name lexing (#2097)
  - Add ``plugins`` argument to ``get_all_lexers()``.
  - Bump minimal Python version to 3.6 (#2059)

OBS-URL: https://build.opensuse.org/request/show/977386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=36
2022-05-17 15:23:32 +00:00
4e507cda01 - update to 2.12.0:
- Added lexers:
    * Cplint (#2045)
    * Macaulay2 (#1791)
    * Minecraft (#2107)
    * Qlik (#1925)
    * ``UnixConfigLexer`` for "colon-separated" config files, like ``/etc/passwd`` (#2112)
  - Updated lexers:
    * Agda: Update keyword list (#2017)
    * C family: Fix identifiers after ``case`` statements (#2084)
    * Clojure: Highlight ratios (#2042)
    * Csound: Update to 6.17 (#2064)
    * CSS: Update the list of properties (#2113)
    * Elpi:
      - Fix catastrophic backtracking (#2053, #2061)
      - Fix handling of ``->`` (#2028)
    * Futhark: Add missing tokens (#2118)
    * Gherkin: Add ``But`` (#2046)
    * Inform6: Update to 6.36 (#2050)
    * LilyPond:
      - Fix incorrect lexing of names containing a built-in (#2071)
      - Fix properties containing dashes (#2099)
    * PHP: Update builtin function and keyword list (#2054, #2056)
    * Scheme: Various improvements (#2060)
    * Spice: Update the keyword list, add new types (#2063, #2067)
    * Terraform:
      - Support non-idiomatic comments (#2065, #2066)
      - Fix class name lexing (#2097)
  - Add ``plugins`` argument to ``get_all_lexers()``.
  - Bump minimal Python version to 3.6 (#2059)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=81
2022-05-15 19:01:44 +00:00
ef9feacf22 Accepting request 952059 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/952059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=35
2022-02-09 19:38:12 +00:00
7c515cfc09 Accepting request 951979 from home:benoit_monin:branches:devel:languages:python
- update to 2.11.2
- backport elpi_fix_catastrophic_backtracking.patch
- switch prep stage to autosetup
- remove commented-out shebang removal

OBS-URL: https://build.opensuse.org/request/show/951979
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=80
2022-02-07 09:27:11 +00:00
c2e2356a47 Accepting request 943586 from home:marxin:branches:devel:languages:python
- Update to 2.11.1:
  https://github.com/pygments/pygments/blob/master/CHANGES
- Remove one test as it requires wcag-contrast-ratio Python package.

I verified python-pelican package can be built with updated Pygments.

OBS-URL: https://build.opensuse.org/request/show/943586
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=79
2022-01-04 17:47:14 +00:00
d81347aca5 Accepting request 929733 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/929733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=34
2021-11-09 22:53:47 +00:00
49e9ec500a Accepting request 923312 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/923312
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=78
2021-11-05 18:01:28 +00:00