diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2024-12-16 16:40:28 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:20 +0100 |
| commit | 599704cef319ba362c6a2c73fec63f7ef74628ea (patch) | |
| tree | c80eb0a6394ecf74a5cba2d6a157d061a5704e5c /gnu/packages/python-check.scm | |
| parent | 23aa7ba596f947f859d9a3cdbf3bb7f9a6c9fd28 (diff) | |
gnu: python-nox: Update to 2024.10.09.
* gnu/packages/python-check.scm (python-nox): Update to 2024.10.09.
[native-inputs]: Add python-hatchling; remove python-setuptools and
python-wheel.
[arguments]: Remove custom build phases.
Change-Id: I3a446b7b1ef1d73356d5ba87b0c6812a08e4d3c3
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index f70028c65f4..047edfd5268 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -2908,7 +2908,7 @@ which make writing and running functional and integration tests easier.") | |||
| 2908 | (define-public python-nox | 2908 | (define-public python-nox |
| 2909 | (package | 2909 | (package |
| 2910 | (name "python-nox") | 2910 | (name "python-nox") |
| 2911 | (version "2022.11.21") | 2911 | (version "2024.10.09") |
| 2912 | (source | 2912 | (source |
| 2913 | (origin | 2913 | (origin |
| 2914 | ;; No tests in the PyPI tarball. | 2914 | ;; No tests in the PyPI tarball. |
| @@ -2918,25 +2918,8 @@ which make writing and running functional and integration tests easier.") | |||
| 2918 | (commit version))) | 2918 | (commit version))) |
| 2919 | (file-name (git-file-name name version)) | 2919 | (file-name (git-file-name name version)) |
| 2920 | (sha256 | 2920 | (sha256 |
| 2921 | (base32 "1xfd63h75wiiyri4f7qyvy50f2ny0v4r4wx2h4px9ddbkh2k5g9p")))) | 2921 | (base32 "0gvv6hcwmmmg1sgwar42061ahx5p773d5fzx3c7sq81wh3gp7lqr")))) |
| 2922 | (build-system pyproject-build-system) | 2922 | (build-system pyproject-build-system) |
| 2923 | (arguments | ||
| 2924 | (list #:phases | ||
| 2925 | #~(modify-phases %standard-phases | ||
| 2926 | ;; NOTE: This manipulation looks not clear as upstream package | ||
| 2927 | ;; contains "nox/tox_to_nox.jinja2" file which is not copied | ||
| 2928 | ;; during install phase and causes check and sanity-check | ||
| 2929 | ;; phases fail due to missing file. Try to find more simple | ||
| 2930 | ;; solution. | ||
| 2931 | (add-after 'unpack 'rename-tox-to-nox-jinja2 | ||
| 2932 | (lambda _ | ||
| 2933 | (rename-file "nox/tox_to_nox.jinja2" "nox/tox_to_nox.jinja2.py"))) | ||
| 2934 | (add-after 'install 'rename-tox-to-nox-jinja2-back | ||
| 2935 | (lambda _ | ||
| 2936 | (let* ((src-file (car (find-files (string-append #$output "/lib") | ||
| 2937 | "tox_to_nox\\.jinja2\\.py$"))) | ||
| 2938 | (dst-file (string-drop-right src-file 3))) | ||
| 2939 | (rename-file src-file dst-file))))))) | ||
| 2940 | (propagated-inputs | 2923 | (propagated-inputs |
| 2941 | (list python-argcomplete | 2924 | (list python-argcomplete |
| 2942 | python-colorlog | 2925 | python-colorlog |
| @@ -2944,11 +2927,10 @@ which make writing and running functional and integration tests easier.") | |||
| 2944 | python-py | 2927 | python-py |
| 2945 | python-virtualenv)) | 2928 | python-virtualenv)) |
| 2946 | (native-inputs | 2929 | (native-inputs |
| 2947 | (list python-jinja2 | 2930 | (list python-hatchling |
| 2931 | python-jinja2 | ||
| 2948 | python-pytest | 2932 | python-pytest |
| 2949 | python-tox | 2933 | python-tox)) |
| 2950 | python-setuptools | ||
| 2951 | python-wheel)) | ||
| 2952 | (home-page "https://nox.thea.codes/") | 2934 | (home-page "https://nox.thea.codes/") |
| 2953 | (synopsis "Flexible test automation") | 2935 | (synopsis "Flexible test automation") |
| 2954 | (description | 2936 | (description |
