icp 8add61acf2
black: update to 25.1.0.
Closes: #54203 [via git-merge-pr]
2025-02-17 22:37:50 -05:00

26 lines
827 B
Bash

# Template file for 'black'
pkgname=black
version=25.1.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme"
depends="python3-click python3-platformdirs python3-pathspec python3-packaging
python3-mypy_extensions"
checkdepends="${depends} python3-pytest-xdist python3-aiohttp
python3-ipython python3-tokenize-rt"
short_desc="Uncompromising Python code formatter"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://black.readthedocs.io/en/stable/"
changelog="https://raw.githubusercontent.com/psf/black/main/CHANGES.md"
distfiles="${PYPI_SITE}/b/black/black-${version}.tar.gz"
checksum=33496d5cd1222ad73391352b4ae8da15253c5de89b93a80b3e2c8d9a19ec2666
post_check() {
PYTHONPATH=src python3 -m black --check src tests
}
post_install() {
vlicense LICENSE
}