guix-commits
[Top][All Lists]
Advanced

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

09/12: gnu: python-stem: Update to 1.6.0.


From: Tobias Geerinckx-Rice
Subject: 09/12: gnu: python-stem: Update to 1.6.0.
Date: Thu, 1 Mar 2018 16:21:29 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit a9c0a133c045f82e1084e7485c6cc65ace131fa3
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Thu Mar 1 16:34:38 2018 +0100

    gnu: python-stem: Update to 1.6.0.
    
    * gnu/packages/python.scm (python-stem): Update to 1.6.0.
    [arguments]: Add ‘fix-test-environment’ phase.
---
 gnu/packages/python.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0b7ff44..1264241 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9352,18 +9352,25 @@ etc.")
 (define-public python-stem
   (package
     (name "python-stem")
-    (version "1.5.4")
+    (version "1.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "stem" version))
        (sha256
         (base32
-         "1j7pnblrn0yr6jmxvsq6y0ihmxmj5x50jl2n2606w67f6wq16j9n"))))
+         "1va9p3ij7lxg6ixfsvaql06dn11l3fgpxmss1dhlvafm7sqizznp"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-before 'check 'fix-test-environment
+           (lambda _
+             ;; Fixes: FileNotFoundError: [Errno 2] No such file or directory:
+             ;; 
'/tmp/guix-build-python-stem-1.6.0.drv-0/stem-1.6.0/.gitignore'.
+             (with-output-to-file ".gitignore"
+               (lambda _ (format #t "%")))
+             #t))
          (replace 'check
            (lambda _
              (invoke "./run_tests.py" "--unit")



reply via email to

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