Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-usort Small, safe import sorter
1.1.3 devel Σ=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.1.3Version 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:19
Last Update: 2026-09-29 19:24:55
Commit Hash: f32c09f
Also Listed In: python
License: MIT
WWW:
https://usort.readthedocs.io/en/stable/
https://github.com/facebook/usort
Description: #
usort is a safe, minimal import sorter. Its primary goal is to make no "dangerous" changes to code. This is achieved by detecting distinct "blocks" of imports that are the most likely to be safely interchangeable, and only reordering imports within these blocks without altering formatting. Code style is left as an exercise for linters and formatters.
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}usort>0:devel/py-usort@${PY_FLAVOR}
To install the port: #
cd /usr/ports/devel/py-usort/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-usort
  • pkg install py312-usort
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-usort listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-usort
Package flavors (<flavor>: <package>) #
  • py312: py312-usort
distinfo: #
TIMESTAMP = 1790435850 SHA256 (usort-1.1.3.tar.gz) = 3928043b4644f35c80e417698b0e89cc7bb51a1b0a021f2ba55ceffb86326398 SIZE (usort-1.1.3.tar.gz) = 84734

Packages (timestamps in pop-ups are UTC): #
py311-usort
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---1.0.8.post1-
FreeBSD:14:quarterly---1.0.8.post1-
FreeBSD:15:latest--n/a1.0.8.post1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-usort
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.31.1.3--1.1.3
FreeBSD:14:quarterly1.1.31.1.3--1.1.3
FreeBSD:15:latest1.1.31.1.3n/a-n/a
FreeBSD:15:quarterly1.1.31.1.3n/a-n/a
FreeBSD:16:latest1.1.31.1.3n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-hatch-vcs>=0 : devel/py-hatch-vcs@py312
  2. py312-hatchling>=0 : devel/py-hatchling@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-attrs>=21.2.0 : devel/py-attrs@py312
  2. py312-click>=7.0.0 : devel/py-click@py312
  3. py312-libcst>=0.3.7 : devel/py-libcst@py312
  4. py312-moreorless>=0.3.0 : devel/py-moreorless@py312
  5. py312-stdlibs>=2021.4.1 : devel/py-stdlibs@py312
  6. py312-toml>=0.10.0 : textproc/py-toml@py312
  7. py312-trailrunner>=1.0<2.0 : devel/py-trailrunner@py312
  8. python3.12 : lang/python312
This port is required by: #
for Run #
  1. devel/py-ufmt

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

Number of commits found: 2 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.1.3
29 Sep 2026 19:24:55
commit hash: f32c09fc823fcda749831b30f258f0df917e4666commit hash: f32c09fc823fcda749831b30f258f0df917e4666commit hash: f32c09fc823fcda749831b30f258f0df917e4666commit hash: f32c09fc823fcda749831b30f258f0df917e4666 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-usort: Update to 1.1.3

Changes:	https://github.com/facebook/usort/blob/main/CHANGELOG.md
		https://usort.readthedocs.io/en/stable/changelog.html
1.0.8.post1
05 Apr 2024 23:56:50
commit hash: 9d9c939dae4d02e4c012fcf2666b768fc403ffa2commit hash: 9d9c939dae4d02e4c012fcf2666b768fc403ffa2commit hash: 9d9c939dae4d02e4c012fcf2666b768fc403ffa2commit hash: 9d9c939dae4d02e4c012fcf2666b768fc403ffa2 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-usort: Add py-usort 1.0.8.post1

usort is a safe, minimal import sorter. Its primary goal is to make no
"dangerous" changes to code. This is achieved by detecting distinct "blocks" of
imports that are the most likely to be safely interchangeable, and only
reordering imports within these blocks without altering formatting. Code style
is left as an exercise for linters and formatters.

Number of commits found: 2