1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-25 02:21:49 +02:00

gnu: python-wmctrl: Update to 0.5.

* gnu/packages/python-xyz.scm (python-wmctrl): Update to 0.5. Use
G-Epressions.
[build-system]: Switch to pyproject-build-system.
[arguments] <tests?>: Disalbe for now.
[native-inputs]: Add python-setuptools.

Change-Id: Iab74b86d60c62856be83a033d39c0fe8561a3a9e
This commit is contained in:
Sharlatan Hellseher
2025-10-05 14:09:29 +01:00
parent e50706157a
commit 1494c6316e
+22 -16
View File
@@ -11446,30 +11446,36 @@ humans, and implementation simplicity.")
(define-public python-wmctrl
(package
(name "python-wmctrl")
(version "0.4")
(version "0.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "wmctrl" version))
(sha256
(base32
"1q0l1sqnj5wma87k3dsgmsyph464syjc6fl8qcpa41nan1rgzjv6"))))
(build-system python-build-system)
(base32 "0qp9adzsabcbjgm864m4dc8x5knvfb1mskih4byxdqp9dxms6fbq"))))
(build-system pyproject-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
(let ((wmctrl (assoc-ref inputs "wmctrl")))
(substitute* "wmctrl.py"
(("'wmctrl")
(string-append "'" wmctrl "/bin/wmctrl")))))))))
(inputs (list wmctrl))
(propagated-inputs (list python-attrs))
(list
#:tests? #f ;XXX: all tests fail, require some set up
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda _
(substitute* "wmctrl.py"
(("'wmctrl")
(string-append "'" #$(this-package-input "wmctrl")
"/bin/wmctrl"))))))))
(native-inputs
(list python-setuptools))
(inputs
(list wmctrl))
(propagated-inputs
(list python-attrs))
(home-page "https://github.com/antocuni/wmctrl")
(synopsis "Tool to programmatically control Xorg windows")
(description "This package provides a library for programmatically
controlling Xorg windows using Python. The library relies on the
@command{wmctrl} to do so.")
(description
"This package provides a library for programmatically controlling Xorg
windows using Python. The library relies on the @command{wmctrl} to do so.")
(license license:expat)))
(define-public python-fancycompleter