From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cDa8BnzqGGZUEgAAe85BDQ:P1 (envelope-from ) for ; Fri, 12 Apr 2024 10:02:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cDa8BnzqGGZUEgAAe85BDQ (envelope-from ) for ; Fri, 12 Apr 2024 10:02:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712908923; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Od33uoY7ShXuQQJ7CIjBdynwjUBqeBf1uB/tMs8AgY8=; b=PJbOO5NEj8vIm/Xzn0VOG6OywKyjZ5LBV8sYzv0EdMNiXeBfB1adolzsNTxby5I85iKvej YfZiadMbBoSw4pNElF/xNYaXE9lG3ajBp5G//X0ptDeV32jLTyJu1SypM5cqcwSEIrezeR eyAL5M0a04ErraayrbXaUUhC8Boy0ecmRbEFesHTD7aqQa2K1ccCtiq+r+T8dGxT6oJgHH 011DZLiBDSt72+gF/wGvsmOJhqLPnmsmusA+cpH9LWKU2zRmpwtPHoSxpJws6KppyeC8ki g35fwxLG5vXNX3THO/mubMmvUBmFXDoSt4RryNoYcWqx0yMCK8E9cc74E4tkNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712908923; a=rsa-sha256; cv=none; b=iuJQ3QTc4Bnu7pWN7e78sxg2tsJLM6xQoSMWDofGulGnXtJVzY1SRTqRrBSK0Ax8H7l5ZU 8RkJt/B81K2MIm3VaK1SON1LYjongX1lqwsd+ycj8/VcCetxUnWvVvngSSyLEHiM0bpro0 nGpWD+h7VkYqjjodHSftyycLu5Yal4bonxp0T//K7a+CkrjXJgwPcEDWa94KtOOZFn7pbO VEwlYgjR91MjtaGUMCa+JKutpVnXvNEt1U+PjN3qglDMBhL/+mu47Q9McX8gwupu9nBPdu SyT0IVvckmzTgk9DbvNRbRULW1hFCNcKGUtyIBP2s7nMIGVyIxSz2tJjzr4/9A== 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 A09B560DC for ; Fri, 12 Apr 2024 10:02:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvBrC-00037v-2t; Fri, 12 Apr 2024 04:01:58 -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 1rvBr9-0002xD-Ri for guix-patches@gnu.org; Fri, 12 Apr 2024 04:01:55 -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 1rvBr9-0004DF-IC for guix-patches@gnu.org; Fri, 12 Apr 2024 04:01:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rvBrI-0000Bl-SN for guix-patches@gnu.org; Fri, 12 Apr 2024 04:02:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70152] [PATCH v2] gnu: Borg: Update to 1.2.8. Resent-From: Dale Mellor Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Apr 2024 08:02:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70152 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70152@debbugs.gnu.org Cc: guix-devel-0brg6a@rdmp.org, leo@famulari.name X-Debbugs-Original-Cc: Dale Mellor , guix-patches@gnu.org, Leo Famulari Received: via spool by 70152-submit@debbugs.gnu.org id=B70152.1712908906485 (code B ref 70152); Fri, 12 Apr 2024 08:02:04 +0000 Received: (at 70152) by debbugs.gnu.org; 12 Apr 2024 08:01:46 +0000 Received: from localhost ([127.0.0.1]:57801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvBqy-00007P-9J for submit@debbugs.gnu.org; Fri, 12 Apr 2024 04:01:46 -0400 Received: from [195.15.247.228] (port=35308 helo=rdmp.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvBqt-00005B-C3 for 70152@debbugs.gnu.org; Fri, 12 Apr 2024 04:01:43 -0400 Received: from [127.0.0.1] (helo=localhost.localdomain) by rdmp.org with esmtp (Exim 4.96.1) (envelope-from ) id 1rvBqd-0000ya-1r; Fri, 12 Apr 2024 08:01:23 +0000 From: Dale Mellor Date: Fri, 12 Apr 2024 09:01:01 +0100 Message-ID: <20240412080101.1332966-1-guix-devel-0brg6a@rdmp.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <46673aa390af70cf1be667190e7d15afb5705b89.1712081885.git.leo@famulari.name> References: <46673aa390af70cf1be667190e7d15afb5705b89.1712081885.git.leo@famulari.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.88 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -4.88 X-Migadu-Queue-Id: A09B560DC X-TUID: 8vyQ0Ta/KdJi From: Leo Famulari * gnu/packages/backup.scm (borg): Update to 1.2.8. [arguments]: Remove a variety of workarounds that have been obviated by changes upstream and in the Python package build tools. Review: * guix lint throws false positive due to deprecation in package:inputs field * guix build --check is clean * guix install is clean * it works for me Reviewed-by: Dale Mellor Change-Id: I031bb4e6ac2f562a3e387a5e815b31416367766f --- gnu/packages/backup.scm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 699f4cbc8f..44365d3bcb 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -675,13 +675,13 @@ (define-public libchop (define-public borg (package (name "borg") - (version "1.2.7") + (version "1.2.8") (source (origin (method url-fetch) (uri (pypi-uri "borgbackup" version)) (sha256 - (base32 "06j1v4bw9jkjh6m29ns5sigmp0cslcf0cyy8rrqij11w72ijhgzn")) + (base32 "1aplj54x6hcyg3mnzscnwi07npy7nrws2246ss25ax6bsaq257fk")) (modules '((guix build utils))) (snippet #~(begin @@ -723,18 +723,10 @@ (define-public borg (setenv "BORG_OPENSSL_PREFIX" openssl) (setenv "BORG_LIBLZ4_PREFIX" lz4) (setenv "BORG_LIBXXHASH_PREFIX" xxhash) - (setenv "BORG_LIBZSTD_PREFIX" zstd) - (setenv "PYTHON_EGG_CACHE" "/tmp") - ;; The test 'test_return_codes[python]' fails when - ;; HOME=/homeless-shelter. - (setenv "HOME" "/tmp")))) - ;; The tests need to be run after Borg is installed. - (delete 'check) - (add-after 'install 'check + (setenv "BORG_LIBZSTD_PREFIX" zstd)))) + (replace 'check (lambda* (#:key inputs outputs tests? #:allow-other-keys) (when tests? - ;; Make the installed package available for the test suite. - (add-installed-pythonpath inputs outputs) ;; The tests should be run in an empty directory. (mkdir-p "tests") (with-directory-excursion "tests" @@ -749,7 +741,6 @@ (define-public borg "and not test_access_acl " "and not test_default_acl " "and not test_get_item_uid_gid " - "and not test_non_ascii_acl " "and not test_create_content_from_command " "and not test_create_content_from_command_with_failed_command " "and not test_create_stdin " -- 2.41.0