[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
67/242: gnu: Add python-ubelt.
From: |
guix-commits |
Subject: |
67/242: gnu: Add python-ubelt. |
Date: |
Wed, 11 May 2022 18:02:53 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit c2990cacd0975bf4b276558ccf99276a6ea4a755
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 6 14:31:46 2022 -0400
gnu: Add python-ubelt.
* gnu/packages/python-xyz.scm (python-ubelt): New variable.
---
gnu/packages/python-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2bdab3768a..80d09219d3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -364,6 +364,50 @@ library’s logging module. It was designed with both
complex and simple
applications in mind and the idea to make logging fun.")
(license license:bsd-3)))
+(define-public python-ubelt
+ (package
+ (name "python-ubelt")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Erotemic/ubelt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0hac9nqqvqfbca2s4g0mp1fnj0ah60bg9fb8234ibna3jww8qs33"))))
+ (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") ;else the test suite hangs
+ (invoke "pytest" "-vv" "-k"
+ (string-append
+ ;; The builder user home doesn't match HOME,
+ ;; which causes this test to fail.
+ "not userhome "
+ ;; This one pointlessly tries
+ ;; locating various binaries on
+ ;; the path.
+ "and not find_exe"))))))))
+ (propagated-inputs (list python-ordered-set))
+ (native-inputs
+ (list python-pytest
+ python-requests
+ python-xdoctest))
+ (home-page "https://github.com/Erotemic/ubelt")
+ (synopsis "Python library for hashing, caching, timing and more")
+ (description "Ubelt is a small library of simple functions that extend the
+Python standard library. It includes an @acronym{API, Application Programming
+Interface} to simplify common problems such as caching, timing, computing
+progress, among other things.")
+ (license license:asl2.0)))
+
(define-public python-ueberzug
(package
(name "python-ueberzug")
- 79/242: gnu: Add python-cffsubr., (continued)
- 79/242: gnu: Add python-cffsubr., guix-commits, 2022/05/11
- 02/242: gnu: python-astroid: Propagate python-typing-extensions., guix-commits, 2022/05/11
- 08/242: gnu: python-jinja2: Update to 3.1.1., guix-commits, 2022/05/11
- 22/242: gnu: Add python-defcon-bootstrap., guix-commits, 2022/05/11
- 29/242: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/05/11
- 40/242: gnu: Add python-autocommand., guix-commits, 2022/05/11
- 37/242: gnu: Add python-pytest-mypy., guix-commits, 2022/05/11
- 46/242: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/05/11
- 53/242: gnu: Add python-jaraco-context., guix-commits, 2022/05/11
- 69/242: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/05/11
- 67/242: gnu: Add python-ubelt.,
guix-commits <=
- 70/242: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/05/11
- 72/242: gnu: Add python-scikit-build., guix-commits, 2022/05/11
- 78/242: gnu: Add python-afdko., guix-commits, 2022/05/11
- 92/242: gnu: Add python-untangle., guix-commits, 2022/05/11
- 88/242: gnu: Add texlive-bidi., guix-commits, 2022/05/11
- 89/242: gnu: Add font-gfs-ambrosia., guix-commits, 2022/05/11
- 87/242: gnu: Add font-sil-ezra., guix-commits, 2022/05/11
- 74/242: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/05/11
- 83/242: gnu: Add python-compreffor., guix-commits, 2022/05/11
- 75/242: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/05/11