[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
67/233: gnu: Add python-ubelt.
From: |
guix-commits |
Subject: |
67/233: gnu: Add python-ubelt. |
Date: |
Sun, 24 Apr 2022 23:39:44 -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")
- 26/233: gnu: Add python-mutatormath., (continued)
- 26/233: gnu: Add python-mutatormath., guix-commits, 2022/04/24
- 43/233: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/24
- 50/233: gnu: Add python-types-docutils., guix-commits, 2022/04/24
- 51/233: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/24
- 42/233: gnu: Add python-types-pytz., guix-commits, 2022/04/24
- 39/233: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/24
- 53/233: gnu: Add python-jaraco-context., guix-commits, 2022/04/24
- 55/233: gnu: Add python-pytest-enabler., guix-commits, 2022/04/24
- 65/233: gnu: Add python-ordered-set., guix-commits, 2022/04/24
- 66/233: gnu: Add python-xdoctest., guix-commits, 2022/04/24
- 67/233: gnu: Add python-ubelt.,
guix-commits <=
- 68/233: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/24
- 70/233: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/24
- 73/233: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/24
- 76/233: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/24
- 77/233: gnu: Add python-fonttools-next., guix-commits, 2022/04/24
- 79/233: gnu: Add python-cffsubr., guix-commits, 2022/04/24
- 83/233: gnu: Add python-compreffor., guix-commits, 2022/04/24
- 85/233: gnu: Add python-sfdlib., guix-commits, 2022/04/24
- 87/233: gnu: Add font-sil-ezra., guix-commits, 2022/04/24
- 86/233: gnu: Add font-amiri., guix-commits, 2022/04/24