From 548d4d810d0b6f4bf490119dae378903b4888433 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 23 Jul 2020 18:57:47 -0500 Subject: gnu: duplicity: Update to 0.8.14. * gnu/packages/backup.scm (duplicity): Update to 0.8.14. [native-inputs]: Add gettext, python-future, python-pytest, python-pytest-runner, and python-setuptools-scm. Move other python2 packages to python. [propagated-inputs]: Ditto. [inputs]: Use latest librsync. [arguments]: Remove #:python argument. Adjust gpg substitution regex for latest source. --- gnu/packages/backup.scm | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index d464598ba2..fb6d000170 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -55,6 +55,7 @@ #:use-module (gnu packages dbm) #:use-module (gnu packages dejagnu) #:use-module (gnu packages ftp) + #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) @@ -80,7 +81,7 @@ (define-public duplicity (package (name "duplicity") - (version "0.7.19") + (version "0.8.14") (source (origin (method url-fetch) @@ -89,32 +90,36 @@ "-series/" version "/+download/duplicity-" version ".tar.gz")) (sha256 - (base32 "0ag9dknslxlasslwfjhqgcqbkb1mvzzx93ry7lch2lfzcdd91am6")))) + (base32 "1af7rppsd8kj66xhbc04x1di3rpncrz0prxq1z7npg11c769vb1x")))) (build-system python-build-system) (native-inputs - `(("util-linux" ,util-linux) ; setsid command, for the tests + `(("gettext" ,gnu-gettext) ; for msgfmt + ("util-linux" ,util-linux) ; setsid command, for the tests ("par2cmdline" ,par2cmdline) - ("python-pexpect" ,python2-pexpect) - ("python-fasteners" ,python2-fasteners) + ("python-fasteners" ,python-fasteners) + ("python-future" ,python-future) ; for tests + ("python-pexpect" ,python-pexpect) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner) + ("python-setuptools-scm" ,python-setuptools-scm) ("tzdata" ,tzdata-for-tests) - ("mock" ,python2-mock))) + ("mock" ,python-mock))) (propagated-inputs - `(("lockfile" ,python2-lockfile) - ("urllib3" ,python2-urllib3))) + `(("lockfile" ,python-lockfile) + ("urllib3" ,python-urllib3))) (inputs - `(("librsync" ,librsync-0.9) + `(("librsync" ,librsync) ("lftp" ,lftp) ("gnupg" ,gnupg) ; gpg executable needed ("util-linux" ,util-linux))) ; for setsid (arguments - `(#:python ,python-2 ; setup assumes Python 2 - #:test-target "test" + `(#:test-target "test" #:phases (modify-phases %standard-phases (add-before 'build 'use-store-file-names (lambda* (#:key inputs #:allow-other-keys) (substitute* "duplicity/gpginterface.py" - (("self.call = 'gpg'") + (("self.call = u'gpg'") (string-append "self.call = '" (assoc-ref inputs "gnupg") "/bin/gpg'"))) (substitute* '("testing/functional/__init__.py" -- cgit v1.2.3