gnu: python-libvirt: Update to 3.2.0.

* gnu/packages/qemu.scm (python-libvirt, python2-libvirt): Update to 3.2.0.
This commit is contained in:
宋文武 2017-04-28 20:53:15 +08:00
parent c3c0316215
commit 9271dfddc9
No known key found for this signature in database
GPG Key ID: 26525665AE727D37
1 changed files with 6 additions and 5 deletions

View File

@ -381,13 +381,13 @@ three libraries:
(define-public python-libvirt (define-public python-libvirt
(package (package
(name "python-libvirt") (name "python-libvirt")
(version "2.0.0") (version "3.2.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "libvirt-python" version)) (uri (pypi-uri "libvirt-python" version))
(sha256 (sha256
(base32 (base32
"0h0x5lpsx97bvw20pzfcsdmmivximddq4qmn8fk0n55dqv0wn5kq")))) "0g80vhjss1a48w60zw0pd5fhpwfjw2dqhh0fbs730brkxj6xv1dc"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -395,9 +395,10 @@ three libraries:
(add-after 'unpack 'patch-nosetests-path (add-after 'unpack 'patch-nosetests-path
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "setup.py" (substitute* "setup.py"
(("sys.executable, \"/usr/bin/nosetests\"") (("\"/usr/bin/nosetests\"")
(string-append "\"" (which "bash") "\", \"" (string-append "\"" (which "nosetests") "\""))
(which "nosetests") "\""))) (("self\\.spawn\\(\\[sys\\.executable, nose\\]\\)")
(format #f "self.spawn([\"~a\", nose])" (which "bash"))))
#t))))) #t)))))
(inputs (inputs
`(("libvirt" ,libvirt))) `(("libvirt" ,libvirt)))