notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Port details on branch 2023Q3
py-pygments Syntax highlighter written in Python
2.21.0 textproc on this many watch lists=36 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.21.0Version of this port present on the latest quarterly branch.
Maintainer: nivit@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2007-04-02 21:35:33
Last Update: 2026-08-18 09:52:03
Commit Hash: 28b5311
People watching this port, also watch:: libxml2, expat, libiconv, freetype2, png
Also Listed In: python
License: BSD2CLAUSE
WWW:
https://pygments.org/
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
To install the port:
cd /usr/ports/textproc/py-pygments/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-pygments
  • pkg install py312-pygments
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-pygments listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-pygments
Package flavors (<flavor>: <package>)
  • py312: py312-pygments
distinfo:
TIMESTAMP = 1787039583 SHA256 (pygments-2.21.0.tar.gz) = 610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c SIZE (pygments-2.21.0.tar.gz) = 5005329

Packages (timestamps in pop-ups are UTC):
py39-pygments
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest--n/an/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/an/a
FreeBSD:14:latest--2.14.0--2.15.1-2.15.1-
FreeBSD:14:quarterly-----2.17.22.17.22.17.2-
FreeBSD:15:latest--n/a-n/an/a2.17.22.17.2-
FreeBSD:15:quarterly--n/a-n/an/a---
FreeBSD:16:latest--n/a-n/an/a---
 
py311-pygments
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest2.20.02.20.0n/an/an/an/an/an/an/a
FreeBSD:13:quarterly2.20.02.20.0n/an/an/an/an/an/an/a
FreeBSD:14:latest---2.19.2-----
FreeBSD:14:quarterly---2.19.2-----
FreeBSD:15:latest--n/a2.19.2n/an/a---
FreeBSD:15:quarterly--n/a-n/an/a---
FreeBSD:16:latest--n/a-n/an/a---
 
py312-pygments
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest--n/an/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/an/a
FreeBSD:14:latest2.21.02.21.0--2.21.0----
FreeBSD:14:quarterly2.21.02.21.0--2.21.0----
FreeBSD:15:latest2.21.02.21.0n/a-n/an/a---
FreeBSD:15:quarterly2.21.02.21.0n/a-n/an/a---
FreeBSD:16:latest2.21.02.21.0n/a-n/an/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-hatchling>=1.18.0 : devel/py-hatchling@py312
  2. python3.12 : lang/python312
  3. py312-build>=0 : devel/py-build@py312
  4. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. py312-pytest-cov>=4.1.0 : devel/py-pytest-cov@py312
  2. py312-pytest-randomly>=3.12.0 : devel/py-pytest-randomly@py312
  3. py312-wcag-contrast-ratio>=0.9 : www/py-wcag-contrast-ratio@py312
  4. py312-pytest>=7,1 : devel/py-pytest@py312
  5. python3.12 : lang/python312
  6. tex.fmt : print/tex-formats
Runtime dependencies:
  1. python3.12 : lang/python312
This port is required by:
for Build
  1. devel/libsoup3
  2. devel/py-marimo
  3. games/openage
  4. graphics/qgis
  5. graphics/qgis-ltr
  6. math/mathicsscript
  7. science/abinit
