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

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


Branch: CURRENT, Version: 1.2.1, Package name: ruby24-pygments.rb-1.2.1, 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:

SHA1: d8be827505b80ee6951b0ccf86fcf0bcfdedc01e
RMD160: 06c1116a8aebc33df8eaf67e60f5caf5a5a2a8fd
Filesize: 1148.5 KB

Version history: (Expand)


CVS history: (Expand)


   2018-03-21 13:15:34 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-pygments.rb: pdate to 1.2.1

Version 1.2.1 (2017/12/07)
-----------------------------

* Automatically update `lexers` cache on build \ 
[186](https://github.com/tmm1/pygments.rb/pull/186)
  * See [#185](https://github.com/tmm1/pygments.rb/pull/185) for the reason

Version 1.2.0 (2017/09/13)
-----------------------------

* Exclude symlinks from the gem package to solve Windows issues \ 
[#181](https://github.com/tmm1/pygments.rb/pull/181)
* Upgrade pygments to 2.0.0 [#180](https://github.com/tmm1/pygments.rb/pull/180)
   2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229)
Log message:
Switch github HOMEPAGEs to https.
   2017-04-22 19:19:48 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-pygments.rb to 1.1.2.

Version 1.1.2 (2017/04/03)

* Resolves #176 exclude find_error.py symlink from gem \ 
[#177](https://github.com/tmm1/pygments.rb/pull/177)
   2017-03-20 16:54:41 by Takahiro Kambe | Files touched by this commit (5) | Package updated
Log message:
Update ruby-pygments.rb to 1.1.1.

Version 1.1.1 (2016/12/28)
-----------------------------

* Suppress Ruby 2.4.0's warnings [#172](https://github.com/tmm1/pygments.rb/pull/172)
* Enable `frozen_string_literal` [#173](https://github.com/tmm1/pygments.rb/pull/173)

Version 1.1.0 (2016/12/24)
-----------------------------

* Support JRuby [#170](https://github.com/tmm1/pygments.rb/pull/170)
* Make pygments.rb thread safe [#171](https://github.com/tmm1/pygments.rb/pull/171)

Version 1.0.0 (2016/12/11)
-----------------------------

* Upgrade bundled pygments to 2.2.0-HEAD \ 
[#167](https://github.com/tmm1/pygments.rb/pull/167)
  * This includes **incompatible changes* because of upgrade of pygments.
    See http://pygments.org/ for details.
* Relax yajl-ruby dependency to "~> 1.2" \ 
[#164](https://github.com/tmm1/pygments.rb/pull/164)
* Python binary can be configured by `PYTMENTS_RB_PYTHON` env \ 
[#168](https://github.com/tmm1/pygments.rb/pull/168)
* Improved error messages when python binary is missing \ 
[#158](https://github.com/tmm1/pygments.rb/pull/158)
   2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.
   2016-07-09 15:04:18 by Thomas Klausner | Files touched by this commit (599)
Log message:
Remove python33: adapt all packages that refer to it.
   2015-12-05 22:26:09 by Adam Ciarcinski | Files touched by this commit (578)
Log message:
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
   2015-11-23 13:16:32 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
Mark as not ready for python-3.x.
Bump PKGREVISION.