guix-commits
[Top][All Lists]
Advanced

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

04/04: gnu: Add python-pox.


From: guix-commits
Subject: 04/04: gnu: Add python-pox.
Date: Wed, 18 Dec 2019 18:03:08 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 8451ea19bcf8ebc98ea52beddbf6245c3d3b353c
Author: Mădălin Ionel Patrașcu <address@hidden>
Date:   Tue Dec 17 18:24:36 2019 +0100

    gnu: Add python-pox.
    
    * gnu/packages/python-xyz.scm (python-pox): New variable.
    
    Co-authored-by: Ricardo Wurmus <address@hidden>
    Signed-off-by: Ricardo Wurmus <address@hidden>
---
 gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 25c6f9c..951571b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16934,3 +16934,41 @@ parallel-enabled applications for @dfn{symmetric 
multiprocessing} (SMP)
 computers and clusters.  It features cross-platform portability and dynamic
 load balancing.")
     (license license:bsd-3)))
+
+(define-public python-pox
+  (package
+    (name "python-pox")
+    (version "0.2.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pox" version))
+       (sha256
+        (base32
+         "0y17ckc2p6i6709s279sjdj4q459mpcc38ymg9zv9y6vl6jf3bq6"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (mkdir-p "/tmp/guix")
+             (setenv "SHELL" "bash")
+             (setenv "USERNAME" "guix")
+             (setenv "HOME" "/tmp/guix") ; must end on USERNAME...
+             (invoke "py.test" "-vv")
+             #t)))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("which" ,which)))
+    (home-page "https://pypi.org/project/pox/";)
+    (synopsis "Python utilities for filesystem exploration and automated 
builds")
+    (description
+     "Pox provides a collection of utilities for navigating and manipulating
+filesystems.  This module is designed to facilitate some of the low level
+operating system interactions that are useful when exploring a filesystem on a
+remote host.  Pox provides Python equivalents of several shell commands such
+as @command{which} and @command{find}.  These commands allow automated
+discovery of what has been installed on an operating system, and where the
+essential tools are located.")
+    (license license:bsd-3)))



reply via email to

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