Expand this list (16 items / 9 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. sysutils/conan
  3. sysutils/mog
  4. textproc/gtk-doc
  5. textproc/py-mathics-pygments
  6. Collapse this list.

Deleted ports which required this port:

Expand this list of 5 deleted ports
  1. devel/py-mwlib.rl*
  2. devel/qbzr*
  3. math/sage*
  4. science/py-pydap*
  5. www/searx*
  6. Collapse this list of deleted ports.
for Run
  1. audio/lv2
  2. comms/py-pymodbus
  3. databases/py-litecli
  4. databases/py-mycli
  5. databases/py-pgcli
  6. devel/bpython
  7. devel/cppcheck
Expand this list (120 items / 113 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/ipython
  3. devel/py-cli-helpers
  4. devel/py-colored-traceback
  5. devel/py-copier
  6. devel/py-devtools
  7. devel/py-diff-cover
  8. devel/py-http-prompt
  9. devel/py-icecream
  10. devel/py-ipython-pygments-lexers
  11. devel/py-jupyter_console
  12. devel/py-knack
  13. devel/py-lineedit
  14. devel/py-marimo
  15. devel/py-mdv
  16. devel/py-mrkd
  17. devel/py-nbconvert
  18. devel/py-nbdime
  19. devel/py-pdoc
  20. devel/py-ptpython
  21. devel/py-pudb
  22. devel/py-pyface
  23. devel/py-pyinquirer
  24. devel/py-pyroma
  25. devel/py-pytest
  26. devel/py-qtconsole
  27. devel/py-readme-renderer
  28. devel/py-typecode
  29. devel/py-ubelt
  30. devel/tortoisehg
  31. devel/viewvc
  32. devel/viewvc-devel
  33. editors/retext
  34. games/openage
  35. graphics/py-mayavi
  36. graphics/py-rich-pixels
  37. graphics/py-traitsui
  38. graphics/qgis
  39. graphics/qgis-ltr
  40. mail/py-exchangelib
  41. math/mathicsscript
  42. math/py-mathics
  43. misc/py-napari
  44. net/py-errbot
  45. net/py-softlayer
  46. science/py-jupyter_jsmol
  47. security/py-pwntools
  48. shells/xonsh
  49. sysutils/conan
  50. sysutils/mog
  51. sysutils/py-howdoi
  52. sysutils/py-qmk
  53. textproc/gtk-doc
  54. textproc/lookatme
  55. textproc/py-accessible-pygments
  56. textproc/py-furo
  57. textproc/py-gi-docgen
  58. textproc/py-jc
  59. textproc/py-jsx-lexer
  60. textproc/py-jupyterlab-pygments
  61. textproc/py-markdown2
  62. textproc/py-mathics-pygments
  63. textproc/py-mkdocs-material
  64. textproc/py-pydata-sphinx-theme
  65. textproc/py-pymdown-extensions
  66. textproc/py-rich
  67. textproc/py-rich-rst
  68. textproc/py-rst2html5
  69. textproc/py-sphinx
  70. textproc/py-sphinx-tabs
  71. textproc/py-textual
  72. textproc/py-zensical
  73. textproc/rubygem-albino
  74. www/moin2
  75. www/py-WebError
  76. www/py-grip
  77. www/py-httpie
  78. www/py-nicegui
  79. www/py-nicegui-nogui
  80. www/py-nikola
  81. www/py-pelican
  82. www/py-searxng-devel
  83. www/qutebrowser
  84. www/trac
  85. x11-toolkits/py-kivy
  86. x11-toolkits/py-superqt
  87. Collapse this list.

Deleted ports which required this port:

Expand this list of 28 deleted ports
  1. devel/ipython5*
  2. devel/py-gdbgui*
  3. devel/py-mwlib.rl*
  4. devel/py-prettyprinter*
  5. devel/py-readme_renderer*
  6. devel/py-robotframework-ride*
  7. devel/py-spyder*
  8. devel/radian*
  9. devel/spyder*
  10. devel/tortoisehg2*
  11. japanese/trac*
  12. math/sage*
  13. textproc/ecromedos*
  14. textproc/gi-docgen*
  15. textproc/py-rich12*
  16. textproc/py-sphinx18*
  17. textproc/retext*
  18. textproc/scancode-toolkit*
  19. www/httpie*
  20. www/pelican*
  21. www/py-blogofile*
  22. www/py-django-dpaste*
  23. www/py-kallithea*
  24. www/py-rhodecode*
  25. www/py-searx*
  26. www/reviewboard*
  27. www/searx*
  28. www/trac-devel*
  29. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
textproc_py-pygments
USES:
cpe python tex
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pygments/
  2. https://pypi.org/packages/source/p/pygments/
Collapse this list.

There are no commits on branch 2023Q3 for this port