From 33692180e3a5a1ed1cd5fa107120f2cc4cee4b4c Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 26 Oct 2025 13:02:03 +0100 Subject: [PATCH] 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 Signed-off-by: Rutherther --- 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 9eeec24c968269ea22db5b8341072d1254a31b4d..ba2e3e01516e064a6b17290b3e316b1431313843 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