BSD Ports

textproc/py-pygments 2.21.0 NetBSD

Python syntax highlighter

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
3c733518e9
License
2-clause-bsd
Categories
textproc, python
Package size
1799.2 KiB, 12290.1 KiB installed

Description

Pygments is a syntax highlighting package written in Python.

It is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. Highlights are:

* a wide range of common languages and markup formats is supported * special attention is paid to details, increasing quality by a fair amount * support for new languages and formats are added easily * a number of output formats, presently HTML, LaTeX, RTF and ANSI sequences * it is usable as a command-line tool and as a library

In the other systems

SystemPortVersion
NetBSDtextproc/py-pygments2.21.0
FreeBSDtextproc/py-pygments2.21.0
OpenBSDtextproc/py-pygments2.21.0
DragonFlytextproc/py-pygments2.19.1
MidnightBSDtextproc/py-pygments2.20.0_1

Install

Binary package:

pkgin install py311-pygments

From pkgsrc:

cd /usr/pkgsrc/textproc/py-pygments && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-pygments-2.21.0, py313-pygments-2.21.0, py314-pygments-2.21.0

Commit history 1

DateCommitCreditsLog message
3c733518e9 wiz py-pygments: update to 2.21.0.
Version 2.21.0 --------------- (released August 17th, 2026) - New lexers: * BitBake (#3103) * Caddyfile (#3225) * CEL (#3048) * PureScript (#1077, #3054) - Updated lexers: * Bash: Fix coloured keyword at the beginning of a name (#2926) * Boogie: Add missing Boogie and Civl Verifier keywords (#3156) * C#: - Recognize interpolated verbatim strings with either ``$@`` or ``@$`` prefixes (#2685) - Support dollar-prefixed and multi-quote raw strings (#3129, #2897) - Recognize ``union`` (#3182) * C/C++: - Add C23/C++26 attributes (#3084) - Add more C2Y keywords (#3092) - Highlight a function following a namespace body (#2928) - Fix C/C++ lexer support for multiline pre-processor comments (#3051) …