./www/ruby-pygments.rb, Ruby wrapper for Pygments syntax highlighter

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 4.0.0, Package name: ruby32-pygments.rb-4.0.0, Maintainer: pkgsrc-users

# pygments.rb

A Ruby wrapper for the Python [pygments syntax
highlighter](http://pygments.org/).

pygments.rb works by talking over a simple pipe to a long-lived Python child
process. This library replaces
[github/albino](https://github.com/github/albino), as well as a version of
pygments.rb that used an embedded Python interpreter.

Each Ruby process that runs has its own 'personal Python'; for example, 4
Unicorn workers will have one Python process each. If a Python process dies,
a new one will be spawned on the next pygments.rb request.


Required to run:
[lang/python27] [textproc/ruby-multi_json] [lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 2589.5 KB

Version history: (Expand)


CVS history: (Expand)


   2026-01-18 16:28:22 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-pygments.rb: update to 4.0.0

4.0.0 (2025-06-25)

Summary

* Major release that updates Pygments to 2.19.2.
* Oldest supported Ruby is now 2.7.
* Oldest supported Python is still 3.8.
   2024-06-02 17:25:51 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-pygments.rb: update to 3.0.0

3.0.0 (2024-05-14)

Summary

* Major release that updates Pygments to 2.18.0.
* Oldest supported Ruby is now 2.6.
* Oldest supported Python is now 3.8.
   2023-12-17 17:29:12 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-pygments.rb: update to 2.4.1

2.4.1 (2023-11-13)

Summary

* Minor bugfix release that fixes handling of Python virtual environments on
  Windows (credits to @george-palmsens)
   2023-08-14 07:25:36 by Thomas Klausner | Files touched by this commit (1247)
Log message:
*: recursive bump for Python 3.11 as new default
   2023-04-30 16:33:26 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-pygments.rb: update to 2.4.0

2.4.0 (2023-04-19)

Summary

This release updates Pygments to 2.15.1

Distribution

* RubyGem (pygments.rb)

Release meta

Released on: 2023-04-19
Released by: @slonopotamus

Contributors

* @slonopotamus
   2022-12-04 18:01:57 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-pygments.rb: update to 2.3.1

2.3.1 (2022-12-04)

Summary

This release fixes "Broken pipe error in Mentos" caused by inability
pygments.rb to find Python executable in certain environments

Distribution

* RubyGem (pygments.rb)

Release meta

Released on: 2022-12-04
Released by: @slonopotamus
   2022-08-31 17:48:27 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-pygments.rb: update to 2.3.0

2.3.0 (2022-01-05)

Summary

In this release, bundled Pygments was updated to 2.10.0.  Also, it is now
possibly to query underlying Pygments version via Pygments.pygments_version
function.
   2022-06-30 13:19:02 by Nia Alarie | Files touched by this commit (524)
Log message:
*: Revbump packages that use Python at runtime without a PKGNAME prefix