guix-commits
[Top][All Lists]
Advanced

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

71/103: gnu: Add python-fs.


From: guix-commits
Subject: 71/103: gnu: Add python-fs.
Date: Wed, 5 Jan 2022 09:44:38 -0500 (EST)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit 04cb8ebe74db2db491757965e6f05f2c9b088292
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Dec 31 12:54:13 2021 +0100

    gnu: Add python-fs.
    
    * gnu/packages/python-xyz.scm (python-fs): New variable.
---
 gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83f0ea451f..33e5516847 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10424,6 +10424,39 @@ with Python. It is the most complete RFC-959 FTP 
server implementation
 available for Python programming language.")
     (license license:expat)))
 
+(define-public python-fs
+  (package
+    (name "python-fs")
+    (version "2.4.12")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "fs" version))
+        (sha256
+          (base32
+            "0bzl3f1m6mq4y6xq0k199fkbzari940gs3lmrahi6qjdn64a22y1"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'set-HOME
+           (lambda _
+             (setenv "HOME" "/tmp"))))))
+    (propagated-inputs
+      (list python-appdirs python-pytz python-six))
+    (native-inputs
+      (list python-pytest python-pyftpdlib python-psutil))
+    (home-page
+      "https://github.com/PyFilesystem/pyfilesystem2";)
+    (synopsis
+      "Python filesystem abstraction layer")
+    (description
+      "Work with files and directories in archives, memory, the cloud etc. as
+easily as your local drive. Write code now, decide later where the data
+will be stored; unit test without writing real files; upload files to the
+cloud without learning a new API; sandbox your file writing code.")
+    (license license:expat)))
+
 (define-public python-fonttools
   (package
     (name "python-fonttools")



reply via email to

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