~ruther/guix-local

23aa7ba596f947f859d9a3cdbf3bb7f9a6c9fd28 — Ricardo Wurmus 1 year, 4 months ago e4c6491
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
1 files changed, 12 insertions(+), 9 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +12 -9
@@ 2063,19 2063,22 @@ libraries.")
       (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