[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
71/142: gnu: Add python-fs.
From: |
guix-commits |
Subject: |
71/142: gnu: Add python-fs. |
Date: |
Mon, 10 Jan 2022 13:07:24 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit b794dff00a86f2ba8b1dc200525f7da450671ac5
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 b4cb6180ef..eebcb2bc6e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10588,6 +10588,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")
- 127/142: gnu: simple-scan: Add python to native inputs., (continued)
- 127/142: gnu: simple-scan: Add python to native inputs., guix-commits, 2022/01/10
- 126/142: gnu: gnome-calculator: Add python to native inputs., guix-commits, 2022/01/10
- 130/142: gnu: mozjs-78: Disable rust-simd to workaround a build failure., guix-commits, 2022/01/10
- 132/142: gnu: Add rust-concolor-query., guix-commits, 2022/01/10
- 138/142: gnu: rust: Do not generate doc., guix-commits, 2022/01/10
- 05/142: gnu: python-wheel: Update to 0.37.0., guix-commits, 2022/01/10
- 44/142: gnu: wayland: Add python to native inputs., guix-commits, 2022/01/10
- 56/142: gnu: gjs: Build with meson-0.59 to avoid 'install_dir' error., guix-commits, 2022/01/10
- 67/142: gnu: python-platformdirs: Update to 2.4.0, run tests and fix metadata., guix-commits, 2022/01/10
- 69/142: gnu: Add python-pysendfile., guix-commits, 2022/01/10
- 71/142: gnu: Add python-fs.,
guix-commits <=
- 88/142: gnu: Add plfit., guix-commits, 2022/01/10
- 94/142: gnu: clipper: Remove obsolete phase., guix-commits, 2022/01/10
- 96/142: gnu: emacs: Remove obsolete phase., guix-commits, 2022/01/10
- 109/142: gnu: go-github-com-prometheus-common: Remove obsolete phase., guix-commits, 2022/01/10
- 125/142: gnu: gnome-screenshot: Add python to native inputs., guix-commits, 2022/01/10
- 123/142: gnu: python-pandas: Update to 1.3.5., guix-commits, 2022/01/10
- 131/142: gnu: Add rust-cfg-expr-0.8., guix-commits, 2022/01/10
- 137/142: gnu: rav1e: Update to 0.5.1; also update rust-aom-sys to 0.3.0., guix-commits, 2022/01/10
- 139/142: gnu: ell: Update to 0.46., guix-commits, 2022/01/10
- 140/142: gnu: iwd: Update to 1.20., guix-commits, 2022/01/10