diff options
author | Eric Bavier <bavier@member.fsf.org> | 2020-07-23 18:57:47 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2020-07-23 19:00:31 -0500 |
commit | 548d4d810d0b6f4bf490119dae378903b4888433 (patch) | |
tree | 5fef144091aec78974b15dc7451b7a2ae89377d5 | |
parent | 0448bfe2d769998ba33c288a07738e13b02113a4 (diff) | |
download | guix-548d4d810d0b6f4bf490119dae378903b4888433.tar.gz |
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.
-rw-r--r-- | gnu/packages/backup.scm | 29 |
1 files changed, 17 insertions, 12 deletions
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" |