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.master
parent
0448bfe2d7
commit
548d4d810d
|
@ -55,6 +55,7 @@
|
||||||
#:use-module (gnu packages dbm)
|
#:use-module (gnu packages dbm)
|
||||||
#:use-module (gnu packages dejagnu)
|
#:use-module (gnu packages dejagnu)
|
||||||
#:use-module (gnu packages ftp)
|
#:use-module (gnu packages ftp)
|
||||||
|
#:use-module (gnu packages gettext)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages gnupg)
|
#:use-module (gnu packages gnupg)
|
||||||
#:use-module (gnu packages golang)
|
#:use-module (gnu packages golang)
|
||||||
|
@ -80,7 +81,7 @@
|
||||||
(define-public duplicity
|
(define-public duplicity
|
||||||
(package
|
(package
|
||||||
(name "duplicity")
|
(name "duplicity")
|
||||||
(version "0.7.19")
|
(version "0.8.14")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -89,32 +90,36 @@
|
||||||
"-series/" version "/+download/duplicity-"
|
"-series/" version "/+download/duplicity-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0ag9dknslxlasslwfjhqgcqbkb1mvzzx93ry7lch2lfzcdd91am6"))))
|
(base32 "1af7rppsd8kj66xhbc04x1di3rpncrz0prxq1z7npg11c769vb1x"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
(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)
|
("par2cmdline" ,par2cmdline)
|
||||||
("python-pexpect" ,python2-pexpect)
|
("python-fasteners" ,python-fasteners)
|
||||||
("python-fasteners" ,python2-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)
|
("tzdata" ,tzdata-for-tests)
|
||||||
("mock" ,python2-mock)))
|
("mock" ,python-mock)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("lockfile" ,python2-lockfile)
|
`(("lockfile" ,python-lockfile)
|
||||||
("urllib3" ,python2-urllib3)))
|
("urllib3" ,python-urllib3)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("librsync" ,librsync-0.9)
|
`(("librsync" ,librsync)
|
||||||
("lftp" ,lftp)
|
("lftp" ,lftp)
|
||||||
("gnupg" ,gnupg) ; gpg executable needed
|
("gnupg" ,gnupg) ; gpg executable needed
|
||||||
("util-linux" ,util-linux))) ; for setsid
|
("util-linux" ,util-linux))) ; for setsid
|
||||||
(arguments
|
(arguments
|
||||||
`(#:python ,python-2 ; setup assumes Python 2
|
`(#:test-target "test"
|
||||||
#:test-target "test"
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'build 'use-store-file-names
|
(add-before 'build 'use-store-file-names
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "duplicity/gpginterface.py"
|
(substitute* "duplicity/gpginterface.py"
|
||||||
(("self.call = 'gpg'")
|
(("self.call = u'gpg'")
|
||||||
(string-append "self.call = '" (assoc-ref inputs "gnupg") "/bin/gpg'")))
|
(string-append "self.call = '" (assoc-ref inputs "gnupg") "/bin/gpg'")))
|
||||||
|
|
||||||
(substitute* '("testing/functional/__init__.py"
|
(substitute* '("testing/functional/__init__.py"
|
||||||
|
|
Reference in New Issue