devel/py-black 26.5.1 FreeBSD
Uncompromising code formatter
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 398.4 KiB, 2094.5 KiB installed
Description
Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters.
Blackened code looks the same regardless of the project you're reading. Formatting becomes transparent after a while and you can focus on the content instead.
Black makes code review faster by producing the smallest diffs possible.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-black | 26.5.1 |
| NetBSD | textproc/py-black | 26.5.1 |
| DragonFly | devel/py-black | 25.1.0 |
| MidnightBSD | devel/py-black | 24.2.0_3 |
Install
Binary package:
pkg install py312-black
From the ports tree:
cd /usr/ports/devel/py-black/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-black>0:devel/py-black
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 | 26.5.1 | 26.5.1 | 22.10.0_2 | 25.1.0 | 26.5.1 |
| FreeBSD:14:quarterly | 26.5.1 | 26.5.1 | n/a | 25.1.0 | 26.5.1 |
| FreeBSD:15:latest | 26.5.1 | 26.5.1 | n/a | 25.1.0 | 25.1.0 |
| FreeBSD:15:quarterly | 26.5.1 | 26.5.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 26.5.1 | 26.5.1 | 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 3
${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0: devel/py-hatch-fancy-pypi-readme${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3.0: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=1.20.0: devel/py-hatchling
Runtime 7
${PYTHON_PKGNAMEPREFIX}click>=8.0.0: devel/py-click${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0.4.3: devel/py-mypy_extensions${PYTHON_PKGNAMEPREFIX}packaging>=22.0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}pathspec>=1.0.0: devel/py-pathspec${PYTHON_PKGNAMEPREFIX}platformdirs>=2: devel/py-platformdirs${PYTHON_PKGNAMEPREFIX}pytokens>=0.4.0<0.5: devel/py-pytokens${PYTHON_PKGNAMEPREFIX}regex>=2020.1.8: textproc/py-regex
Test 6
${PYTHON_PKGNAMEPREFIX}coverage>=5.3: devel/py-coverage${PYTHON_PKGNAMEPREFIX}ipython>=7.8.0: devel/ipython${PYTHON_PKGNAMEPREFIX}pre-commit>=0: devel/py-pre-commit${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1.0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.0.2,1: devel/py-pytest-xdist${PYTHON_PKGNAMEPREFIX}tokenize-rt>=3.2.0: devel/py-tokenize-rt
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-fancy-pypi-readme
- 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 18
Required by 31
- astro/py-pytest-astropy
- cad/py-pymtl
- databases/py-harlequin
- databases/py-harlequin-mysql
- databases/py-harlequin-postgres
- deskutils/normcap
- devel/py-flake8-black
- devel/py-hypothesis
- devel/py-hypothesmith
- devel/py-inline-snapshot
- devel/py-pytest-black
- devel/py-pytest-black-multipy
- devel/py-pytest-examples
- devel/py-pytoolconfig
- devel/py-rope
- devel/py-shandy-sqlfmt
- devel/py-ttictoc
- devel/py-ufmt
- games/anki
- graphics/qgis
- graphics/qgis-ltr
- math/py-CyLP
- math/py-fpylll
- misc/py-pytorch
- net-mgmt/py-ciscoconfparse2
- science/py-MDAnalysisTests
- sysutils/py-ansible-lint
- textproc/py-pyls-spyder
- textproc/py-python-lsp-black
- textproc/py-python-lsp-server
- textproc/py-textdistance
Configuration
Options name: devel_black
| Option | Default | Description |
|---|---|---|
| COLORAMA | on | Color support |
| D | off | Blackd HTTP server |
| JUPYTER | off | Jupyter support |
| UVLOOP | off | Event loop support |
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| black-26.5.1.tar.gz | 679439 | dd321f668053961824bcc1be1cc1df748b2d7e4fa28086b08331e577b0100a73 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.