BSD Ports

textproc/py-pygments-25 2.5.2_1 MidnightBSD

Syntax highlighter written in Python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2
Categories
textproc, python

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

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pygments-25

From mports:

cd /usr/mports/textproc/py-pygments-25 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments-25>0:textproc/py-pygments-25

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
python:2.7+
Service scripts
none
Conflicts with
py??-pygments

Files

distinfo 1
FileSizeSHA256
Pygments-2.5.2.tar.gz2.0263984e+0798c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe
Master sites 1
  • PYPI