summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-18 15:18:14 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-18 23:37:53 +0100
commit72c69bfe47d0bbc55c11e5cbe51e0fc39cfd44da (patch)
tree9cdc584e95055d684899f9eafee20befefe5fcae
parent317dbfb54124c6fa26a181431e05af6964ad20bc (diff)
gnu: python-flake8-blind-except: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-flake8-blind-except): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Remove python-pycodestyle. [propagated-inputs]: Add python-pycodestyle. Change-Id: I5c07bedc5dc9efe4632ea3e270b648ca583d623b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 13 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f7a7dcefe82..58568227812 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16449,18 +16449,22 @@ complexity of Python source code.")
(version "0.2.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "flake8-blind-except" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/elijahandrews/flake8-blind-except")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "05nxsxfzfhwsm8gys90228imm2qbnqnw5y8bfqyfngnbkmd5fnpj"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f)) ; no tests
- (native-inputs (list python-pycodestyle))
+ (base32 "09zrfrm0896miysrpb7fhxzqjn6pm8y0b638nncswm2wvw9by72q"))))
+ (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/elijahandrews/flake8-blind-except")
(synopsis "Check for blind @code{except:} statements")
- (description "This package provides a flake8 extension that checks for
-blind @code{except:} statements.")
+ (description
+ "This package provides a flake8 extension that checks for blind
+@code{except:} statements.")
(license license:expat)))
(define-public python-flake8-bugbear