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

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


Branch: CURRENT, Version: 2.2.0, Package name: ruby26-pygments.rb-2.2.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:

SHA1: d44490d57246db6d8040743b71f99e9840498e4b
RMD160: 2da93e2710d0c6ea0cc714a5968fcc489b4ea2cc
Filesize: 864.5 KB

Version history: (Expand)


CVS history: (Expand)


   2021-03-21 14:12:10 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-pygments.rb: update to 2.2.0

2.2.0 (2021-03-18)

* Add support for custom lexers (#187)
* Update Pygments to 2.8.1
   2021-03-07 14:48:27 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-pygments.rb: update to 2.1.0

2.1.0 (2021-02-14)

* Update Pygments to 2.8.0
   2021-01-16 14:08:40 by Takahiro Kambe | Files touched by this commit (5) | Package updated
Log message:
www/ruby-pygments.rb: update to 2.0.0

pkgsrc change: remove python27 restriction.

2.0.0 (2021-01-08) - @slonopotamus

* stop sending/receiving ids between Ruby and Python
* use close_others Ruby mechanism to prevent file descriptor leaking to
  Python

2.0.0.rc3 (2021-01-08) - @slonopotamus

* fix watchdog race condition leading to ThreadError(<killed thread>) on
  JRuby (#215)

2.0.0.rc2 (2021-01-07) - @slonopotamus

* Fix release workflow

2.0.0.rc1 (2021-01-07) - @slonopotamus

* Modify mentos.py to run on Python 3.x instead of Python 2.7
* Add :timeout parameter to allow for configurable timeouts
* Add several Python 3.x versions to test matrix
* Drop dependency on MultiJson
* Fix hanging on JRuby + Windows
* Update Pygments to 2.7.3
* Drop GitHub custom lexers
* Rework timeout handling
* Improve error message when Python is not found
* Breaking change Pygments.rb no longer sets default timeout for its
  operations
* Breaking change Now pygments.rb raises MentosError instead of returning
  nil on timeout
   2020-12-04 21:45:51 by Nia Alarie | Files touched by this commit (456)
Log message:
Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.
   2019-11-04 23:10:16 by Roland Illig | Files touched by this commit (243)
Log message:
www: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

Manually excluded phraseanet since pkglint got the indentation wrong.
   2019-09-02 15:20:22 by Adam Ciarcinski | Files touched by this commit (415)
Log message:
Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for \ 
future Python 3.8
   2019-04-26 15:14:25 by Maya Rashish | Files touched by this commit (473)
Log message:
Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.
   2019-04-25 09:33:32 by Maya Rashish | Files touched by this commit (620)
Log message:
PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.