diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2024-12-16 16:30:36 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:20 +0100 |
| commit | 23aa7ba596f947f859d9a3cdbf3bb7f9a6c9fd28 (patch) | |
| tree | 9b259dbb8aa16d64591ebcc866bb3e75127fa45c /gnu/packages/python-check.scm | |
| parent | e4c6491fd54c156687bdccf2d14ef7ef72777d72 (diff) | |
gnu: python-pytest-qt: Update to 4.4.0.
* gnu/packages/python-check.scm (python-pytest-qt): Update to 4.4.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:test-target; remove trailing #T from build phase.
[propagated-inputs]: Add python-pluggy and python-pytest.
[native-inputs]: Remove python-pytest and python-pytest-runner; add
python-pre-commit, python-setuptools, python-tox, and python-wheel.
Change-Id: Ibeca84e841264eb81cc7ba48b5e815d0b837cb4d
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 2fae13aa049..f70028c65f4 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -2063,19 +2063,22 @@ libraries.") | |||
| 2063 | (uri (pypi-uri "pytest-qt" version)) | 2063 | (uri (pypi-uri "pytest-qt" version)) |
| 2064 | (sha256 | 2064 | (sha256 |
| 2065 | (base32 "0i38qp2rqb44grbk9rn7zr5ffjvdlcl6k380759ji920m51632bn")))) | 2065 | (base32 "0i38qp2rqb44grbk9rn7zr5ffjvdlcl6k380759ji920m51632bn")))) |
| 2066 | (build-system python-build-system) | 2066 | (build-system pyproject-build-system) |
| 2067 | (arguments | 2067 | (arguments |
| 2068 | `(#:test-target "pytest" | 2068 | (list |
| 2069 | #:phases | 2069 | ;;#:test-target "pytest" |
| 2070 | (modify-phases %standard-phases | 2070 | #:phases |
| 2071 | '(modify-phases %standard-phases | ||
| 2071 | (add-before 'check 'set-qpa | 2072 | (add-before 'check 'set-qpa |
| 2072 | (lambda _ | 2073 | (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen")))))) |
| 2073 | (setenv "QT_QPA_PLATFORM" "offscreen") | ||
| 2074 | #t))))) | ||
| 2075 | (propagated-inputs | 2074 | (propagated-inputs |
| 2076 | (list python-pyqt)) | 2075 | (list python-pluggy python-pyqt python-pytest)) |
| 2077 | (native-inputs | 2076 | (native-inputs |
| 2078 | (list python-pytest python-pytest-runner python-setuptools-scm)) | 2077 | (list python-pre-commit |
| 2078 | python-setuptools | ||
| 2079 | python-setuptools-scm | ||
| 2080 | python-tox | ||
| 2081 | python-wheel)) | ||
| 2079 | (home-page "https://github.com/pytest-dev/pytest-qt") | 2082 | (home-page "https://github.com/pytest-dev/pytest-qt") |
| 2080 | (synopsis "Pytest support for PyQt and PySide applications") | 2083 | (synopsis "Pytest support for PyQt and PySide applications") |
| 2081 | (description | 2084 | (description |
