black: update 19.10b0

This commit is contained in:
Nathan Owens 2019-11-11 12:16:46 -06:00 committed by Helmut Pozimski
parent 24ebab176d
commit eb1d0760fa
1 changed files with 14 additions and 7 deletions

View File

@ -1,19 +1,26 @@
# Template file for 'black'
pkgname=black
version=19.3b0
version=19.10b0
revision=1
archs=noarch
build_style=python3-module
pycompile_module="black.py blib2to3"
hostmakedepends="python3-setuptools"
pycompile_module="black.py blib2to3 _black_version.py"
hostmakedepends="git python3-setuptools"
depends="python3-appdirs python3-attrs python3-click
python3-setuptools python3-toml"
python3-pathspec python3-toml python3-regex python3-typed-ast"
short_desc="Uncompromising Python code formatter"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/ambv/black"
distfiles="https://github.com/ambv/black/archive/${version}.tar.gz"
checksum=a888a7061534ec8061edb868ccfaf12a4d16bf1e3380a7376d5b3f428c0c97bf
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
}
post_install() {
vlicense LICENSE