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-usort Small, safe import sorter
1.0.8.post1 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 1.0.8.post1Version 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: 2024-04-05 23:56:50
Commit Hash: 9d9c939
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
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.
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 py39-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 py39-usort listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-usort
Package flavors (<flavor>: <package>)
  • py39: py39-usort
distinfo:
TIMESTAMP = 1712330563 SHA256 (usort-1.0.8.post1.tar.gz) = 68def75f2b20b97390c552c503e071ee06c65ad502c5f94f3bd03f095cf4dfe6 SIZE (usort-1.0.8.post1.tar.gz) = 83215

Packages (timestamps in pop-ups are UTC):
py311-usort
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.0.8.post11.0.8.post1-1.0.8.post11.0.8.post1---
FreeBSD:13:quarterly1.0.8.post11.0.8.post1--1.0.8.post1---
FreeBSD:14:latest1.0.8.post11.0.8.post1-1.0.8.post11.0.8.post1---
FreeBSD:14:quarterly1.0.8.post11.0.8.post1--1.0.8.post1---
FreeBSD:15:latest1.0.8.post11.0.8.post1n/a1.0.8.post1n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=38.3.0 : devel/py-setuptools@py39
  2. py39-setuptools-scm>=0 : devel/py-setuptools-scm@py39
  3. py39-wheel>=0 : devel/py-wheel@py39
  4. python3.9 : lang/python39
  5. py39-build>=0 : devel/py-build@py39
  6. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-attrs>=21.2.0 : devel/py-attrs@py39
  2. py39-click>=7.0.0 : devel/py-click@py39
  3. py39-libcst>=0.3.7 : devel/py-libcst@py39
  4. py39-moreorless>=0.3.0 : devel/py-moreorless@py39
  5. py39-stdlibs>=2021.4.1 : devel/py-stdlibs@py39
  6. py39-toml>=0.10.0 : textproc/py-toml@py39
  7. py39-trailrunner>=1.0 : devel/py-trailrunner@py39
  8. python3.9 : lang/python39
This port is required by:
for Run
  1. devel/py-ufmt

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