[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
67/232: gnu: Add python-ubelt.
From: |
guix-commits |
Subject: |
67/232: gnu: Add python-ubelt. |
Date: |
Sun, 24 Apr 2022 23:58:39 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 20bb3741b6a60c38673b2776ffd359e53efbcbe5
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 59e7d5112f..e589bbdd3a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -362,6 +362,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")
- 213/232: gnu: python-numpydoc: Update to 1.2.1., (continued)
- 213/232: gnu: python-numpydoc: Update to 1.2.1., guix-commits, 2022/04/24
- 216/232: gnu: python-sphinx-copybutton: Update to 0.5.0., guix-commits, 2022/04/24
- 219/232: gnu: python-sphinxcontrib-programoutput: Update to 0.17 and enable tests., guix-commits, 2022/04/24
- 224/232: gnu: python-sphinx-autodoc-typehints: Update to 1.18.1., guix-commits, 2022/04/24
- 226/232: gnu: python-sphinx-rtd-theme: Update to 1.0.0., guix-commits, 2022/04/24
- 229/232: gnu: python-pudb: Update to 2022.1.1 and rename from pudb., guix-commits, 2022/04/24
- 231/232: gnu: Add texlive-underscore., guix-commits, 2022/04/24
- 15/232: gnu: Add texlive-makecmds., guix-commits, 2022/04/24
- 192/232: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/04/24
- 65/232: gnu: Add python-ordered-set., guix-commits, 2022/04/24
- 67/232: gnu: Add python-ubelt.,
guix-commits <=
- 74/232: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/24
- 80/232: gnu: Add skia., guix-commits, 2022/04/24
- 85/232: gnu: Add python-sfdlib., guix-commits, 2022/04/24
- 87/232: gnu: Add font-sil-ezra., guix-commits, 2022/04/24
- 89/232: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/24
- 90/232: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/24
- 95/232: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/24
- 98/232: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/24
- 99/232: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/24
- 101/232: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/04/24