summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-10-05 21:47:00 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-07 13:34:12 +0100
commit65f814187633d5f944ebaf3fb0d1fb0aedaca70d (patch)
treeb16c515e23bfd1cd9b0843ad7190b0fb604d4a6d /gnu/packages/python-xyz.scm
parent3080afe8cef6f484ec932da3e430ca4f0b66be08 (diff)
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 <ngraves@ngraves.fr> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d8b3be51b0..28c8f9f35b 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