guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: python-robotframework-sshlibrary: Update to 3.7.0 and honor


From: guix-commits
Subject: 02/07: gnu: python-robotframework-sshlibrary: Update to 3.7.0 and honor TESTS?.
Date: Fri, 15 Oct 2021 13:53:13 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 1fdad09d1c48cfc02eabd056d96b52c7fef465cb
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Oct 14 15:17:35 2021 -0400

    gnu: python-robotframework-sshlibrary: Update to 3.7.0 and honor TESTS?.
    
    * gnu/packages/python-xyz.scm (python-robotframework-sshlibrary): Update to
    3.7.0.
    [phases]: Delete trailing #t.
    {check}: Honor TESTS?.
---
 gnu/packages/python-xyz.scm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index eca4bf2..2120414 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4458,7 +4458,7 @@ utility, a static analysis tool (linter) for Robot 
Framework source files.")
 (define-public python-robotframework-sshlibrary
   (package
     (name "python-robotframework-sshlibrary")
-    (version "3.3.0")
+    (version "3.7.0")
     ;; There are no tests in the PyPI archive.
     (source
      (origin
@@ -4469,7 +4469,7 @@ utility, a static analysis tool (linter) for Robot 
Framework source files.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1mk6dz2jqqndbx4yji09012q6rmadnqdywi7czvj62b0s07dr3r2"))))
+         "09ak22rh9qa9wlpvhkliyybcp4xafjhxsps28wz0pf0030771xav"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -4483,14 +4483,14 @@ utility, a static analysis tool (linter) for Robot 
Framework source files.")
                (invoke "invoke" "kw-docs" "project-docs")
                (mkdir-p doc)
                (for-each delete-file (find-files "docs" "\\.rst"))
-               (copy-recursively "docs" doc)
-               #t)))
+               (copy-recursively "docs" doc))))
          (replace 'check
-           (lambda _
-             ;; Some tests require an SSH server; we remove them.
-             (delete-file "utest/test_client_api.py")
-             (delete-file "utest/test_scp.py")
-             (invoke "python" "utest/run.py"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               ;; Some tests require an SSH server; we remove them.
+               (delete-file "utest/test_client_api.py")
+               (delete-file "utest/test_scp.py")
+               (invoke "python" "utest/run.py")))))))
     (propagated-inputs
      `(("python-robotframework" ,python-robotframework)
        ("python-paramiko" ,python-paramiko)



reply via email to

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