devel/py-autoflake 2.3.3 FreeBSD
Removes unused imports and unused variables from Python code
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 40.8 KiB, 169.8 KiB installed
Description
Removes unused imports and unused variables from Python code. It makes use of pyflakes to do this.
By default, autoflake only removes unused imports for modules that are part of the standard library. (Other modules may have side effects that make them unsafe to remove automatically.) Removal of unused variables is also disabled by default.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-autoflake | 2.3.3 |
| DragonFly | devel/py-autoflake | 2.3.1 |
| HardenedBSD | devel/py-autoflake | 2.3.3 |
| GhostBSD | devel/py-autoflake | 2.3.3 |
Install
Binary package:
pkg install py312-autoflake
From the ports tree:
cd /usr/ports/devel/py-autoflake/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-autoflake>0:devel/py-autoflake
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 | 2.3.3 | 2.3.3 | 1.3.1 | 2.3.1 | 2.3.3 |
| FreeBSD:14:quarterly | 2.3.3 | 2.3.3 | n/a | 2.3.1 | 2.3.3 |
| FreeBSD:15:latest | 2.3.3 | 2.3.3 | n/a | 2.3.1 | 2.3.1 |
| FreeBSD:15:quarterly | 2.3.3 | 2.3.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.3.3 | 2.3.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 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 1
${PYTHON_PKGNAMEPREFIX}pyflakes>=3.0.0: devel/py-pyflakes
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- python shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| PyCQA-autoflake-v2.3.3_GH0.tar.gz | 30671 | 83846a6b612274afe31390eb949e050bf61427cae0fa3f222fa89238dde1b2b9 |
Commit history 0
No commits in the history this site was built from.