guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 58e09abbcbe2db9ffc328dae15f35e9a593aa037
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 18 15:36:43 2025 +0200

    gnu: python-flake8-todo: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-flake8-todo):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:tests?>: Disable them.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I3852a7bb1c4f9a4c85b5ce2abad6b7090509332d
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a63c1206ca..74725e73f4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16684,14 +16684,17 @@ first-class forward references that stub files use.")
     (version "0.7")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "flake8-todo" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/schlamar/flake8-todo";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "05arm0sch3r8248035kilmf01z0mxsahw6vpbbz0d343zy8m8k3f"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-pycodestyle))
+        (base32 "0bx4bs9l6cvqk5v21my4dn0zmkrr0sajsw6f3x1dj4fpg3dp5d8s"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ; No tests.
+    (native-inputs (list python-setuptools))
+    (propagated-inputs (list python-pycodestyle))
     (home-page "https://github.com/schlamar/flake8-todo";)
     (synopsis "TODO notes checker, plugin for flake8")
     (description

Reply via email to