devel/py-yapf 0.43.0nb1 NetBSD
Python files formatter
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
1a65ffc82a- License
- apache-2.0
- Categories
- devel, textproc, python
- Package size
- 382.6 KiB, 3397.8 KiB installed
Description
YAPF - Yet Another Python Formatter - is a python formatting tool based based off of 'clang-format'. In essence, the algorithm takes the code and reformats it to the best formatting that conforms to the style guide, even if the original code didn't violate the style guide. The idea is also similar to the 'gofmt' tool for the Go programming language: end all holy wars about formatting - if the whole code base of a project is simply piped through YAPF whenever modifications are made, the style remains consistent throughout the project and there's no point arguing about style in every code review.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/py-yapf | 0.43.0nb1 |
| OpenBSD | devel/py-yapf | 0.43.0p3 |
| DragonFly | textproc/py-yapf | 0.43.0 |
Install
Binary package:
pkgin install py311-yapf
From pkgsrc:
cd /usr/pkgsrc/devel/py-yapf && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.43.0nb1 |
| NetBSD 10.1 aarch64 | 0.43.0nb1 |
| SmartOS / illumos x86_64 | 0.43.0nb1 |
| macOS 15 arm64 | 0.43.0nb1 |
Dependencies
Run dependencies 2
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-yapf-0.43.0nb1,py313-yapf-0.43.0nb1,py314-yapf-0.43.0nb1