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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-ufmt Safe, atomic formatting with black and usort
2.5.1 develnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-04-06 00:03:16
Last Update: 2024-04-05 23:56:50
Commit Hash: 006a083
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 py39-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 py39-ufmt listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-ufmt
Package flavors (<flavor>: <package>)
  • py39: py39-ufmt
distinfo:
TIMESTAMP = 1712330561 SHA256 (ufmt-2.5.1.tar.gz) = af53400cbc0498d5d57f79bdf8c0e13df67f384ab38ab9881b15e4ceb04c5d64 SIZE (ufmt-2.5.1.tar.gz) = 75447

Packages (timestamps in pop-ups are UTC):
py39-ufmt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.5.12.5.1--2.5.1---
FreeBSD:13:quarterly2.5.12.5.1--2.5.1---
FreeBSD:14:latest2.5.12.5.1--2.5.1---
FreeBSD:14:quarterly2.5.12.5.1--2.5.1---
FreeBSD:15:latest2.5.12.5.1n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-flit-core>=3.8<4 : devel/py-flit-core@py39
  2. python3.9 : lang/python39
  3. py39-build>=0 : devel/py-build@py39
  4. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-black>=20.8b0 : devel/py-black@py39
  2. py39-click>=8.0 : devel/py-click@py39
  3. py39-libcst>=0.4.0 : devel/py-libcst@py39
  4. py39-moreorless>=0.4.0 : devel/py-moreorless@py39
  5. py39-tomlkit>=0.7.2 : textproc/py-tomlkit@py39
  6. py39-trailrunner>=1.2.1 : devel/py-trailrunner@py39
  7. py39-typing-extensions>=4.0 : devel/py-typing-extensions@py39
  8. py39-usort>=1.0 : devel/py-usort@py39
  9. python3.9 : lang/python39
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: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 1