./www/ruby-pygments.rb, Pygments wrapper for ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2019Q3, Version: 1.2.1nb1, Package name: ruby24-pygments.rb-1.2.1nb1, 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/ruby24-base] [lang/python27] [textproc/ruby-multi_json]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: d8be827505b80ee6951b0ccf86fcf0bcfdedc01e
RMD160: 06c1116a8aebc33df8eaf67e60f5caf5a5a2a8fd
Filesize: 1148.5 KB

Version history: (Expand)