~ruther/guix-local

e27167ee16047397da4f3c6651e83d527da5eddc — Sharlatan Hellseher 6 months ago 5571db7
gnu: python-pytest-qt: Update to 4.5.0, don't propagate Qt5/Qt6.

* gnu/packages/python-check.scm (python-pytest-qt): Update to 4.5.0.
[source]: Fix the pypi-uri archive name according to PyPI.
[propagated-inputs]: Remove python-pyqt and python-pytest; add
python-typing-extensions.
[native-inputs]: Remove python-pre-commit and python-wheel; add
python-pyqt-6 and python-pytest-bootstrap.

Fixes: guix/guix#3769
Change-Id: Idc7399d10ecd615cf8c8e47802dc637f05c782f9
1 files changed, 10 insertions(+), 10 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +10 -10
@@ 3104,28 3104,28 @@ types (i.e. Convention, Warn, and Error) fail the build.")
(define-public python-pytest-qt
  (package
    (name "python-pytest-qt")
    (version "4.4.0")
    (version "4.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pytest-qt" version))
       (uri (pypi-uri "pytest_qt" version))
       (sha256
        (base32 "0i38qp2rqb44grbk9rn7zr5ffjvdlcl6k380759ji920m51632bn"))))
        (base32 "17ridbk4gsr1aclgs1ai55r6k2ngrg0wn9b40g96bw48qh0hwqji"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      ;;#:test-target "pytest"
      #:phases
      '(modify-phases %standard-phases
      #~(modify-phases %standard-phases
         (add-before 'check 'set-qpa
           (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen"))))))
    (propagated-inputs
     (list python-pluggy python-pyqt python-pytest))
    (native-inputs
     (list python-pre-commit
     (list python-pyqt-6
           python-pytest-bootstrap
           python-setuptools
           python-setuptools-scm
           python-wheel))
           python-setuptools-scm))
    (propagated-inputs
     (list python-pluggy
           python-typing-extensions))
    (home-page "https://github.com/pytest-dev/pytest-qt")
    (synopsis "Pytest support for PyQt and PySide applications")
    (description