diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-06-19 09:58:50 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-17 08:59:29 +0100 |
commit | 97decfb97a83e6cc6f77a3273ffaf6046f400ada (patch) | |
tree | 614c2a69c6ac9500359f1a40136487ca33c7bdf6 | |
parent | e161c93719148bb43ecba481ecf6c3f3ada533a0 (diff) |
gnu: ulauncher: Update to 6.0.0-18.901ce03.
* gnu/packages/xdisorg.scm (ulauncher): Update to 6.0.0-18.901ce03.
[build-system]: Switch to pyproject-build-system.
[arguments]{test-flags}: Ignore some failing tests.
{phases}: Remove deprecated phase 'fix-usr. Add phase 'fix-bash.
[native-inputs]: Remove python-distutils-extra. Add python-pytest,
python-pytest-mock, python-setuptools, python-wheel.
[propagated-inputs]: Add python-xlib.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/xdisorg.scm | 37 |
1 files changed, 25 insertions, 12 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 4469551ffc..032c081b49 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -2166,8 +2166,8 @@ connectivity of the X server running on a particular @code{DISPLAY}.") (license license:gpl3+))) (define-public ulauncher - (let ((commit "1e68d47473f8e77d375cb4eca644c3cda68ed7e9") - (revision "4")) + (let ((commit "901ce03beb157ff8fb354558594495eb74c6de7b") + (revision "18")) (package (name "ulauncher") (version (git-version "6.0.0" revision commit)) @@ -2179,10 +2179,14 @@ connectivity of the X server running on a particular @code{DISPLAY}.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "1c2czlrsf5aq8c88qliqbnqvf04q9cnjc1j6hivqa0w260mzjll1")))) - (build-system python-build-system) + (base32 "0qrqpbqrrklfgqr48zafzggrbzns2q6h27nh63skfd9w582nsajg")))) + (build-system pyproject-build-system) (arguments (list + #:test-flags + ;; XXX: Most likely require a running X server. + #~(list "--ignore=tests/ui/test_preferences_server.py" + "--ignore=tests/ui/test_result_widget.py") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-libX11 @@ -2190,11 +2194,11 @@ connectivity of the X server running on a particular @code{DISPLAY}.") (substitute* "ulauncher/utils/xinit.py" (("libX11.so.6") (search-input-file inputs "/lib/libX11.so"))))) - (add-after 'unpack 'fix-usr - (lambda _ - (substitute* "setup.py" - (("\\{sys.prefix\\}") - (string-append #$output))))) + (add-after 'unpack 'fix-bash + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "tests/modes/shortcuts/test_run_script.py" + (("/bin/bash") + (search-input-file inputs "bin/bash"))))) (add-after 'unpack 'fix-os-release (lambda _ (define (touch file) @@ -2216,10 +2220,19 @@ connectivity of the X server running on a particular @code{DISPLAY}.") (lambda _ (setenv "HOME" (getcwd))))))) - (native-inputs (list intltool python-distutils-extra python-mock)) + (native-inputs (list intltool + python-mock + python-pytest + python-pytest-mock + python-setuptools + python-wheel)) (inputs (list libx11 python-levenshtein python-pycairo)) - (propagated-inputs (list keybinder libwnck gsettings-desktop-schemas - python-pygobject webkitgtk-with-libsoup2)) + (propagated-inputs (list keybinder + libwnck + gsettings-desktop-schemas + python-pygobject + python-xlib + webkitgtk-with-libsoup2)) (home-page "https://ulauncher.io") (synopsis "Application launcher for Linux") (description |