BSD Ports

devel/py-usort 1.1.3 FreeBSD

Small, safe import sorter

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
f32c09fc82
License
MIT
Categories
devel, python
Package size
87.5 KiB, 541.8 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDdevel/py-usort1.1.3
DragonFlydevel/py-usort1.0.8.post1
HardenedBSDdevel/py-usort1.1.3
GhostBSDdevel/py-usort1.0.8.post1

Install

Binary package:

pkg install py312-usort

From the ports tree:

cd /usr/ports/devel/py-usort/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-usort>0:devel/py-usort

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.31.1.3-1.0.8.post11.1.3
FreeBSD:14:quarterly1.1.31.1.3n/a1.0.8.post11.1.3
FreeBSD:15:latest1.1.31.1.3n/a1.0.8.post11.0.8.post1
FreeBSD:15:quarterly1.1.31.1.3n/an/an/a
FreeBSD:16:latest1.1.31.1.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 7

The full lists below include those, and their dependencies in turn.

Build dependencies 22
Run dependencies 17
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
usort-1.1.3.tar.gz847343928043b4644f35c80e417698b0e89cc7bb51a1b0a021f2ba55ceffb86326398
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
f32c09fc82 Po-Chuan Hsieh 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