[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
67/166: gnu: Add python-ubelt.
From: |
guix-commits |
Subject: |
67/166: gnu: Add python-ubelt. |
Date: |
Tue, 19 Apr 2022 09:17:58 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit a930398814bbf65abf19f7ae19bf3e3d9b680bc0
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")
- 39/166: gnu: Add python-jaraco-functools-bootstrap., (continued)
- 39/166: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/19
- 50/166: gnu: Add python-types-docutils., guix-commits, 2022/04/19
- 19/166: gnu: Add python-pcpp., guix-commits, 2022/04/19
- 22/166: gnu: Add python-defcon-bootstrap., guix-commits, 2022/04/19
- 28/166: gnu: Add python-booleanoperations., guix-commits, 2022/04/19
- 29/166: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/04/19
- 34/166: gnu: Add python-ufoprocessor., guix-commits, 2022/04/19
- 51/166: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/19
- 70/166: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/19
- 43/166: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/19
- 67/166: gnu: Add python-ubelt.,
guix-commits <=
- 68/166: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/19
- 76/166: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/19
- 82/166: gnu: Add python-ufolib2., guix-commits, 2022/04/19
- 84/166: gnu: Add python-ufo2ft., guix-commits, 2022/04/19
- 48/166: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/19
- 55/166: gnu: Add python-pytest-enabler., guix-commits, 2022/04/19
- 57/166: gnu: Add python-pip-run., guix-commits, 2022/04/19
- 59/166: gnu: Add python-pytest-perf., guix-commits, 2022/04/19
- 61/166: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/19
- 62/166: gnu: Add python-pytest-randomly., guix-commits, 2022/04/19