[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: |
Thu, 12 May 2022 14:14:09 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 5c41c122a5da0855f1a369e8670b26ab28cf86b4
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 5048b5c04b..612e69c7bc 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")
- 192/242: gnu: python-cantools: Update to 37.0.7., (continued)
- 192/242: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/05/12
- 214/242: gnu: python-sphinx: Update to 4.5.0., guix-commits, 2022/05/12
- 205/242: gnu: python-keyring: Fix test suite., guix-commits, 2022/05/12
- 218/242: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/05/12
- 236/242: gnu: python-matplotlib: Update to 3.5.2., guix-commits, 2022/05/12
- 63/242: gnu: Add psautohint-font-data., guix-commits, 2022/05/12
- 62/242: gnu: Add python-pytest-randomly., guix-commits, 2022/05/12
- 59/242: gnu: Add python-pytest-perf., guix-commits, 2022/05/12
- 65/242: gnu: Add python-ordered-set., guix-commits, 2022/05/12
- 69/242: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/05/12
- 67/242: gnu: Add python-ubelt.,
guix-commits <=
- 66/242: gnu: Add python-xdoctest., guix-commits, 2022/05/12
- 71/242: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/05/12
- 104/242: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/05/12
- 97/242: gnu: Add python-debugpy., guix-commits, 2022/05/12
- 102/242: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/05/12
- 88/242: gnu: Add texlive-bidi., guix-commits, 2022/05/12
- 108/242: gnu: python-anyio: Replace python-pytest-trio with python-trio., guix-commits, 2022/05/12
- 96/242: gnu: Add python-pydevd., guix-commits, 2022/05/12
- 110/242: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/05/12
- 95/242: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/05/12