black: update to 20.8b1

Closes: #25461 [via git-merge-pr]
This commit is contained in:
Ján Priner 2020-10-09 18:18:57 +02:00 committed by Andrew J. Hesford
parent 1516efed0f
commit 69bda7d443
1 changed files with 8 additions and 15 deletions

View File

@ -1,25 +1,18 @@
# Template file for 'black'
pkgname=black
version=19.10b0
revision=3
version=20.8b1
revision=1
build_style=python3-module
pycompile_module="black.py blib2to3 _black_version.py"
hostmakedepends="git python3-setuptools"
depends="python3-appdirs python3-attrs python3-click
python3-pathspec python3-toml python3-regex python3-typed-ast"
hostmakedepends="python3-setuptools_scm"
depends="python3-appdirs python3-click python3-mypy_extensions
python3-pathspec python3-toml python3-regex python3-typed-ast
python3-typing_extensions"
short_desc="Uncompromising Python code formatter"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/psf/black"
distfiles="https://github.com/psf/black/archive/${version}.tar.gz"
checksum=b9cee80c9682be0cddfe7eff1934ed12948b33768c876868ef6bc40d2f2c3bfb
pre_build() {
# Black requires a .git directory
# or build fails
cd "$wrksrc"
git init
}
distfiles="${PYPI_SITE}/b/black/black-${version}.tar.gz"
checksum=1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea
post_install() {
vlicense LICENSE