Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] black: update 19.10b0
Date: Mon, 11 Nov 2019 20:54:36 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16385@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

There is a new pull request by ndowens against master on the void-packages repository

https://github.com/ndowens/void-packages black
https://github.com/void-linux/void-packages/pull/16385

black: update 19.10b0
@the-maldridge 

A patch file from https://github.com/void-linux/void-packages/pull/16385.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-black-16385.patch --]
[-- Type: text/x-diff, Size: 3982 bytes --]

From 91eb8b96e41725bc31d672622852a605a6303493 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
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 <admin@boops.me>"
 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 <ndowens04@gmail.com>
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 <whoami@systemli.org>"
 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 <ndowens04@gmail.com>
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 <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

             reply	other threads:[~2019-11-11 19:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-11 19:54 voidlinux-github [this message]
2019-11-11 19:54 ` voidlinux-github
2019-11-12 11:59 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16385@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).