diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-14 15:37:09 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:56 +0100 |
| commit | 4fde638b3b801dce26bd2e3bfc4e92e68ca8c173 (patch) | |
| tree | 983a0edada040559ce269824e1a62454451b4513 /gnu/packages/python-xyz.scm | |
| parent | f60567886a3cd4211c36178eadb792225b16105b (diff) | |
gnu: python-toolrack: Update to 4.0.1.
* gnu/packages/python-xyz.scm (python-toolrack): Update to 4.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Adjust phase 'patch-/bin/sh; remove custom 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I3de26b028d5eeb23a534ae2dc17e8084249d19e1
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 |
