gnu: electrum: Update to 3.0.

gnu/packages/finance.scm (electrum): Update to 3.0.
[inputs]: Change to python3 inputs.
[arguments]: Remove python-2. Disable tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Carlo Zancanaro 2017-11-06 22:40:28 +11:00 committed by Ludovic Courtès
parent ea0421bbf6
commit 47bd32d98e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -263,7 +263,7 @@ (define-public geierlein
(define-public electrum (define-public electrum
(package (package
(name "electrum") (name "electrum")
(version "2.9.3") (version "3.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -272,7 +272,7 @@ (define-public electrum
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0d0fzb653g7b8ka3x90nl21md4g3n1fv11czdxpdq3s9yr6js6f2")) "184cmpfqcznnm0wfjiarb6dps2vs0s2aykmy2ji7p77x20fbisfi"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -281,19 +281,19 @@ (define-public electrum
#t)))) #t))))
(build-system python-build-system) (build-system python-build-system)
(inputs (inputs
`(("python-pyaes" ,python2-pyaes) `(("python-pyaes" ,python-pyaes)
("python-pysocks" ,python2-pysocks) ("python-pysocks" ,python-pysocks)
("python-sip" ,python2-sip) ("python-sip" ,python-sip)
("python-pyqt" ,python2-pyqt-4) ("python-pyqt" ,python-pyqt)
("python-ecdsa" ,python2-ecdsa) ("python-ecdsa" ,python-ecdsa)
("python-pbkdf2" ,python2-pbkdf2) ("python-pbkdf2" ,python-pbkdf2)
("python-requests" ,python2-requests) ("python-requests" ,python-requests)
("python-qrcode" ,python2-qrcode) ("python-qrcode" ,python-qrcode)
("python-protobuf" ,python2-protobuf) ("python-protobuf" ,python-protobuf)
("python-dnspython" ,python2-dnspython) ("python-dnspython" ,python-dnspython)
("python-jsonrpclib" ,python2-jsonrpclib))) ("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix)))
(arguments (arguments
`(#:python ,python-2 `(#:tests? #f ;; package doesn't have any tests
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'build 'patch-home (add-before 'build 'patch-home