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.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
py-pre-commit Framework for managing and maintaining multi-language pre-commit hooks
4.6.2 devel 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 4.6.0Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-05-27 20:14:44
Last Update: 2026-08-15 18:15:41
Commit Hash: c8e2767
Also Listed In: python
License: MIT
WWW:
https://pre-commit.com/
Description:
A framework for managing and maintaining multi-language pre-commit hooks.
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}pre-commit>0:devel/py-pre-commit@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-pre-commit/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-pre-commit
  • pkg install py312-pre-commit
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-pre-commit listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-pre-commit
Package flavors (<flavor>: <package>)
  • py312: py312-pre-commit
distinfo:
TIMESTAMP = 1786816643 SHA256 (pre_commit-4.6.2.tar.gz) = 8f5d7bfb021ecdbcd9d49d89847082dd24172ccde534390081a679ad046e2441 SIZE (pre_commit-4.6.2.tar.gz) = 198670

Packages (timestamps in pop-ups are UTC):
py39-pre-commit
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest--1.21.0--3.3.2-3.3.2
FreeBSD:14:quarterly-----3.6.03.6.03.6.0
FreeBSD:15:latest--n/a-n/an/a3.6.03.6.2
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-pre-commit
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.5.14.6.0n/an/an/an/an/an/a
FreeBSD:13:quarterly4.5.14.5.1n/an/an/an/an/an/a
FreeBSD:14:latest---4.3.0----
FreeBSD:14:quarterly---4.2.0----
FreeBSD:15:latest--n/a4.3.0n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py312-pre-commit
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest4.6.24.6.2--4.6.2---
FreeBSD:14:quarterly4.6.04.6.0--4.6.0---
FreeBSD:15:latest4.6.24.6.2n/a-n/an/a--
FreeBSD:15:quarterly4.6.04.6.0n/a-n/an/a--
FreeBSD:16:latest4.6.24.6.2n/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>0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. py312-cfgv>=2.0.0 : devel/py-cfgv@py312
  2. py312-identify>=1.0.0 : devel/py-identify@py312
  3. py312-nodeenv>=0.11.1 : devel/py-nodeenv@py312
  4. py312-sqlite3>0 : databases/py-sqlite3@py312
  5. py312-virtualenv>=20.10.0 : devel/py-virtualenv@py312
  6. py312-pyyaml>=5.1 : devel/py-pyyaml@py312
  7. python3.12 : lang/python312
This port is required by:
for Run
  1. devel/py-molecule
  2. devel/py-oslo.log

Configuration Options:
No options to configure
Options name:
devel_py-pre-commit
USES:
python shebangfix
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/pre_commit/
  2. https://pypi.org/packages/source/p/pre_commit/
Collapse this list.

There are no commits on branch 2026Q3 for this port