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 e4c6491fd5
commit 23aa7ba596
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

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