[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 067/232] gnu: Add python-ubelt.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 067/232] gnu: Add python-ubelt. |
Date: |
Sun, 24 Apr 2022 23:56:33 -0400 |
* 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 @@ (define-public python-logbook
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")
--
2.34.0
- [bug#55104] [PATCH 025/232] gnu: python-fonttools-with-test: Rename to python-fonttools-full., (continued)
- [bug#55104] [PATCH 025/232] gnu: python-fonttools-with-test: Rename to python-fonttools-full., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 039/232] gnu: Add python-jaraco-functools-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 027/232] gnu: Add python-fontpens-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 047/232] gnu: python-importlib-metadata: Update to 4.11.3., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 020/232] gnu: Add opentype-sanitizer., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 059/232] gnu: Add python-pytest-perf., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 060/232] gnu: python-factory-boy: Update to 3.2.1., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 063/232] gnu: Add psautohint-font-data., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 065/232] gnu: Add python-ordered-set., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 050/232] gnu: Add python-types-docutils., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 067/232] gnu: Add python-ubelt.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 079/232] gnu: Add python-cffsubr., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 077/232] gnu: Add python-fonttools-next., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 086/232] gnu: Add font-amiri., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 089/232] gnu: Add font-gfs-ambrosia., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 096/232] gnu: Add python-pydevd., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 093/232] gnu: python-black: Update to 22.3.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 034/232] gnu: Add python-ufoprocessor., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 054/232] gnu: Add python-jaraco-functools., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 058/232] gnu: Add python-tempora., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 061/232] gnu: python-faker: Update to 13.3.4 and honor TESTS?., Maxim Cournoyer, 2022/04/25