[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
183/232: gnu: Add python-toolrack.
From: |
guix-commits |
Subject: |
183/232: gnu: Add python-toolrack. |
Date: |
Sun, 24 Apr 2022 23:59:10 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 60032500e2c11186e2bba61f6344ee988454a716
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 89dba79c7f..7ffe3a65ce 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23993,6 +23993,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")
- 146/232: gnu: python-sqlalchemy: Update to 1.4.35., (continued)
- 146/232: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/24
- 141/232: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/24
- 150/232: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/24
- 166/232: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/04/24
- 144/232: gnu: Add python-socksio., guix-commits, 2022/04/24
- 148/232: gnu: Add python-aioredis., guix-commits, 2022/04/24
- 154/232: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/04/24
- 165/232: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/24
- 169/232: gnu: xeus: Update to 2.4.1., guix-commits, 2022/04/24
- 175/232: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/04/24
- 183/232: gnu: Add python-toolrack.,
guix-commits <=
- 184/232: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/04/24
- 186/232: gnu: Add python-mergedeep., guix-commits, 2022/04/24
- 189/232: gnu: Add python-mdx-gh-links., guix-commits, 2022/04/24
- 193/232: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/04/24
- 194/232: gnu: Remove python2-jmespath., guix-commits, 2022/04/24
- 196/232: gnu: python-miio: Update to 0.5.11., guix-commits, 2022/04/24
- 202/232: gnu: libgrss: Use libsoup-minimal-2 to fix build., guix-commits, 2022/04/24
- 201/232: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/04/24
- 204/232: gnu: emacsy: Use webkitgtk-with-libsoup2., guix-commits, 2022/04/24
- 208/232: gnu: python-flask-wtf: Update to 1.0.1., guix-commits, 2022/04/24