[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
67/204: gnu: Add python-ubelt.
From: |
guix-commits |
Subject: |
67/204: gnu: Add python-ubelt. |
Date: |
Wed, 20 Apr 2022 02:03:21 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 44dd36e9602f997d800afa5667af8bb2adaa4e50
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")
- 81/204: gnu: Add python-skia-pathops., (continued)
- 81/204: gnu: Add python-skia-pathops., guix-commits, 2022/04/20
- 84/204: gnu: Add python-ufo2ft., guix-commits, 2022/04/20
- 99/204: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/20
- 107/204: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/20
- 51/204: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/20
- 58/204: gnu: Add python-tempora., guix-commits, 2022/04/20
- 62/204: gnu: Add python-pytest-randomly., guix-commits, 2022/04/20
- 63/204: gnu: Add psautohint-font-data., guix-commits, 2022/04/20
- 47/204: gnu: python-importlib-metadata: Update to 4.11.3., guix-commits, 2022/04/20
- 64/204: gnu: Add psautohint., guix-commits, 2022/04/20
- 67/204: gnu: Add python-ubelt.,
guix-commits <=
- 71/204: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/20
- 73/204: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/20
- 74/204: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/20
- 75/204: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/20
- 77/204: gnu: Add python-fonttools-next., guix-commits, 2022/04/20
- 80/204: gnu: Add skia., guix-commits, 2022/04/20
- 85/204: gnu: Add python-sfdlib., guix-commits, 2022/04/20
- 88/204: gnu: Add texlive-bidi., guix-commits, 2022/04/20
- 89/204: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/20
- 92/204: gnu: Add python-untangle., guix-commits, 2022/04/20