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 photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2023Q3
py-pygments Syntax highlighter written in Python
2.19.2 textproc on this many watch lists=39 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.19.2Version 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: 2025-06-22 06:30:13
Commit Hash: 4b481e4
People watching this port, also watch:: libxml2, libiconv, expat, 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 py311-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 py311-pygments listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-pygments
Package flavors (<flavor>: <package>)
  • py311: py311-pygments
distinfo:
TIMESTAMP = 1750573109 SHA256 (pygments-2.19.2.tar.gz) = 636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887 SIZE (pygments-2.19.2.tar.gz) = 4968631

Packages (timestamps in pop-ups are UTC):
py37-pygments
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.7.2---2.7.2-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 
py39-pygments
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--2.15.1--2.17.22.17.22.17.2
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/a2.17.22.17.22.17.2
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 
py311-pygments
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.19.22.19.2-2.19.22.19.2---
FreeBSD:13:quarterly2.19.22.19.2-2.19.22.19.2---
FreeBSD:14:latest2.19.22.19.2-2.19.22.19.2---
FreeBSD:14:quarterly2.19.22.19.2-2.19.22.19.2---
FreeBSD:15:latest2.19.22.19.2n/a2.19.1n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-2.19.2n/a-n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatchling>=1.18.0 : devel/py-hatchling@py311
  2. python3.11 : lang/python311
  3. py311-build>=0 : devel/py-build@py311
  4. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest-cov>=4.1.0 : devel/py-pytest-cov@py311
  2. py311-pytest-randomly>=3.12.0 : devel/py-pytest-randomly@py311
  3. py311-wcag-contrast-ratio>=0.9 : www/py-wcag-contrast-ratio@py311
  4. py311-pytest>=7,1 : devel/py-pytest@py311
  5. python3.11 : lang/python311
  6. tex.fmt : print/tex-formats
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Build
  1. devel/libsoup3
  2. games/openage
  3. graphics/qgis
  4. graphics/qgis-ltr
  5. math/mathicsscript
  6. science/abinit
  7. sysutils/conan
Expand this list (15 items / 8 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. sysutils/mog
  3. textproc/gtk-doc
  4. textproc/py-mathics-pygments
  5. 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 (113 items / 106 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-jupyter_console
  10. devel/py-knack
  11. devel/py-lineedit
  12. devel/py-mdv
  13. devel/py-mrkd
  14. devel/py-nbconvert
  15. devel/py-nbdime
  16. devel/py-pdoc
  17. devel/py-ptpython
  18. devel/py-pudb
  19. devel/py-pyface
  20. devel/py-pyinquirer
  21. devel/py-pyroma
  22. devel/py-pytest
  23. devel/py-qtconsole
  24. devel/py-readme-renderer
  25. devel/py-typecode
  26. devel/tortoisehg
  27. devel/viewvc-devel
  28. editors/retext
  29. games/openage
  30. graphics/py-mayavi
  31. graphics/py-rich-pixels
  32. graphics/py-traitsui
  33. graphics/qgis
  34. graphics/qgis-ltr
  35. math/mathicsscript
  36. math/py-mathics
  37. misc/py-napari
  38. net/py-errbot
  39. net/py-softlayer
  40. science/py-jupyter_jsmol
  41. science/py-vedo
  42. security/py-pwntools
  43. shells/xonsh
  44. sysutils/conan
  45. sysutils/mog
  46. sysutils/py-azure-cli
  47. sysutils/py-howdoi
  48. sysutils/py-qmk
  49. textproc/gtk-doc
  50. textproc/lookatme
  51. textproc/py-accessible-pygments
  52. textproc/py-furo
  53. textproc/py-gi-docgen
  54. textproc/py-jc
  55. textproc/py-jsx-lexer
  56. textproc/py-jupyterlab-pygments
  57. textproc/py-markdown2
  58. textproc/py-mathics-pygments
  59. textproc/py-mkdocs-material
  60. textproc/py-pydata-sphinx-theme
  61. textproc/py-pymdown-extensions
  62. textproc/py-rich
  63. textproc/py-rst2html5
  64. textproc/py-sphinx
  65. textproc/py-sphinx-tabs
  66. textproc/rubygem-albino
  67. www/moin2
  68. www/py-WebError
  69. www/py-grip
  70. www/py-httpie
  71. www/py-nicegui
  72. www/py-nicegui-nogui
  73. www/py-nikola
  74. www/py-pelican
  75. www/py-searxng-devel
  76. www/qutebrowser
  77. www/trac
  78. x11-toolkits/py-kivy
  79. x11-toolkits/py-superqt
  80. 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