rekado pushed a commit to branch python-team
in repository guix.
commit 046178a75448d4306ac310f32be15df8af180f42
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Dec 16 16:30:36 2024 +0100
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
---
gnu/packages/python-check.scm | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index d06af41468..0f27166e4a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2024,26 +2024,29 @@ libraries.")
(define-public python-pytest-qt
(package
(name "python-pytest-qt")
- (version "3.3.0")
+ (version "4.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-qt" version))
(sha256
- (base32 "09c9psfn3zigpaw1l1cmynpa3csxa49wc2ih5lzl24skdkw0njvi"))))
- (build-system python-build-system)
+ (base32 "0i38qp2rqb44grbk9rn7zr5ffjvdlcl6k380759ji920m51632bn"))))
+ (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