mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user