diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-29 22:09:41 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-03 07:40:20 +0000 |
| commit | 88c1ecfd014bcbfce4c81d5e82ceeaf1d656c3f9 (patch) | |
| tree | 8252f732409307d37228d12c0ad222e96a09ae43 /gnu | |
| parent | 94bbd3b9bc144ac666a5c5b427d78b0dc428d2e1 (diff) | |
gnu: python-dogtail: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-dogtail):
[source, arguments]: Run guix style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools. Replace python-nose by
python-pynose.
Change-Id: I7376f34c8e80465373be8ecd1b55af0c494491af
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c3f5012d25..07a5686bd0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6950,37 +6950,36 @@ Prefix) - Encode and decode data structures.") (package (name "python-dogtail") (version "0.9.11") - (source (origin - (method url-fetch) - (uri - (string-append - "https://gitlab.com/dogtail/dogtail/-/raw/released/" - "dogtail-" version ".tar.gz")) - (sha256 - (base32 - "0sr38z7b2n12bvfd4xw4b5dnnhkn5zl3h0ymmnnzavcihfqia6l0")))) - (build-system python-build-system) + (source + (origin + (method url-fetch) + (uri (string-append + "https://gitlab.com/dogtail/dogtail/-/raw/released/" "dogtail-" + version ".tar.gz")) + (sha256 + (base32 "0sr38z7b2n12bvfd4xw4b5dnnhkn5zl3h0ymmnnzavcihfqia6l0")))) + (build-system pyproject-build-system) (arguments - `(#:tests? #f ; TODO Launching dbus for the tests - ; fails - #:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (system "Xvfb :1 &") - (setenv "DISPLAY" ":1") - (invoke "dbus-run-session" "--" "nosetests" "-v" "tests/")) - #t))))) - (propagated-inputs - (list python-pygobject python-pycairo python-pyatspi)) + (list + #:tests? #f ;TODO Launching dbus for the tests fails + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + (invoke "dbus-run-session" "--" + "nosetests" "-v" "tests/"))))))) + (propagated-inputs (list python-pygobject python-pycairo python-pyatspi)) (native-inputs - (list python-nose + (list python-pynose gtk+ xorg-server-for-tests dbus gsettings-desktop-schemas - gobject-introspection)) + gobject-introspection + python-setuptools)) (home-page "https://gitlab.com/dogtail/dogtail/") (synopsis "GUI test tool and automation framework written in Python") (description |
