BSD Ports

www/ruby-pygments.rb 4.0.0 NetBSD

Ruby wrapper for Pygments syntax highlighter

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
www, ruby
Package size
4395.6 KiB, 10816.9 KiB installed

Description

# 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.

Install

Binary package:

pkgin install ruby33-pygments.rb

From pkgsrc:

cd /usr/pkgsrc/www/ruby-pygments.rb && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.0.0
NetBSD 10.1 aarch644.0.0
SmartOS / illumos x86_644.0.0
macOS 15 arm644.0.0

Dependencies

Run dependencies 2
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-pygments.rb-4.0.0, ruby40-pygments.rb-4.0.0