From: Vinicius Monego <monego@posteo.net>
To: 48981@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#48981] [PATCH 1/2] gnu: pre-commit: Update to 2.13.0.
Date: Sat, 12 Jun 2021 21:19:33 +0000 [thread overview]
Message-ID: <20210612211933.785958-1-monego@posteo.net> (raw)
* gnu/packages/version-control.scm (pre-commit): Update to 2.13.0.
[arguments]<#:phases>: Don't return #t.
[synopsis]: Slightly shorten it.
---
gnu/packages/version-control.scm | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 5900779de8..9f5341b4f9 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1520,7 +1520,7 @@ control to Git repositories.")
(define-public pre-commit
(package
(name "pre-commit")
- (version "2.12.1")
+ (version "2.13.0")
(source
(origin
;; No tests in the PyPI tarball.
@@ -1530,7 +1530,7 @@ control to Git repositories.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0gwy5bnjnlj6yjcmghsibrcijvz9isxcygln7ihvi728p04rgymf"))))
+ (base32 "02lr8d6fkr32j4rpp2ac84a5gjwq16k1hb74j6js0kxg83qw6raf"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -1550,8 +1550,7 @@ control to Git repositories.")
;; Some tests will need a working git repository.
(invoke "git" "init")
(invoke "git" "config" "--global" "user.name" "Your Name")
- (invoke "git" "config" "--global" "user.email" "you@example.com")
- #t))
+ (invoke "git" "config" "--global" "user.email" "you@example.com")))
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
@@ -1579,8 +1578,7 @@ control to Git repositories.")
;; 'reset-gzip-timestamps' phase can do its work.
(let ((out (assoc-ref outputs "out")))
(for-each make-file-writable
- (find-files out "\\.gz$"))
- #t))))))
+ (find-files out "\\.gz$"))))))))
(native-inputs
`(("git" ,git-minimal)
("python-covdefaults" ,python-covdefaults)
@@ -1599,7 +1597,7 @@ control to Git repositories.")
("python-toml" ,python-toml)
("python-virtualenv" ,python-virtualenv)))
(home-page "https://pre-commit.com/")
- (synopsis "Framework for managing and maintaining multi-language pre-commit hooks")
+ (synopsis "Framework for managing and maintaining pre-commit hooks")
(description
"Pre-commit is a multi-language package manager for pre-commit hooks. You
specify a list of hooks you want and pre-commit manages the installation and
--
2.32.0
next reply other threads:[~2021-06-12 21:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-12 21:19 Vinicius Monego [this message]
2021-06-12 21:21 ` [bug#48981] [PATCH 2/2] gnu: pre-commit: Respect #:tests? Vinicius Monego
2021-06-13 7:19 ` bug#48981: [PATCH 1/2] gnu: pre-commit: Update to 2.13.0 Efraim Flashner
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=20210612211933.785958-1-monego@posteo.net \
--to=monego@posteo.net \
--cc=48981@debbugs.gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.