Commit Graph

66 Commits

Author SHA256 Message Date
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
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
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
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
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
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
Benoît Monin
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
Benoît Monin
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
3ee1378582 - Update to 2.9.0:
- This time the list of changes is truly too long, take a look
    at https://github.com/pygments/pygments/blob/master/CHANGES.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=77
2021-07-15 05:18:14 +00:00
025919c22e 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
2021-01-29 22:09:00 +00:00
da2baadfb3 - Revert to 2.6.1 (higher version break python-Pelican).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=73
2020-12-04 13:07:44 +00:00
02ae8942a5 Accepting request 853103 from openSUSE:Factory
- update to version 2.7.2:
  * Updated lexers:
    + Latex (PR#1517, #1516)
    + LLVM (PR#1565)
    + SPARQL (PR#1559)
  * Fixed Python console/traceback lexer problems with custom
    exceptions without messages (#1548)
  * Allow loading ttc fonts on Mac/image formatter (#1223)
  * Improve analyze_text across a variety of lexers (PR#1549)
  * Removed CSS rule which forced the vertical padding to 0 for
    line numbers (PR#1583, #1579)
  * Fix TNTLexer crashing on unexpected EOL (#1568, PR#1570)
  * regexlint can be now run locally as part of tox tests (PR#1557)
  * Fix typos (PR#1550, #1562)
  * Add Python 3.9 as a supported version (PR#1554)
- drop shebang removal in _usd_builtins.py: fixed upstream

- update to version 2.7.1:
  * Fixed a regression in the JSON lexer (#1544)

- update to version 2.7.0:
  * Added lexers:
    + Arrow (PR#1481, PR#1499)
    + BARE (PR#1488)
    + Devicetree (PR#1434)
    + F* (PR#1409)
    + GDScript (PR#1457)
    + Pointless (PR#1494)
    + PromQL (PR#1506)
    + PsySH (PR#1438)

OBS-URL: https://build.opensuse.org/request/show/853103
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=72
2020-12-04 12:49:27 +00:00
96ca53093c - Revert to 2.6.1 to unbrake Pelican.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=71
2020-11-16 15:33:54 +00:00
d65ead726b Accepting request 848903 from openSUSE:Factory
Revert to r29

OBS-URL: https://build.opensuse.org/request/show/848903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=70
2020-11-16 15:25:33 +00:00
759f262137 Accepting request 843900 from home:benoit_monin:branches:devel:languages:python
- update to version 2.7.2
- drop shebang removal in _usd_builtins.py: fixed upstream

OBS-URL: https://build.opensuse.org/request/show/843900
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=68
2020-10-25 17:29:50 +00:00
Tomáš Chvátal
5f4f7358e8 Accepting request 835471 from home:benoit_monin:branches:devel:languages:python
- update to version 2.7.1:
  * Fixed a regression in the JSON lexer (#1544)

OBS-URL: https://build.opensuse.org/request/show/835471
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=67
2020-09-19 09:51:07 +00:00
Tomáš Chvátal
0e1f838be3 Accepting request 834354 from home:benoit_monin:branches:devel:languages:python
- update to version 2.7.0
- remove unnecessary executable bit on all source files

OBS-URL: https://build.opensuse.org/request/show/834354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=66
2020-09-15 06:58:50 +00:00
a2330ab5d6 Correct removing slave alternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=64
2020-04-14 17:17:50 +00:00
87db58e05b - Don't use %python3_only command, but properly use alternatives.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=63
2020-04-14 11:38:38 +00:00
Steve Kowalik
261354f07d Accepting request 786273 from home:benoit_monin:branches:devel:languages:python
fix the path of non-oss licensed files to remove

OBS-URL: https://build.opensuse.org/request/show/786273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=62
2020-03-19 05:51:14 +00:00
Tomáš Chvátal
c64fbb99d6 Accepting request 784691 from home:benoit_monin:branches:devel:languages:python
set the minimal version of python to 3.5 to match upstream requirement

OBS-URL: https://build.opensuse.org/request/show/784691
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=61
2020-03-14 07:01:58 +00:00
5053a4cf20 Accepting request 783089 from home:benoit_monin:branches:devel:languages:python
- update to version 2.6.1
- disable python2 build: Pygments is python 3 only now
- remove shebang from pygments/lexers/_usd_builtins.py: unneeded

OBS-URL: https://build.opensuse.org/request/show/783089
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=60
2020-03-09 22:31:50 +00:00
Tomáš Chvátal
6d9951f6c1 Accepting request 755071 from home:benoit_monin:branches:devel:languages:python
- update to version 2.5.2
- drop denose.patch: fixed upstream
- fix postuninstall alternative

OBS-URL: https://build.opensuse.org/request/show/755071
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=59
2019-12-09 07:33:18 +00:00
Tomáš Chvátal
8ab74062fa - Update to 2.4.2:
- Fix encoding error when guessing lexer with given ``encoding`` option
    (#1438)
  - Updated lexers:
    * Coq (#1430)
    * MSDOS Session (PR#734)
    * NASM (#1517)
    * Objective-C (PR#813, #1508)
    * Prolog (#1511)
    * TypeScript (#1515)
  - Support CSS variables in stylesheets (PR#814, #1356)
  - Fix F# lexer name (PR#709)
  - Fix ``TerminalFormatter`` using bold for bright text (#1480)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=57
2019-06-04 14:04:44 +00:00
Todd R
7b5b0aea36 Accepting request 704315 from home:TheBlackCat:branches:devel:languages:python
- Update to 2.4.0

Fixes build errors in x86-64

OBS-URL: https://build.opensuse.org/request/show/704315
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=55
2019-05-20 18:45:46 +00:00
51e92bc754 Accepting request 690448 from home:mcepl:branches:devel:languages:python
- Refresh denose.patch to make whole test suite to pass.
  bt#birkenfeld/pygments-main#1490

OBS-URL: https://build.opensuse.org/request/show/690448
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=53
2019-04-01 19:47:14 +00:00
Todd R
4fdb456f81 Accepting request 673426 from home:jengelh:branches:devel:languages:python
- Avoid name in summary (rpmlint).
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/673426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=51
2019-02-11 19:58:20 +00:00
Tomáš Chvátal
2cc7d8a540 - Update to 2.3.1:
* Update lexers
  * Minimum Python versions changed to 2.7 and 3.5
  *  Added support for Python 3.7 generator changes (PR#772)
  * Fix incorrect token type in SCSS for single-quote strings (#1322)
  * Use `terminal256` formatter if `TERM` contains `256` (PR#666)
  * Fix incorrect handling of GitHub style fences in Markdown (PR#741, #1389)
  * Fix `%a` not being highlighted in Python3 strings (PR#727)
- Drop patch python_37.diff which was merged upstream
- Refresh patch denose.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=50
2019-02-11 11:15:42 +00:00
3318ee464e Fix typo
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=48
2019-01-10 13:08:39 +00:00
201748a90f Add link to the Bitbucket issue
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=47
2019-01-10 01:24:33 +00:00
acf8bec509 - Added denose.patch removing dependency on the nose package.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=46
2019-01-10 01:20:45 +00:00
e45bac06ec Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=44
2018-12-04 13:51:22 +00:00
Tomáš Chvátal
5c78e06fdb Accepting request 623133 from home:mimi_vx:branches:devel:languages:python
- add python_37.diff  - fixes build with python-3.7+

OBS-URL: https://build.opensuse.org/request/show/623133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=42
2018-07-16 13:34:14 +00:00
d63efc57f4 - fix build in a python2.x only env
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=40
2017-08-15 12:52:10 +00:00
Todd R
588ae87355 Accepting request 486645 from home:TheBlackCat:branches:devel:languages:python
- Use https url.

OBS-URL: https://build.opensuse.org/request/show/486645
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=38
2017-04-07 21:14:11 +00:00
Todd R
3f162e6f45 Accepting request 486622 from home:TheBlackCat:branches:devel:languages:python
Update source url.

OBS-URL: https://build.opensuse.org/request/show/486622
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=37
2017-04-07 20:42:56 +00:00
Todd R
50a448bb23 Accepting request 486611 from home:TheBlackCat:branches:devel:languages:python
Update to 2.2.0

OBS-URL: https://build.opensuse.org/request/show/486611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=36
2017-04-07 20:20:17 +00:00
a931136a59 Accepting request 485737 from devel:languages:python:singlespec
- Fix python_module macro definition

- update for multipython build
- only distribute "pygmentize" for Python 3

OBS-URL: https://build.opensuse.org/request/show/485737
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=35
2017-04-05 11:35:42 +00:00
b1d8996e6d - update to 2.1.3:
- Fixed regression in Bash lexer (PR#563)
  - Fixed Python 3 regression in image formatter (#1215)
  - Fixed regression in Bash lexer (PR#562)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=33
2016-10-17 09:54:28 +00:00
85e507ebe6 Accepting request 359397 from home:stroeder:branches:devel:languages:python
update to 2.1.1

OBS-URL: https://build.opensuse.org/request/show/359397
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=31
2016-02-15 20:17:37 +00:00
50b80feafc Accepting request 358511 from home:olh:branches:devel:languages:python
- Disable testsuite in SLE_11 because it requires python 2.7

OBS-URL: https://build.opensuse.org/request/show/358511
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=30
2016-02-09 15:09:44 +00:00
Jan Matejek
1410eb3803 Accepting request 355773 from home:stroeder:branches:devel:languages:python
update to 2.1 (needed by python-Sphinx 1.3.5)

OBS-URL: https://build.opensuse.org/request/show/355773
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=28
2016-01-25 17:43:30 +00:00
Denisart Benjamin
deec4b56d2 Accepting request 290356 from home:netsroth:branches:devel:languages:python
- Update to version 2.0.2:
  * Fix Python tracebacks getting duplicated in the console lexer
  * Backquote-delimited identifiers are now recognized in F#
  * Fix an encoding issue when using pygmentize with the -o option.
  * Default lexer encoding is now “guess”
  * Major update to Swift lexer.
  * Multiple fixes to lexer guessing in conflicting cases
  * Simplified regexes and builtin lists.
  * Dropped Python 2.4 and 2.5 compatibility
  * Lexers added:
        APL (#969)
        Agda and Literate Agda (PR#203)
        Alloy (PR#355)
        AmbientTalk
        BlitzBasic (PR#197)
        ChaiScript (PR#24)
        Chapel (PR#256)
        Cirru (PR#275)
        Clay (PR#184)
        ColdFusion CFC (PR#283)
        Cryptol and Literate Cryptol (PR#344)
        Cypher (PR#257)
        Docker config files
        EBNF (PR#193)
        Eiffel (PR#273)
        GAP (PR#311)
        Golo (PR#309)
        Handlebars (PR#186)
        Hy (PR#238)
        Idris and Literate Idris (PR#210)

OBS-URL: https://build.opensuse.org/request/show/290356
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=26
2015-03-12 09:21:47 +00:00
Denisart Benjamin
9ec100ac46 Accepting request 229272 from Cloud:OpenStack:Master
- add LICENSE to doc section

OBS-URL: https://build.opensuse.org/request/show/229272
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=24
2014-04-07 14:48:18 +00:00
Sascha Peilicke
f3bc15f571 - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=22
2013-10-24 11:11:52 +00:00
Sascha Peilicke
68031faa61 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=20
2013-06-17 12:53:04 +00:00