summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/python-xyz.scm38
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