guix_mirror_bot pushed a commit to branch next-master
in repository guix.

commit 7d90d59e1df5236ff9b194f10384ac3b757c9a30
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 26 13:02:03 2025 +0100

    gnu: python-pyinotify: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-pyinotify):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools.
    [description]: Improve style.
    
    Change-Id: Iad18dc462ad8d0c6ec2556fd7891fe0c952fff6d
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4225fb680a..e02030e516 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26600,19 +26600,23 @@ interpreter. bpython's main features are
   (package
     (name "python-pyinotify")
     (version "0.9.6")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "pyinotify" version))
-              (sha256
-               (base32
-                "1x3i9wmzw33fpkis203alygfnrkcmq9w1aydcm887jh6frfqm6cw"))))
-    (build-system python-build-system)
-    (arguments `(#:tests? #f))          ;no tests
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/seb-m/pyinotify";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0qfvs1sfvlpfb10rxlivwa96mg0ibczis554s2rx32s11nynzvbk"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ;no tests
+    (native-inputs (list python-setuptools))
     (home-page "https://github.com/seb-m/pyinotify";)
     (synopsis "Python library for monitoring inotify events")
     (description
-     "@code{pyinotify} provides a Python interface for monitoring
-file system events on Linux.")
+     "@code{pyinotify} provides a Python interface for monitoring file system
+events on Linux.")
     (license license:expat)))
 
 (define-public python-more-itertools

Reply via email to