summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-05 13:56:19 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-05 17:09:12 +0100
commitefd157c32b7219fdb91fee4d55f41ce58779b5bc (patch)
treef7040d4556d879fa151e4ffd640495f04257fb33 /gnu/packages/python-xyz.scm
parent922bcb268495778cce259de7b254ebe9cf5e6cd1 (diff)
gnu: python-screenkey: Disable tests and improve style.
* gnu/packages/python-xyz.scm (python-screenkey) [arguments]<#:tests?>: Disable them. <#:phases>: Improve phase 'fix-dlopen-paths. [inputs]: Remove python-setuptools-git, python-setuptools, python-tokenize-rt, python-wheel. Add slop, as it is listed as a dependency in the README. [native-inputs]: Add python-setuptools. Change-Id: I01395c4509180ac371a393b9a818dc0c2a848c0a Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 5 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 269f742597..6f54d0db0b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35135,16 +35135,14 @@ CMake.")
(build-system pyproject-build-system)
(arguments
(list
+ #:tests? #f ; No tests.
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-dlopen-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "Screenkey/xlib.py"
- (("libX11.so.6")
- (search-input-file inputs "lib/libX11.so.6")))
- (substitute* "Screenkey/xlib.py"
- (("libXtst.so.6")
- (search-input-file inputs "lib/libXtst.so.6")))))
+ (("(libXtst.so.6|libX11.so.6)" lib)
+ (search-input-file inputs (string-append "/lib/" lib))))))
(add-after 'install 'wrap-screenkey
(lambda _
(wrap-program (string-append #$output "/bin/screenkey")
@@ -35160,10 +35158,8 @@ CMake.")
python-dbus-python
python-pycairo
python-pygobject
- python-setuptools
- python-setuptools-git
- python-tokenize-rt
- python-wheel))
+ slop))
+ (native-inputs (list python-setuptools))
(home-page "https://www.thregr.org/~wavexx/software/screenkey/")
(synopsis "Screencast tool to display pressed keys")
(description