mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
black: update 19.10b0
This commit is contained in:
parent
24ebab176d
commit
eb1d0760fa
1 changed files with 14 additions and 7 deletions
|
@ -1,19 +1,26 @@
|
||||||
# Template file for 'black'
|
# Template file for 'black'
|
||||||
pkgname=black
|
pkgname=black
|
||||||
version=19.3b0
|
version=19.10b0
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="black.py blib2to3"
|
pycompile_module="black.py blib2to3 _black_version.py"
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="git python3-setuptools"
|
||||||
depends="python3-appdirs python3-attrs python3-click
|
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"
|
short_desc="Uncompromising Python code formatter"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/ambv/black"
|
homepage="https://github.com/psf/black"
|
||||||
distfiles="https://github.com/ambv/black/archive/${version}.tar.gz"
|
distfiles="https://github.com/psf/black/archive/${version}.tar.gz"
|
||||||
checksum=a888a7061534ec8061edb868ccfaf12a4d16bf1e3380a7376d5b3f428c0c97bf
|
checksum=b9cee80c9682be0cddfe7eff1934ed12948b33768c876868ef6bc40d2f2c3bfb
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
# Black requires a .git directory
|
||||||
|
# or build fails
|
||||||
|
cd "$wrksrc"
|
||||||
|
git init
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue