diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-05 14:09:29 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-05 17:09:09 +0100 |
| commit | 1494c6316e9f243b971cfd05966aa23ff07b12b9 (patch) | |
| tree | f943480fe68052152a7965dfd3bcfc76b52b7b39 /gnu/packages/python-xyz.scm | |
| parent | e50706157a5ef46b0b2e6b9a82317e14c8f35c70 (diff) | |
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bf3b6fe47f..bc60281202 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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 |
