From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id yMPMFapZPWZh2gAAe85BDQ:P1 (envelope-from ) for ; Fri, 10 May 2024 01:18:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yMPMFapZPWZh2gAAe85BDQ (envelope-from ) for ; Fri, 10 May 2024 01:18:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715296682; h=from:from:sender:sender:reply-to: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=6+OjQvkOxxxKa4DseM7JzFxvMeN958K5eurZKRrxixQ=; b=nh3owxlWayPyPnRuIYIbcYha+Wj2mgO/FkuVn4FqWXCLdmBUdtogg42Dk0pbeK7AlI5nyJ WEjvSbujsHQnO15qcildp2M5ZzabaM3CS/IZ5f+/v7NqnROpb0R1wL7P4580VfVDJyOkT6 KKZM/VeAYSPiKQHftIMVpmLRiYErc3VaLe/8E/834yR1sio2w03Q5zkgwkalx4D6TdQDhN 8VDnEFfkq8xlE8UBOiDBaOp0yqs9tJh7xAxWDN68KXtzfTHHUvIX0fKOTAzG+ilQlHOkyo MFfd9fTCYdAjPSNNgPWLLLrJ7xDxYm6Sf6MFHrq3cYodkImE9LJGOt0NdoH2Wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715296682; a=rsa-sha256; cv=none; b=Z1D+9ukl5YB6j24YiDAcc52ZxZAUvRzPpzOQMsYq5BpoSzXI7KYNb6kTDIiWLkgfcZanCr mpjMKTwYyTJ9NAtlt3DqlbCcqjkJ4U7Iz1jWF11n1B9AVTbNqRQ6VvmUSwHfk+inSj2LdZ 622ZM4iRuiHA7rRk/73ohPYBGozIoJ+3ke5mjZwJd4jtBou7jNG/Og2kshvNz2AiwJSuwB EBJTfzApQZxonizGcqdKZ+8A2ZvXoG+q+uY/QmK0UgxsyBeBupKG2sLkxd+Z46wR+7YhTh xMf0596cqccLnpOISYojeBAA6InXoJQ800YHo8bj5zd7/ZRyskONbjqpNjzcBg== 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 23DE56D9A4 for ; Fri, 10 May 2024 01:18:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5CjK-0000wP-3s; Thu, 09 May 2024 18:59:14 -0400 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 1s5CjC-0000Xl-QJ for guix-patches@gnu.org; Thu, 09 May 2024 18:59:06 -0400 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 1s5CjC-0007GU-Gs for guix-patches@gnu.org; Thu, 09 May 2024 18:59:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5CjA-0002zM-R5 for guix-patches@gnu.org; Thu, 09 May 2024 18:59:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70855] [PATCH 78/92] gnu: borgmatic: Move to pyproject-build-system. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 May 2024 22:59:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70855 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70855@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70855-submit@debbugs.gnu.org id=B70855.171529551411312 (code B ref 70855); Thu, 09 May 2024 22:59:04 +0000 Received: (at 70855) by debbugs.gnu.org; 9 May 2024 22:58:34 +0000 Received: from localhost ([127.0.0.1]:41340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Cif-0002wC-Sf for submit@debbugs.gnu.org; Thu, 09 May 2024 18:58:34 -0400 Received: from 3.mo583.mail-out.ovh.net ([46.105.40.108]:34173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5CiR-0002u2-8y for 70855@debbugs.gnu.org; Thu, 09 May 2024 18:58:29 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.2.197]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Vb6qw1ZRyz1F82 for <70855@debbugs.gnu.org>; Thu, 9 May 2024 22:58:20 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-vjm68 (unknown [10.110.96.26]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C103F1FDF3; Thu, 9 May 2024 22:58:19 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-6684bf9d7b-vjm68 with ESMTPSA id bHxXLAtVPWYtRAAAaQchHw (envelope-from ); Thu, 09 May 2024 22:58:19 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Fri, 10 May 2024 00:54:13 +0200 Message-ID: <20240509225530.24649-78-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240509225530.24649-1-ngraves@ngraves.fr> References: <20240509225530.24649-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6128273193477595874 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdeffedgudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvleelgeeffeetleekueegvdfhtedvueffiefhkedtleejkeduveelgfdufeduleenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtkeehheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.89 X-Spam-Score: -6.89 X-Migadu-Queue-Id: 23DE56D9A4 X-Migadu-Scanner: mx13.migadu.com X-TUID: 5DCFoq6ufOzj * gnu/packages/backup.scm (borgmatic): [build-system]: Move to pyproject-build-system. [arguments]: Migrate 'check phase replacement to <#:test-flags>. Change-Id: I916e87f10c75718c4e840d97eaa78623ed2a4fd3 --- gnu/packages/backup.scm | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 5e74439bffc..663eb2568fe 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Feng Shu ;;; Copyright © 2023 Timo Wilken +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -46,6 +47,7 @@ (define-module (gnu packages backup) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) #:use-module (guix build-system qt) #:use-module (guix download) #:use-module (guix gexp) @@ -1332,7 +1334,7 @@ (define-public borgmatic (uri (pypi-uri "borgmatic" version)) (sha256 (base32 "1xmqv0gg2ic7lp5kmygr9f6qkabsr86mma7pigan12vk2bcdbw31")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases @@ -1348,15 +1350,7 @@ (define-public borgmatic (("(module.get_local_path.+ == )'borg'" all start) (string-append start "'" (search-input-file inputs "bin/borg") - "'"))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; Tests require the installed executable. - (setenv "PATH" - (string-append #$output "/bin" ":" - (getenv "PATH"))) - (invoke "pytest"))))))) + "'")))))))) (inputs (list borg python-apprise python-colorama -- 2.41.0