parent
1516efed0f
commit
69bda7d443
1 changed files with 8 additions and 15 deletions
|
@ -1,25 +1,18 @@
|
||||||
# Template file for 'black'
|
# Template file for 'black'
|
||||||
pkgname=black
|
pkgname=black
|
||||||
version=19.10b0
|
version=20.8b1
|
||||||
revision=3
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="black.py blib2to3 _black_version.py"
|
hostmakedepends="python3-setuptools_scm"
|
||||||
hostmakedepends="git python3-setuptools"
|
depends="python3-appdirs python3-click python3-mypy_extensions
|
||||||
depends="python3-appdirs python3-attrs python3-click
|
python3-pathspec python3-toml python3-regex python3-typed-ast
|
||||||
python3-pathspec python3-toml python3-regex python3-typed-ast"
|
python3-typing_extensions"
|
||||||
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/psf/black"
|
homepage="https://github.com/psf/black"
|
||||||
distfiles="https://github.com/psf/black/archive/${version}.tar.gz"
|
distfiles="${PYPI_SITE}/b/black/black-${version}.tar.gz"
|
||||||
checksum=b9cee80c9682be0cddfe7eff1934ed12948b33768c876868ef6bc40d2f2c3bfb
|
checksum=1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
# Black requires a .git directory
|
|
||||||
# or build fails
|
|
||||||
cd "$wrksrc"
|
|
||||||
git init
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in a new issue