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>
This commit is contained in:
Nicolas Graves 2025-10-18 15:18:14 +02:00 committed by Sharlatan Hellseher
parent 317dbfb541
commit 72c69bfe47
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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