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
py-ansi2html Convert text with ansi color codes to HTML
1.9.5 textproc on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.8.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-09-30 00:48:18
Last Update: 2026-09-12 11:23:33
Commit Hash: baa76b8
Also Listed In: python
License: LGPL3+
WWW:
https://ansi2html.readthedocs.io/
https://github.com/pycontribs/ansi2html
Description:
ansi2html converts text with ANSI color codes to HTML or to LaTeX. It is inspired by and developed off of the work of pixelbeat and blackjack.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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}ansi2html>0:textproc/py-ansi2html@${PY_FLAVOR}
To install the port:
cd /usr/ports/textproc/py-ansi2html/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-ansi2html
  • pkg install py312-ansi2html
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-ansi2html listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-ansi2html
Package flavors (<flavor>: <package>)
  • py312: py312-ansi2html
distinfo:
TIMESTAMP = 1789128490 SHA256 (ansi2html-1.9.5.tar.gz) = ae17e92f1d6cac0e67d367e07fb0ba8a23dac8f193fc5d7a8c8a50fe5ddd95a4 SIZE (ansi2html-1.9.5.tar.gz) = 45225

Packages (timestamps in pop-ups are UTC):
py39-ansi2html
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly-----1.8.01.8.01.8.0
FreeBSD:15:latest--n/a-n/an/a1.8.01.8.0
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-ansi2html
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.8.01.8.0n/an/an/an/an/an/a
FreeBSD:13:quarterly1.8.01.8.0n/an/an/an/an/an/a
FreeBSD:14:latest---1.8.0----
FreeBSD:14:quarterly---1.8.0----
FreeBSD:15:latest--n/a1.8.0n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py312-ansi2html
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest1.9.51.9.5--1.9.5---
FreeBSD:14:quarterly1.8.01.8.0--1.9.5---
FreeBSD:15:latest1.9.51.9.5n/a-n/an/a--
FreeBSD:15:quarterly1.9.51.8.0n/a-n/an/a--
FreeBSD:16:latest1.9.51.9.5n/a-n/an/a--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>=45.0.0 : devel/py-setuptools@py312
  2. py312-setuptools-scm>=7.0.0 : devel/py-setuptools-scm@py312
  3. py312-wheel>=0 : devel/py-wheel@py312
  4. python3.12 : lang/python312
  5. py312-build>=0 : devel/py-build@py312
  6. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. python3.12 : lang/python312
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
textproc_py-ansi2html
USES:
python
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/a/ansi2html/
  2. https://pypi.org/packages/source/a/ansi2html/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.9.5
12 Sep 2026 11:23:33
commit hash: baa76b82ab081f2a17969ed6b086792605e436d3commit hash: baa76b82ab081f2a17969ed6b086792605e436d3commit hash: baa76b82ab081f2a17969ed6b086792605e436d3commit hash: baa76b82ab081f2a17969ed6b086792605e436d3 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/py-ansi2html: Update to 1.9.5

Changes:	https://github.com/pycontribs/ansi2html/releases
1.9.4
09 Sep 2026 14:48:47
commit hash: d67e1e8d4a2119d4629703c10ba0811ac72ed613commit hash: d67e1e8d4a2119d4629703c10ba0811ac72ed613commit hash: d67e1e8d4a2119d4629703c10ba0811ac72ed613commit hash: d67e1e8d4a2119d4629703c10ba0811ac72ed613 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/py-ansi2html: Update to 1.9.4

Changes:	https://github.com/pycontribs/ansi2html/releases
1.9.2
19 Aug 2026 12:56:14
commit hash: fc9c72b401a510ea3886c3adfe591cdecddd879fcommit hash: fc9c72b401a510ea3886c3adfe591cdecddd879fcommit hash: fc9c72b401a510ea3886c3adfe591cdecddd879fcommit hash: fc9c72b401a510ea3886c3adfe591cdecddd879f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/py-ansi2html: Update to 1.9.2

Changes:	https://github.com/pycontribs/ansi2html/releases
1.8.0
29 Feb 2024 07:18:32
commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/py-setuptools-scm: update to 8.0.4

Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.

Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.

Further details: https://wiki.freebsd.org/Python/setuptools

Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288
1.8.0
30 Sep 2023 00:44:18
commit hash: 54334ae7efb47a5d329d15f0ad3a5d80f6b68a06commit hash: 54334ae7efb47a5d329d15f0ad3a5d80f6b68a06commit hash: 54334ae7efb47a5d329d15f0ad3a5d80f6b68a06commit hash: 54334ae7efb47a5d329d15f0ad3a5d80f6b68a06 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/py-ansi2html: Add py-ansi2html 1.8.0

ansi2html converts text with ANSI color codes to HTML or to LaTeX. It is
inspired by and developed off of the work of pixelbeat and blackjack.

Number of commits found: 5