diff options
author | Sharlatan Hellseher <[email protected]> | 2025-01-17 22:17:11 +0000 |
---|---|---|
committer | Ricardo Wurmus <[email protected]> | 2025-01-20 21:38:03 +0100 |
commit | 100efdbd7a5a6db2cbb3214f989d5466c0246af3 (patch) | |
tree | 6e495b6cfa38bd596126b494134ced201f4da631 | |
parent | 230740b032d9f243185ff87e43aa5b6976e6a205 (diff) |
gnu: python-testpath: Update to 0.6.0.
* gnu/packages/check.scm (python-testpath): Update to 0.6.0.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Remove 'relax-requirements. Use default 'build,
'check and 'install.
[native-inputs]: Remove python-pypa-build.
Change-Id: I510407b86a938151c20272bb8396529823f3fb48
-rw-r--r-- | gnu/packages/check.scm | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 818119a8d7..47047de59e 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2604,7 +2604,7 @@ C/C++, R, and more, and uploads it to the @code{codecov.io} service.") (define-public python-testpath (package (name "python-testpath") - (version "0.5.0") + (version "0.6.0") (source (origin (method git-fetch) @@ -2614,32 +2614,11 @@ C/C++, R, and more, and uploads it to the @code{codecov.io} service.") (file-name (git-file-name name version)) (sha256 (base32 - "08r1c6bhvj8pcdvzkqv1950k36a6q3v81fd2p1yqdq3c07mcwgif")))) - (build-system python-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'relax-requirements - (lambda _ - (substitute* "pyproject.toml" - (("flit_core >=3.2.0,<3.3") - "flit_core >=3.2.0")))) - ;; XXX: PEP 517 manual build copied from python-isort. - (replace 'build - (lambda _ - (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest")))) - (replace 'install - (lambda _ - (let ((whl (car (find-files "dist" "\\.whl$")))) - (invoke "pip" "--no-cache-dir" "--no-input" - "install" "--no-deps" "--prefix" #$output whl))))))) + "0pib1xsvjwwyyhv0sqzxvgg814k83dmv1ppwfkkq9llkhr8k7s9y")))) + (build-system pyproject-build-system) (native-inputs - (list python-pypa-build python-flit-core python-pytest)) + (list python-flit-core + python-pytest)) (home-page "https://github.com/jupyter/testpath") (synopsis "Test utilities for code working with files and commands") (description |