From patchwork Sat Feb 24 17:35:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 60998 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1F9DE27BBE9; Sat, 24 Feb 2024 17:36:59 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F1F9C27BBE2 for ; Sat, 24 Feb 2024 17:36:57 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdvx2-0001PB-8B; Sat, 24 Feb 2024 12:36:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdvx0-0001Om-CY for guix-patches@gnu.org; Sat, 24 Feb 2024 12:36:38 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdvx0-0007vs-3h for guix-patches@gnu.org; Sat, 24 Feb 2024 12:36:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdvxN-00023s-SJ for guix-patches@gnu.org; Sat, 24 Feb 2024 12:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69360] [PATCH] gnu: b4: Update to 0.13.0. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Feb 2024 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69360 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69360@debbugs.gnu.org Cc: Hilton Chain X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17087961847829 (code B ref -1); Sat, 24 Feb 2024 17:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2024 17:36:24 +0000 Received: from localhost ([127.0.0.1]:44033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdvwi-000222-3Z for submit@debbugs.gnu.org; Sat, 24 Feb 2024 12:36:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:39662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdvwc-00021l-QF for submit@debbugs.gnu.org; Sat, 24 Feb 2024 12:36:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdvwD-0001Kv-T9 for guix-patches@gnu.org; Sat, 24 Feb 2024 12:35:50 -0500 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdvwC-0007oQ-7h for guix-patches@gnu.org; Sat, 24 Feb 2024 12:35:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1708796134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PwzYuL82nPXesaUkcxDBmk0UKNWTontF7TUibWZ/KY0=; b=S32bEEQbTR9CUaOGkjEtfgl6BTWzqjHUQ03Z2fR4Uf7Bf2S5yne5R540M2oSFG8whBN+qK xZWT67rN/Zp7OkLthXsDTCArvgU9Y9L+rv1rIDlPGYErVbK/RMB1kPbuZc84ZXr7czKnNY ET4vA1nEkePQGax0yciK9OHmMkg95kF9zgrsOVr6G4Bsli4O6tS+v6xFEcvBtYaAbnXfHz OFa+/udzepaOlZ0l9vCA8wIsFKT+SXZd9dUnDPbY2h8vCr07+x4A6+ExdC+v07gLVUwXkF 0LvYiE/Oy9UDPWTpI/a76OrZQFiS2tmCXC4pnRWowHmgAOZF/a3a1bgjzAVFZQ== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Sun, 25 Feb 2024 01:35:27 +0800 Message-ID: MIME-Version: 1.0 X-Spamd-Bar: / Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/version-control.scm (b4): Update to 0.13.0. [source]: Switch to git source for tests. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Enable. [propagated-inputs]: Move patatt to… [inputs]: …here Add git-filter-repo. [native-inputs]: Add python-pytest. Change-Id: I2b24db0f72fc180ea6b12a5829d79ad0be7719a5 --- gnu/packages/version-control.scm | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) base-commit: 313458c58c3fd89705081e1721e7c6fe7818d813 prerequisite-patch-id: c615f2b08070db6cbe847a2bdd5b7c0aae79789b prerequisite-patch-id: fd7da036342f36a8c698f5c8975f9e48d3ade435 prerequisite-patch-id: a2c81c14423bb9858f33d7d26976e8eea61982b7 prerequisite-patch-id: e30fd25b1dc4aaaff76474153836cd48e8565eb9 prerequisite-patch-id: 1d070b26dc64ee2ec95f14c4f5fc23419f766810 prerequisite-patch-id: 03de992f0312d5f0ee3368ebc3c1fad7c955d095 prerequisite-patch-id: b330efe2b0713e30b766c3b84643df67eb1eae5d diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index af237ab4ee..5665e1f794 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -83,6 +83,7 @@ (define-module (gnu packages version-control) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system perl) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system qt) #:use-module (guix build-system trivial) @@ -2914,16 +2915,20 @@ (define-public patatt (define-public b4 (package (name "b4") - (version "0.12.3") + (version "0.13.0") (source (origin - (method url-fetch) - (uri (pypi-uri "b4" version)) + (method git-fetch) + (uri (git-reference + (url "https://git.kernel.org/pub/scm/utils/b4/b4.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0qpa0ahw1d86mdgs09ykq5pd0lm8083ds6j0knalw757yh31akmn")))) - (build-system python-build-system) + (base32 + "1dijszinn00r6d0lxii3jz36h2c23zavbgz1m8finp5v6kaiafcg")))) + (build-system pyproject-build-system) (arguments - (list #:tests? #f ;no tests + (list #:tests? (not (%current-target-system)) ;git path hardcoded. #:phases #~(modify-phases %standard-phases ;; XXX: dnspython attempts to read /etc/resolv.conf when loading @@ -2938,9 +2943,14 @@ (define-public b4 (string-append "['" (search-input-file inputs "bin/git") "'")))))))) (inputs - (list git-minimal python-dkimpy python-dnspython python-requests)) - (propagated-inputs - (list patatt)) + (list git-filter-repo + git-minimal + patatt + python-dkimpy + python-dnspython + python-requests)) + (native-inputs + (list python-pytest)) (home-page "https://git.kernel.org/pub/scm/utils/b4/b4.git") (synopsis "Tool for working with patches in public-inbox archives") (description