diff options
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0259d60d78..a7d9ea0b06 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29853,7 +29853,7 @@ instead of pickle.") (define-public python-toolrack (package (name "python-toolrack") - (version "3.0.1") + (version "4.0.1") (source (origin (method git-fetch) @@ -29863,30 +29863,22 @@ instead of pickle.") (file-name (git-file-name name version)) (sha256 (base32 - "0ych11b7nchnkhqgf7dgivbvn2lzafjsi7nhb1an5zjjyns39gpx")))) - (build-system python-build-system) + "03ard57xc2x0lpnzgrgfb9fqlq1y031ygp8jn2v2fg87i586gjsy")))) + (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-/bin/sh (lambda _ - (substitute* "toolrack/aio/tests/test_process.py" + (substitute* "tests/aio/process_test.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)) + (which "sh")))))))) + (native-inputs (list python-pytest + python-pytest-asyncio + python-pytest-mock + python-setuptools + python-wheel)) (home-page "https://github.com/albertodonato/toolrack") (synopsis "Collection of Python utility functions and classes") (description "This package provides a collection of miscellaneous utility |
