guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 8705de8c0664133daa05e5d3cbd59ae407e440c5
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 18 15:32:20 2025 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0b06374445..a63c1206ca 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16541,21 +16541,23 @@ should be used in preference to using a backslash for 
line continuation.
     (version "4.1.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "flake8-debugger" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jbkahn/flake8-debugger";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0h1qlzbxxhjsw6kg3mcml9h8byy77m9a5z06z2dnvqs115b05c2j"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:tests? #f))              ; no tests in PyPI and no setup.py in GitHub
-    (propagated-inputs
-     (list python-flake8 python-pycodestyle))
+        (base32 "1nmqs238a02ypld32lwbagbk1jppm3pddrjdrrngc1xpbzb9nyl0"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-poetry-core python-pytest python-setuptools))
+    (propagated-inputs (list python-flake8 python-pycodestyle))
     (home-page "https://github.com/jbkahn/flake8-debugger";)
     (synopsis "@code{ipdb} and @code{pdb} statement checker plugin for flake8")
-    (description "This package provides a Flake8 plugin that checks for
-@code{ipdb} and @code{pdb} imports and set traces, as well as
-@code{from IPython.terminal.embed}, @code{import InteractiveShellEmbed}
-and @code{InteractiveShellEmbed()()}.")
+    (description
+     "This package provides a Flake8 plugin that checks for @code{ipdb} and
+@code{pdb} imports and set traces, as well as @code{from
+IPython.terminal.embed}, @code{import InteractiveShellEmbed} and
+@code{InteractiveShellEmbed()()}.")
     (license license:expat)))
 
 (define-public python-flake8-implicit-str-concat

Reply via email to