From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oH/VChAlxWDU4gAAgWs5BA (envelope-from ) for ; Sat, 12 Jun 2021 23:20:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2Ac9BhAlxWCnPAAAB5/wlQ (envelope-from ) for ; Sat, 12 Jun 2021 21:20:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B1C2FAE7F for ; Sat, 12 Jun 2021 23:20:15 +0200 (CEST) Received: from localhost ([::1]:55374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsB38-0003o5-Na for larch@yhetil.org; Sat, 12 Jun 2021 17:20:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsB2x-0003hA-0Y for guix-patches@gnu.org; Sat, 12 Jun 2021 17:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsB2w-0007R9-Ny for guix-patches@gnu.org; Sat, 12 Jun 2021 17:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsB2w-0008H8-K9 for guix-patches@gnu.org; Sat, 12 Jun 2021 17:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48981] [PATCH 1/2] gnu: pre-commit: Update to 2.13.0. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Jun 2021 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48981 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48981@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162353279931782 (code B ref -1); Sat, 12 Jun 2021 21:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jun 2021 21:19:59 +0000 Received: from localhost ([127.0.0.1]:42217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsB2t-0008GX-Gr for submit@debbugs.gnu.org; Sat, 12 Jun 2021 17:19:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:42518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsB2r-0008GQ-Nw for submit@debbugs.gnu.org; Sat, 12 Jun 2021 17:19:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsB2r-0003Y0-Gu for guix-patches@gnu.org; Sat, 12 Jun 2021 17:19:57 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsB2p-0007La-2Y for guix-patches@gnu.org; Sat, 12 Jun 2021 17:19:57 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4628E240027 for ; Sat, 12 Jun 2021 23:19:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623532793; bh=aijHrnWyJallung2rym5O2TvqSLUocwvWq3KZYVZaQI=; h=From:To:Cc:Subject:Date:From; b=PZguxos3LwQvWTmgwXhrWmcIrz1bk7sGffTl8PNEGyj2Ox02ogCzLLNsar5evj8ak UYFSWFndYkDBUo3ZIQ33Sk42gWz1zj7uEFckN7dmntJvZRpIvzT9jGsYUN3FFqa4Lj vTDLw48uFt5Htxzg9TF5WGkW5NdtaqplpcBZJYhv2r4zwT7hl8WiUobjePALWT63zQ lnpkMXPTwFf4bzazoFKUUR8BoL8kF26+3jSU4g+bZCJNGisJGp0R2uP+Eki3fShznS Je8M2LiZj/Mq4OIfaWS79qF1Ird9dL9T2/qQOmFXiN8V7U2yZUROPtSHqqTv3+qpSE Siz4AwqZ4slNA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G2VwR60nnz9rxL; Sat, 12 Jun 2021 23:19:51 +0200 (CEST) From: Vinicius Monego Date: Sat, 12 Jun 2021 21:19:33 +0000 Message-Id: <20210612211933.785958-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623532815; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=SCw34hmLiW/T517ACAcZKMlvCTat4cmpgFGlPhqSDDA=; b=Ol/mNYL6NLDkVhMGsaD1I63uf6zbPfDQXMbOw7M+ADPbsA6oC/kPUg0tAZN/lraMMQk+is aAP8Fnl5/wVoeG3kND1j2/Jf2x34IBcvflMRJIJdMYwXvXDBQDG6m/YKmRqcJLaqMLim+h Ff2DnaFySrEUsOfttEeG5kZLdDDKCFpw8Ncukg07jPsHeV6qbbYmCrdD/tCLd7hU3PVt2E xCH5kGbV27BJLMBwl6v9AqYCuihB1ZkUug6xcou/hy1InkBFUK4cPESeyhD6Tuh7d1XNIH KuNkJYPraoxYQHICFUXUjXEFI+iuSbGuaMcaXZIpVHmIZlgt1zoxYHrJFZ8K2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623532815; a=rsa-sha256; cv=none; b=j65NNzpjNyhT10BZm6ZUZyBqNRwoAgBlt4kfVhkyIGXDPDLvW4eOp5eW8lfkPWMwin1vG6 yWzl33ERCVpHL6ACUirVTRnlBgl3oBULBbMgHmh4x/mY1slBXo3W9GAKRRgv/Tcb2zs1md 1CfWko8rYGaCDhfG9F/kPauGmTYvuk97mviPu08fWC6GrK536iWL2rvKitmy0YOFNW5XIw OXY756B73x6IBcyQO9laFPa0MqokeRw9k5uqfBb9746HDxedF394OHBhUtTiWScuNRx0Ea ESzngUYNq/BlLm/yorvKZ8yBfQgJOtIe+TXj9MSDR7ClWK79Iu08isMrZnix6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PZguxos3; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PZguxos3; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B1C2FAE7F X-Spam-Score: 5.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: Bt30ziMoyIDz * 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