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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-usort | 1.1.3 |
| DragonFly | devel/py-usort | 1.0.8.post1 |
| HardenedBSD | devel/py-usort | 1.1.3 |
| GhostBSD | devel/py-usort | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.3 | 1.1.3 | - | 1.0.8.post1 | 1.1.3 |
| FreeBSD:14:quarterly | 1.1.3 | 1.1.3 | n/a | 1.0.8.post1 | 1.1.3 |
| FreeBSD:15:latest | 1.1.3 | 1.1.3 | n/a | 1.0.8.post1 | 1.0.8.post1 |
| FreeBSD:15:quarterly | 1.1.3 | 1.1.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.3 | 1.1.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 7
${PYTHON_PKGNAMEPREFIX}attrs>=21.2.0: devel/py-attrs${PYTHON_PKGNAMEPREFIX}click>=7.0.0: devel/py-click${PYTHON_PKGNAMEPREFIX}libcst>=0.3.7: devel/py-libcst${PYTHON_PKGNAMEPREFIX}moreorless>=0.3.0: devel/py-moreorless${PYTHON_PKGNAMEPREFIX}stdlibs>=2021.4.1: devel/py-stdlibs${PYTHON_PKGNAMEPREFIX}toml>=0.10.0: textproc/py-toml${PYTHON_PKGNAMEPREFIX}trailrunner>=1.0<2.0: devel/py-trailrunner
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-vcs
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 17
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| usort-1.1.3.tar.gz | 84734 | 3928043b4644f35c80e417698b0e89cc7bb51a1b0a021f2ba55ceffb86326398 |
Master sites 1
- PYPI