From 65f814187633d5f944ebaf3fb0d1fb0aedaca70d Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Sun, 5 Oct 2025 21:47:00 +0200 Subject: [PATCH] gnu: python-flake8-class-newline: Fix build. * gnu/packages/python-xyz.scm (python-flake8-class-newline): Fix build. [source]: Switch to git-fetch. [arguments] <#:test-backend>: Use unittest. [native-inputs]: Remove python-wheel. Change-Id: Ib77582846c5041bb2899798b01129a842cf28897 Reviewed-by: Nicolas Graves 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 d8b3be51b0633b817dd11f8eecbcbcd23e08216d..28c8f9f35b74d95b6dc98bcf65329933f41eb2f2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -858,13 +858,17 @@ system.") (version "1.6.0") (source (origin - (method url-fetch) - (uri (pypi-uri "flake8-class-newline" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/AlexanderVanEck/flake8-class-newline") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "1w8z88asz90jm1msz06vi7dj0da8sfw5ajyvabfv7f4fr0iljk2i")))) + (base32 "15fw0iw2c3a3n2aarfgq7147406489xd8nk0kkj9k2x98fkwwnyh")))) (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) (propagated-inputs (list python-flake8)) - (native-inputs (list python-setuptools python-wheel)) + (native-inputs (list python-setuptools)) (home-page "https://github.com/AlexanderVanEck/flake8-class-newline") (synopsis "Flake8 lint for newline after class definitions") (description "This package provides a flake8 extension to lint for newline