BSD Ports

devel/py-black 24.2.0_3 MidnightBSD

Uncompromising code formatter

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
d31e6c7450
License
mit
Categories
devel, python

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

The newest version among them is 26.5.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-black24.2.0_3no data-[email protected]2026-09-16
FreeBSDdevel/py-black26.5.1 newestnone known-[email protected]-
DragonFlydevel/py-black25.1.0none known-[email protected]-
HardenedBSDdevel/py-black26.5.1 newestno data-[email protected]-
GhostBSDdevel/py-black26.5.1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}black

From mports:

cd /usr/mports/devel/py-black && make install clean

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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 3

Runtime 6

Build dependencies 3
Run dependencies 6

Configuration

Options name: devel_black

OptionDefaultDescription
COLORAMAonColor support
DoffBlackd HTTP server
JUPYTERoffJupyter support
UVLOOPoffEvent loop support
USES
python cpe
Service scripts
none

Files

distinfo 1
FileSizeSHA256
black-24.2.0.tar.gz631598bce4f25c27c3435e4dace4815bcb2008b87e167e3bf4ee47ccdc5ce906eb4894
Master sites 1
  • PYPI

Commit history 2

DateCommitCreditsLog message
d31e6c7450 Lucas Holt *: bump PORTREVISION for py-aiohttp and py-brotli updates (#1280)
Rebuilds dependents of the two large version jumps in #1269: `www/py-aiohttp` 3.9.3 -> 3.14.3 (#1279) and `archivers/py-brotli` 1.0.9 -> 1.2.0 (#1278). 25 ports, `PORTREVISION` lines only — no other change in the diff. ### py-aiohttp dependents (18) plus devel/py-vcrpy `ai/py-datasets`, `ai/py-langchain-community`, `ai/py-langchain-google-community`, `ai/py-litellm`, `ai/py-tritonclient`, `devel/py-aiobotocore`, `devel/py-azure-core`, `devel/py-black`, `devel/py-gql`, `devel/py-sentry-sdk`, `devel/py-strawberry-graphql`, `devel/py-vcrpy`, `dns/py-idna_ssl`, `filesystems/py-s3fs`, `ftp/py-parfive`, `mail/py-postfix-mta-sts-resolver`, `security/py-google-auth`, `textproc/py-elasticsearch`, `www/py-google-resumable-media` …
22173208f1 Lucas Holt */*: add CPE identifiers from the matching FreeBSD ports
mport audit matches installed packages against sec.midnightbsd.org by CPE, so a port without one is invisible to it regardless of how vulnerable it is. These 126 ports had no CPE while the corresponding FreeBSD port did, so the vendor and product were copied from there rather than guessed. Sampled against the audit API to confirm the identifiers resolve, e.g. cad/gtkwave tonybybell:gtkwave 82 CVEs archivers/libunrar rarlab:unrar 12 audio/espeak-ng espeak-ng:espeak-ng 5 archivers/minizip-ng zlib-ng:minizip-ng 3 audio/faust grame:faust 3 cad/admesh admesh_project:admesh 3 Three ports were deliberately skipped: archivers/p5-Archive-Tar, …