diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-18 15:32:20 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-18 23:37:57 +0100 |
| commit | 8705de8c0664133daa05e5d3cbd59ae407e440c5 (patch) | |
| tree | 8b371dedc0151f69c6f1d07a22206fef69c55444 | |
| parent | f198cfe66293b4547fb14dd1afe239beed98e01f (diff) | |
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 <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0b063744450..a63c1206cab 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 |
