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
Port details
py-ufmt Safe, atomic formatting with black and usort
2.8.0 devel on this many watch lists=2 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 2.7.2Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-04-06 00:03:16
Last Update: 2024-10-29 14:38:36
Commit Hash: cc8c061
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: MIT
WWW:
https://ufmt.omnilib.dev/en/stable/
https://github.com/omnilib/ufmt
Description:
ufmt is a safe, atomic code formatter for Python built on top of black and usort: - Black makes code review faster by producing the smallest diffs possible. Blackened code looks the same regardless of the project you're reading. - usort is a safe, minimal import sorter. Its primary goal is to make no "dangerous" changes to code, and to make no changes on code style. ufmt formats files in-memory, first with usort and then with black, before writing any changes back to disk. This enables a combined, atomic step in CI/CD workflows for checking or formatting files, without any chance of conflict or intermediate changes between the import sorter and the code formatter.
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.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}ufmt>0:devel/py-ufmt@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-ufmt/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-ufmt
  • pkg install py311-ufmt
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-ufmt listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-ufmt
Package flavors (<flavor>: <package>)
  • py311: py311-ufmt
distinfo:
TIMESTAMP = 1729994322 SHA256 (ufmt-2.8.0.tar.gz) = 72c9502915497678de9aeab8aa18604890f14f869f7f378dd26e2878bde84f13 SIZE (ufmt-2.8.0.tar.gz) = 24482

Packages (timestamps in pop-ups are UTC):
py311-ufmt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.8.02.8.0-2.8.02.8.0---
FreeBSD:13:quarterly2.7.32.7.3--2.7.3---
FreeBSD:14:latest2.8.02.8.0-2.8.02.8.0---
FreeBSD:14:quarterly2.7.32.7.3--2.7.3---
FreeBSD:15:latest2.8.02.8.0n/a2.8.0n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-flit-core>=3.8<4 : devel/py-flit-core@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. python3.11 : lang/python311
Runtime dependencies:
  1. py311-black>=20.8b0 : devel/py-black@py311
  2. py311-click>=8.0 : devel/py-click@py311
  3. py311-libcst>=0.4.0 : devel/py-libcst@py311
  4. py311-moreorless>=0.4.0 : devel/py-moreorless@py311
  5. py311-tomlkit>=0.7.2 : textproc/py-tomlkit@py311
  6. py311-trailrunner>=1.2.1 : devel/py-trailrunner@py311
  7. py311-typing-extensions>=4.0 : devel/py-typing-extensions@py311
  8. py311-usort>=1.0 : devel/py-usort@py311
  9. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-ufmt
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/u/ufmt/
  2. https://pypi.org/packages/source/u/ufmt/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.8.0
29 Oct 2024 14:38:36
commit hash: cc8c061659412bd5c96304ff2dd209c48639e5a8commit hash: cc8c061659412bd5c96304ff2dd209c48639e5a8commit hash: cc8c061659412bd5c96304ff2dd209c48639e5a8commit hash: cc8c061659412bd5c96304ff2dd209c48639e5a8 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-ufmt: Update to 2.8.0

Changes:	https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md
		https://ufmt.omnilib.dev/en/stable/changelog.html
2.7.3
30 Sep 2024 13:36:33
commit hash: fe43b65aa675f28d9a7e486bb581dd42b7698d12commit hash: fe43b65aa675f28d9a7e486bb581dd42b7698d12commit hash: fe43b65aa675f28d9a7e486bb581dd42b7698d12commit hash: fe43b65aa675f28d9a7e486bb581dd42b7698d12 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-ufmt: Update to 2.7.3

Changes:	https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md
		https://ufmt.omnilib.dev/en/stable/changelog.html
2.7.2
08 Sep 2024 18:37:38
commit hash: ad14f8ea41c6aeeee4bb82bbb61bfba264b3cc12commit hash: ad14f8ea41c6aeeee4bb82bbb61bfba264b3cc12commit hash: ad14f8ea41c6aeeee4bb82bbb61bfba264b3cc12commit hash: ad14f8ea41c6aeeee4bb82bbb61bfba264b3cc12 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-ufmt: Update to 2.7.2

Changes:	https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md
		https://ufmt.omnilib.dev/en/stable/changelog.html
2.7.0
18 Jun 2024 14:25:57
commit hash: 938a1f195fb0621002c3150ed1077d563228de78commit hash: 938a1f195fb0621002c3150ed1077d563228de78commit hash: 938a1f195fb0621002c3150ed1077d563228de78commit hash: 938a1f195fb0621002c3150ed1077d563228de78 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-ufmt: Update to 2.7.0

Changes:	https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md
		https://ufmt.omnilib.dev/en/stable/changelog.html
2.6.0
19 May 2024 17:15:47
commit hash: 70ff31051275b7f82a7790aa3c235bcba14388e8commit hash: 70ff31051275b7f82a7790aa3c235bcba14388e8commit hash: 70ff31051275b7f82a7790aa3c235bcba14388e8commit hash: 70ff31051275b7f82a7790aa3c235bcba14388e8 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-ufmt: Update to 2.6.0

Changes:	https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md
		https://ufmt.omnilib.dev/en/stable/changelog.html
2.5.1
05 Apr 2024 23:56:50
commit hash: 006a0833a75cdd489bc8c37208ecf046079b620ccommit hash: 006a0833a75cdd489bc8c37208ecf046079b620ccommit hash: 006a0833a75cdd489bc8c37208ecf046079b620ccommit hash: 006a0833a75cdd489bc8c37208ecf046079b620c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-ufmt: Add py-ufmt 2.5.1

ufmt is a safe, atomic code formatter for Python built on top of black and
usort:
- Black makes code review faster by producing the smallest diffs possible.
  Blackened code looks the same regardless of the project you're reading.
- usort is a safe, minimal import sorter. Its primary goal is to make no
  "dangerous" changes to code, and to make no changes on code style.

ufmt formats files in-memory, first with usort and then with black, before
writing any changes back to disk. This enables a combined, atomic step in CI/CD
workflows for checking or formatting files, without any chance of conflict or
intermediate changes between the import sorter and the code formatter.

Number of commits found: 6