[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
71/145: gnu: Add python-fs.
From: |
guix-commits |
Subject: |
71/145: gnu: Add python-fs. |
Date: |
Mon, 10 Jan 2022 11:44:11 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit 9916d3b3003595c40bf641bcb2eca092169cb264
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Dec 20 23:23:23 2021 -0500
gnu: Add python-fs.
* gnu/packages/python-xyz.scm (python-fs): New variable.
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 633d13453a..8b3d1b430e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10589,6 +10589,38 @@ It has a flexible system of @samp{authorizers} able to
manage both
@end itemize")
(license license:expat)))
+(define-public python-fs
+ (package
+ (name "python-fs")
+ (version "2.4.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fs" version))
+ (sha256
+ (base32 "0v5kqzi0vd8ar4j4qf5440nzwa9dcagpxb3q6k0cln4cqlmxqmcm"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-m" "not slow")))))))
+ (propagated-inputs
+ (list python-appdirs python-pytz python-typing python-six))
+ (native-inputs
+ (list python-mock python-parameterized python-pyftpdlib python-pytest))
+ (home-page "https://github.com/PyFilesystem/pyfilesystem2/")
+ (synopsis "File system abstraction layer for Python")
+ (description "PyFilesystem's @code{FS} object is a file system abstraction
+sharing similarities with Python's own @code{file} object for single files.
+It allows opening all the files under a given directory recursively, as a
+single @code{FS} object. This enables, for example, counting the combined
+number of lines in the contained files easily.")
+ (license license:expat)))
+
(define-public python-fonttools
(package
(name "python-fonttools")
- 140/145: gnu: rav1e: Update to 0.5.1; also update rust-aom-sys to 0.3.0., (continued)
- 140/145: gnu: rav1e: Update to 0.5.1; also update rust-aom-sys to 0.3.0., guix-commits, 2022/01/10
- 67/145: gnu: python-platformdirs: Update to 2.4.0, run tests and fix metadata., guix-commits, 2022/01/10
- 83/145: gnu: python-beautifulsoup4: Update to 4.10.0., guix-commits, 2022/01/10
- 27/145: gnu: python-nose: Fix build., guix-commits, 2022/01/10
- 21/145: gnu: llvm-12: Use quasiquote, addressing TODO., guix-commits, 2022/01/10
- 37/145: gnu: shadow: Update to 4.9., guix-commits, 2022/01/10
- 51/145: gnu: gtk: Update to 4.4.1., guix-commits, 2022/01/10
- 72/145: gnu: Add zopfli., guix-commits, 2022/01/10
- 70/145: gnu: Add python-pyftpdlib., guix-commits, 2022/01/10
- 48/145: gnu: atkmm-2.28: Do not propagate two variants of glibmm., guix-commits, 2022/01/10
- 71/145: gnu: Add python-fs.,
guix-commits <=
- 57/145: gnu: python-typed-ast: Update to 1.5.1., guix-commits, 2022/01/10
- 135/145: gnu: Add rust-assert-cmd-2., guix-commits, 2022/01/10
- 62/145: gnu: python-typing-extensions: Update to 4.0.1., guix-commits, 2022/01/10
- 112/145: gnu: glibmm: Update to 2.70.0 and apply guix style., guix-commits, 2022/01/10
- 63/145: gnu: python-astroid: Update to 2.9.0., guix-commits, 2022/01/10
- 65/145: gnu: python-testpath: Update to 0.5.0 and enable tests., guix-commits, 2022/01/10
- 89/145: gnu: igraph: Update to 0.9.5., guix-commits, 2022/01/10
- 90/145: gnu: python-igraph: Update to 0.9.8., guix-commits, 2022/01/10
- 69/145: gnu: Add python-pysendfile., guix-commits, 2022/01/10
- 123/145: gnu: python-pandas: Update to 1.3.5., guix-commits, 2022/01/10