Port details |
- py-ufmt Safe, atomic formatting with black and usort
- 2.7.0 devel
=0 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 search for ports maintained by this maintainer](/images/search.jpg) - Port Added: 2024-04-06 00:03:16
- Last Update: 2024-06-18 14:25:57
- Commit Hash: 938a1f1
- 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.
![Homepage Homepage](/images/home.svg) ¦ ¦ ¦ ¦ ![SVNWeb - no subversion history for this port SVNWeb - no subversion history for this port](/images/subversion-greyed.png)
- 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:
-
- py311-ufmt>0:devel/py-ufmt
- 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.- PKGNAME: py311-ufmt
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1718690480
SHA256 (ufmt-2.7.0.tar.gz) = fc4832cc1b2eaf6acfce4e1437a2a3b23f1ad81a8c568d73f33006ad254562b5
SIZE (ufmt-2.7.0.tar.gz) = 77188
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-flit-core>=3.8<4 : devel/py-flit-core@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-black>=20.8b0 : devel/py-black@py311
- py311-click>=8.0 : devel/py-click@py311
- py311-libcst>=0.4.0 : devel/py-libcst@py311
- py311-moreorless>=0.4.0 : devel/py-moreorless@py311
- py311-tomlkit>=0.7.2 : textproc/py-tomlkit@py311
- py311-trailrunner>=1.2.1 : devel/py-trailrunner@py311
- py311-typing-extensions>=4.0 : devel/py-typing-extensions@py311
- py311-usort>=1.0 : devel/py-usort@py311
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.7.0 18 Jun 2024 14:25:57
![commit hash: 938a1f195fb0621002c3150ed1077d563228de78 commit hash: 938a1f195fb0621002c3150ed1077d563228de78](/images/git.png) ![commit hash: 938a1f195fb0621002c3150ed1077d563228de78 commit hash: 938a1f195fb0621002c3150ed1077d563228de78](/images/codeberg.svg) ![commit hash: 938a1f195fb0621002c3150ed1077d563228de78 commit hash: 938a1f195fb0621002c3150ed1077d563228de78](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Po-Chuan Hsieh (sunpoet) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
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: 70ff31051275b7f82a7790aa3c235bcba14388e8 commit hash: 70ff31051275b7f82a7790aa3c235bcba14388e8](/images/git.png) ![commit hash: 70ff31051275b7f82a7790aa3c235bcba14388e8 commit hash: 70ff31051275b7f82a7790aa3c235bcba14388e8](/images/codeberg.svg) ![commit hash: 70ff31051275b7f82a7790aa3c235bcba14388e8 commit hash: 70ff31051275b7f82a7790aa3c235bcba14388e8](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Po-Chuan Hsieh (sunpoet) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
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: 006a0833a75cdd489bc8c37208ecf046079b620c commit hash: 006a0833a75cdd489bc8c37208ecf046079b620c](/images/git.png) ![commit hash: 006a0833a75cdd489bc8c37208ecf046079b620c commit hash: 006a0833a75cdd489bc8c37208ecf046079b620c](/images/codeberg.svg) ![commit hash: 006a0833a75cdd489bc8c37208ecf046079b620c commit hash: 006a0833a75cdd489bc8c37208ecf046079b620c](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Po-Chuan Hsieh (sunpoet) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
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. |