guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 53d0957396ee03663a92cd34e6c9c1a9975e1f30
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Dec 20 18:09:14 2025 +0100

    gnu: python-i3-py: Switch to pyproject.
    
    * gnu/packages/wm.scm (python-i3-py):
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:phases>: Refresh phase 'install-doc.
    [native-inputs]: Add python-setuptools.
    [description]: Improve style.
    
    Change-Id: Ida9397a7ffb3e142b44ac7f1516e072a93b853e6
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/wm.scm | 37 ++++++++++++++++++-------------------
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index bb4b8a40fd..046792e21b 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -983,29 +983,28 @@ window managers.")
              (url "https://github.com/ziberna/i3-py";)
              (commit "27f88a616e9ecc340e7d041d3d00782f8a1964c1")))
        (sha256
-        (base32
-         "1nm719dc2xqlll7vj4c4m7mpjb27lpn3bg3c66gajvnrz2x1nmxs"))
+        (base32 "1nm719dc2xqlll7vj4c4m7mpjb27lpn3bg3c66gajvnrz2x1nmxs"))
        (file-name (string-append name "-" version "-checkout"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #f ; no tests yet
-       #:phases (modify-phases %standard-phases
-                  (add-after 'install 'install-doc
-                    ;; Copy readme file to documentation directory.
-                    (lambda* (#:key outputs #:allow-other-keys)
-                      (let ((doc (string-append (assoc-ref outputs "out")
-                                                "/share/doc/" ,name)))
-                        (install-file "README.md" doc)
-                        ;; Avoid unspecified return value.
-                        #t))))))
-    (propagated-inputs
-     (list i3-wm))
+     (list
+      #:tests? #f ;no tests yet
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'install-doc
+            ;; Copy readme file to documentation directory.
+            (lambda _
+              (install-file "README.md"
+                            (string-append #$output "/share/doc/" #$name)))))))
+    (native-inputs (list python-setuptools))
+    (propagated-inputs (list i3-wm))
     (home-page "https://github.com/ziberna/i3-py";)
     (synopsis "Python interface to the i3 window manager")
-    (description "This package allows you to interact from a Python program
-with the i3 window manager via its IPC socket.  It can send commands and other
-kinds of messages to i3, select the affected containers, filter results and
-subscribe to events.")
+    (description
+     "This package allows you to interact from a Python program with the i3
+window manager via its IPC socket.  It can send commands and other kinds of
+messages to i3, select the affected containers, filter results and subscribe
+to events.")
     (license license:gpl3+)))
 
 (define-public qtile

Reply via email to