summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-18 15:36:43 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-18 23:37:58 +0100
commit58e09abbcbe2db9ffc328dae15f35e9a593aa037 (patch)
tree8d0a1274c4b5c0f40b0ad9415fb773887cd35d35 /gnu
parent8705de8c0664133daa05e5d3cbd59ae407e440c5 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a63c1206cab..74725e73f4c 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