From 91eb8b96e41725bc31d672622852a605a6303493 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 11 Nov 2019 13:40:56 -0600 Subject: [PATCH 1/3] python-patchspec: update to 0.6.0 --- srcpkgs/python-pathspec/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-pathspec/template b/srcpkgs/python-pathspec/template index 7c5fe04097a..e7166c74464 100644 --- a/srcpkgs/python-pathspec/template +++ b/srcpkgs/python-pathspec/template @@ -1,6 +1,6 @@ # Template file for 'python-pathspec' pkgname=python-pathspec -version=0.5.9 +version=0.6.0 revision=1 archs=noarch wrksrc="pathspec-${version}" @@ -13,7 +13,7 @@ maintainer="Sir_Boops " license="MPL-2.0" homepage="https://github.com/cpburnz/python-path-specification" distfiles="${PYPI_SITE}/p/pathspec/pathspec-${version}.tar.gz" -checksum=54a5eab895d89f342b52ba2bffe70930ef9f8d96e398cccf530d21fa0516a873 +checksum=e285ccc8b0785beadd4c18e5708b12bb8fcf529a1e61215b3feff1d1e559ea5c do_check() { python3 setup.py test From 8c3d7598023fea62bd805057cdc85cea32a2964a Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 11 Nov 2019 13:41:35 -0600 Subject: [PATCH 2/3] python3-typed-ast: update to 1.4.0 --- srcpkgs/python3-typed-ast/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-typed-ast/template b/srcpkgs/python3-typed-ast/template index ec5b5b9df11..986e913f69c 100644 --- a/srcpkgs/python3-typed-ast/template +++ b/srcpkgs/python3-typed-ast/template @@ -1,8 +1,8 @@ # Template file for 'python3-typed-ast' pkgname=python3-typed-ast -version=1.3.4 +version=1.4.0 revision=1 -wrksrc="typed-ast-${version}" +wrksrc="typed_ast-${version}" build_style=python3-module pycompile_module="typed_ast" hostmakedepends="python3-devel python3-setuptools" @@ -11,6 +11,6 @@ short_desc="Ast module with type comment support" maintainer="whoami " license="Apache-2.0" homepage="https://github.com/python/typed_ast" -distfiles="${PYPI_SITE}/t/typed-ast/typed-ast-${version}.tar.gz" -checksum=68c362848d9fb71d3c3e5f43c09974a0ae319144634e7a47db62f0f2a54a7fa7 +distfiles="https://github.com/python/typed_ast/archive/${version}.tar.gz" +checksum=bd02998404953db788e9d09c1030c4f0eb9d87986b08bd30e9fc00a8e30d6dd8 nocross="https://travis-ci.org/void-linux/void-packages/jobs/509366923#L1009" From 5b3901e828e41694d7ded8c36ebbde87f682889e Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 11 Nov 2019 12:16:46 -0600 Subject: [PATCH 3/3] black: update 19.10b0 --- srcpkgs/black/template | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/srcpkgs/black/template b/srcpkgs/black/template index f6d433038b9..e6751291c31 100644 --- a/srcpkgs/black/template +++ b/srcpkgs/black/template @@ -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 " 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