[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: Add python-robotframework-sshlibrary.
From: |
guix-commits |
Subject: |
07/09: gnu: Add python-robotframework-sshlibrary. |
Date: |
Fri, 19 Apr 2019 20:55:19 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit c0c64f175c5c4f4e78d100d49c02f21c432b5077
Author: Maxim Cournoyer <address@hidden>
Date: Mon Apr 1 22:39:45 2019 -0400
gnu: Add python-robotframework-sshlibrary.
* gnu/packages/python-xyz.scm (python-robotframework-sshlibrary): New
variable.
---
gnu/packages/python-xyz.scm | 61 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index efc3666..2afa9ae 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2797,6 +2797,67 @@ acceptance testing, acceptance test driven development
(ATDD), and robotic
process automation (RPA).")
(license license:asl2.0)))
+(define-public python-robotframework-sshlibrary
+ (package
+ (name "python-robotframework-sshlibrary")
+ (version "3.3.0")
+ ;; There are no tests in the PyPI archive.
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/robotframework/SSHLibrary.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1mk6dz2jqqndbx4yji09012q6rmadnqdywi7czvj62b0s07dr3r2"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'build-and-install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((doc-output (assoc-ref outputs "doc"))
+ (doc (string-append doc-output "/share/"
+ ,name "-" ,version "/")))
+ (invoke "chmod" "-R" "+w" "docs")
+ (invoke "invoke" "kw-docs" "project-docs")
+ (mkdir-p doc)
+ (for-each delete-file (find-files "docs" "\\.rst"))
+ (copy-recursively "docs" doc)
+ #t)))
+ (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"))))))
+ (propagated-inputs
+ `(("python-robotframework" ,python-robotframework)
+ ("python-paramiko" ,python-paramiko)
+ ("python-scp" ,python-scp)))
+ (native-inputs
+ `(("openssh" ,openssh)
+ ("which" ,which)
+ ;; To generate the documentation
+ ("python-docutils" ,python-docutils)
+ ("python-invoke" ,python-invoke)
+ ("python-pygments" ,python-pygments)
+ ("python-rellu" ,python-rellu)))
+ (outputs '("out" "doc"))
+ (home-page "https://github.com/robotframework/SSHLibrary")
+ (synopsis "Robot Framework library for SSH and SFTP")
+ (description "SSHLibrary is a Robot Framework library providing support
+for SSH and SFTP. It has the following main usages:
address@hidden @bullet
address@hidden Executing commands on the remote machine, either blocking or
non-blocking.
address@hidden Writing and reading in an interactive shell.
address@hidden Transferring files and directories over SFTP.
address@hidden Ensuring that files and directories exist on the remote machine.
address@hidden itemize")
+ (license license:asl2.0)))
+
(define-public python-scp
(package
(name "python-scp")
- branch staging updated (f5961dd -> 73326e7), guix-commits, 2019/04/19
- 01/09: gnu: Add python-bumpversion., guix-commits, 2019/04/19
- 02/09: gnu: Add python-scp., guix-commits, 2019/04/19
- 03/09: gnu: Add python-deprecated., guix-commits, 2019/04/19
- 05/09: gnu: Add python-rellu., guix-commits, 2019/04/19
- 04/09: gnu: Add python-pygithub., guix-commits, 2019/04/19
- 06/09: gnu: Add python-robotframework., guix-commits, 2019/04/19
- 09/09: gnu: Add emacs-robot-mode., guix-commits, 2019/04/19
- 08/09: gnu: Add python-robotframework-lint., guix-commits, 2019/04/19
- 07/09: gnu: Add python-robotframework-sshlibrary.,
guix-commits <=