mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-06 17:25:56 +02:00
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>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
922bcb2684
commit
efd157c32b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user