[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/14: gnu: duplicity: Update to 2.1.4.
From: |
guix-commits |
Subject: |
09/14: gnu: duplicity: Update to 2.1.4. |
Date: |
Wed, 22 Nov 2023 10:52:43 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit f7995b6644c8ac8af7209a59e595510aa383f6a2
Author: Jonathan Pieper <jpieper@mailbox.org>
AuthorDate: Wed Nov 1 19:45:57 2023 +0100
gnu: duplicity: Update to 2.1.4.
* gnu/packages/backup.scm (duplicity): Update to 2.1.4.
[source]: Switch to ‘git-fetch’ and change URL.
[arguments]: Add ‘fix-version’ phase.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I0a19d19741f665ddb84da83d4bbefc959290fe42
---
gnu/packages/backup.scm | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 12c4a45b9d..f10c7914d5 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -104,16 +104,16 @@
(define-public duplicity
(package
(name "duplicity")
- (version "0.8.21")
+ (version "2.1.4")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://code.launchpad.net/duplicity/"
- (version-major+minor version)
- "-series/" version "/+download/duplicity-"
- version ".tar.gz"))
- (sha256
- (base32 "0ld4bhsi6iv4bvy99pblbr7vlwy9jbgfd6flyvb8qwbl8rvadzjp"))))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/duplicity/duplicity")
+ (commit (string-append "rel." version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "14x5brpq1l400i9l2hnyqmbn19cc1hnbmj5fn8cs8zzwzbgrfxng"))))
(build-system python-build-system)
(native-inputs
`(("gettext" ,gettext-minimal) ; for msgfmt
@@ -155,6 +155,10 @@
(substitute* '("testing/functional/__init__.py"
"testing/overrides/bin/lftp")
(("/bin/sh") (which "sh")))))
+ (add-before 'build 'fix-version
+ (lambda _
+ (substitute* "duplicity/__init__.py"
+ (("\\$version") ,(package-version this-package)))))
(add-before 'check 'set-up-tests
(lambda* (#:key inputs #:allow-other-keys)
(setenv "HOME" (getcwd)) ; gpg needs to write to $HOME
- branch master updated (857f501750 -> b150c546b0), guix-commits, 2023/11/22
- 04/14: gnu: tilda: Run guix style on tilda@1.5.4, guix-commits, 2023/11/22
- 03/14: gnu: tilda: Fix lint error by updating input list format for v1.5.4, guix-commits, 2023/11/22
- 01/14: style: ‘guix style -f’ warns when passed zero arguments., guix-commits, 2023/11/22
- 02/14: gnu: tilda: Add version 1.6-alpha with D-Bus support, guix-commits, 2023/11/22
- 07/14: gnu: babeltrace: Do not install bindings as egg., guix-commits, 2023/11/22
- 08/14: gnu: Add babeltrace/dev., guix-commits, 2023/11/22
- 10/14: gnu: duplicity: Use ‘search-input-file’., guix-commits, 2023/11/22
- 11/14: gnu: duplicity: Remove input labels and use gexps., guix-commits, 2023/11/22
- 12/14: read-print: Properly indent ‘parameterize’., guix-commits, 2023/11/22
- 09/14: gnu: duplicity: Update to 2.1.4.,
guix-commits <=
- 05/14: gnu: Add findimagedupes., guix-commits, 2023/11/22
- 06/14: gnu: Add clifm., guix-commits, 2023/11/22
- 13/14: gnu: cuirass: Update to bdc1f9f., guix-commits, 2023/11/22
- 14/14: git: Shell out to ‘git gc’ when necessary., guix-commits, 2023/11/22