From 58e09abbcbe2db9ffc328dae15f35e9a593aa037 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 18 Oct 2025 15:36:43 +0200 Subject: [PATCH] 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 --- 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 a63c1206cab93234961a66026668d0812cc9254d..74725e73f4cdc285d3004aa27743b7145e7ad631 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