[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
183/242: gnu: Add python-toolrack.
From: |
guix-commits |
Subject: |
183/242: gnu: Add python-toolrack. |
Date: |
Wed, 11 May 2022 18:03:24 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 0e7abae1dc8d1784e9c6e9324e4a77016e29f436
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 19 15:52:31 2022 -0400
gnu: Add python-toolrack.
* gnu/packages/python-xyz.scm (python-toolrack): New variable.
---
gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 104c23da34..5cb45305b5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24057,6 +24057,49 @@ which supports the spawning of processes using the API
of the standard
library's @code{threading} module.")
(license license:bsd-3)))
+(define-public python-toolrack
+ (package
+ (name "python-toolrack")
+ (version "3.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/albertodonato/toolrack")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ych11b7nchnkhqgf7dgivbvn2lzafjsi7nhb1an5zjjyns39gpx"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/sh
+ (lambda _
+ (substitute* "toolrack/aio/tests/test_process.py"
+ (("/bin/sh")
+ (which "sh")))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "--pyargs" "toolrack"
+ "-k"
+ (string-append
+ ;; These tests fail for unknown reason comparing the
+ ;; expected output of shell scripts.
+ "not test_parse_stderr "
+ "and not test_parse_no_ending_newline "
+ "and not test_parse_stdout"))))))))
+ (native-inputs (list python-pytest python-pytest-asyncio
+ python-pytest-mock))
+ (home-page "https://github.com/albertodonato/toolrack")
+ (synopsis "Collection of Python utility functions and classes")
+ (description "This package provides a collection of miscellaneous utility
+functions and classes.")
+ (license license:lgpl3+)))
+
(define-public python-toolz
(package
(name "python-toolz")
- 147/242: gnu: Add python-pecan., (continued)
- 147/242: gnu: Add python-pecan., guix-commits, 2022/05/11
- 157/242: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/05/11
- 158/242: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/05/11
- 162/242: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/05/11
- 167/242: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/05/11
- 177/242: gnu: python-can: Update to 4.0.0., guix-commits, 2022/05/11
- 170/242: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/05/11
- 171/242: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/05/11
- 179/242: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/05/11
- 168/242: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/05/11
- 183/242: gnu: Add python-toolrack.,
guix-commits <=
- 181/242: gnu: Add python-argparse-addons., guix-commits, 2022/05/11
- 182/242: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/05/11
- 180/242: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/05/11
- 186/242: gnu: Add python-mergedeep., guix-commits, 2022/05/11
- 188/242: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/05/11
- 187/242: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/05/11
- 190/242: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/05/11
- 191/242: gnu: Add python-crccheck., guix-commits, 2022/05/11
- 193/242: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/05/11
- 199/242: gnu: weasyprint: Update to 54.3., guix-commits, 2022/05/11