mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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:
parent
56fa6d77c6
commit
0185760a78
1 changed files with 12 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue