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
This commit is contained in:
Ricardo Wurmus 2024-12-16 16:30:36 +01:00
parent 56fa6d77c6
commit 0185760a78
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2063,19 +2063,22 @@ (define-public python-pytest-qt
(uri (pypi-uri "pytest-qt" version))
(sha256
(base32 "0i38qp2rqb44grbk9rn7zr5ffjvdlcl6k380759ji920m51632bn"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
`(#:test-target "pytest"
#:phases
(modify-phases %standard-phases
(list
;;#:test-target "pytest"
#:phases
'(modify-phases %standard-phases
(add-before 'check 'set-qpa
(lambda _
(setenv "QT_QPA_PLATFORM" "offscreen")
#t)))))
(lambda _ (setenv "QT_QPA_PLATFORM" "offscreen"))))))
(propagated-inputs
(list python-pyqt))
(list python-pluggy python-pyqt python-pytest))
(native-inputs
(list python-pytest python-pytest-runner python-setuptools-scm))
(list python-pre-commit
python-setuptools
python-setuptools-scm
python-tox
python-wheel))
(home-page "https://github.com/pytest-dev/pytest-qt")
(synopsis "Pytest support for PyQt and PySide applications")
(description