guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: python-libvirt: Update to 3.2.0.


From: ???
Subject: 03/04: gnu: python-libvirt: Update to 3.2.0.
Date: Fri, 28 Apr 2017 09:07:27 -0400 (EDT)

iyzsong pushed a commit to branch master
in repository guix.

commit 9271dfddc9989e0c27b5bff050e998af09a59b79
Author: 宋文武 <address@hidden>
Date:   Fri Apr 28 20:53:15 2017 +0800

    gnu: python-libvirt: Update to 3.2.0.
    
    * gnu/packages/qemu.scm (python-libvirt, python2-libvirt): Update to 3.2.0.
---
 gnu/packages/qemu.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]