From a529492907159e6d27dc272fedfeb90a62dc8502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Priner?= Date: Fri, 9 Oct 2020 18:18:57 +0200 Subject: [PATCH] black: update to 20.8b1 --- srcpkgs/black/template | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/srcpkgs/black/template b/srcpkgs/black/template index c29842f2805..8964c50c4fd 100644 --- a/srcpkgs/black/template +++ b/srcpkgs/black/template @@ -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 " 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