From 5eff416f5d91b6e3b145c0f2892bc74820265c0d Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Sun, 5 Oct 2025 21:32:26 +0200 Subject: [PATCH] gnu: python-flake8-docstrings: Fix build. * gnu/packages/python-xyz.scm (python-flake8-docstrings): [source]: Switch to git-fetch. [arguments] <#:flags>: Set to #f because there are no tests. [native-inputs]: Remove python-wheel. Change-Id: I1ac1d3c673f9949c8f15037e50d96b075212af32 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 70d656f974eb7b17bddd76f978d1dbe74a934b37..ffd3328cbbac2ba05446abd33f206e2e4a2b36c2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -858,13 +858,17 @@ system.") (version "1.7.0") (source (origin - (method url-fetch) - (uri (pypi-uri "flake8_docstrings" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/pycqa/flake8-docstrings") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "1bs1m5kqw25sn68f06571q5s3aaxd06mv7k952bqdrhnvi4cg32c")))) + (base32 "0a9cx11rz9asb4xkz7dg65kx8mpa74xqh5qp3lsiy74y4idwp9qi")))) (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ;there are no tests (propagated-inputs (list python-flake8 python-pydocstyle)) - (native-inputs (list python-setuptools python-wheel)) + (native-inputs (list python-setuptools)) (home-page "https://github.com/pycqa/flake8-docstrings") (synopsis "Extension for flake8 which uses pydocstyle to check docstrings") (description