gnu: python-flake8-bugbear: Update to 24.10.31.

* gnu/packages/python-xyz.scm (python-flake8-bugbear): Update to 24.10.31.
Improve style.
[source]: Adjust URI name as PyPI archive was changed.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Remove 'disable-test.
[native-inputs]: Remove python-hypothesis; add python-pytest,
python-setuptools, and python-wheel.
[description]: Start from a new line, adjust fill column.

Change-Id: Id8580c8b2d20820a9f16ec719d35ac3b1dbf548e
This commit is contained in:
Sharlatan Hellseher 2024-12-01 09:24:24 +00:00
parent 8aa54b9ff6
commit 08dd8e4506
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -15336,35 +15336,28 @@ blind @code{except:} statements.")
(define-public python-flake8-bugbear (define-public python-flake8-bugbear
(package (package
(name "python-flake8-bugbear") (name "python-flake8-bugbear")
(version "20.1.4") (version "24.10.31")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "flake8-bugbear" version)) (uri (pypi-uri "flake8_bugbear" version))
(sha256 (sha256
(base32 (base32 "1nrrwhfmk49riflmng26qqjzvfang5lij14ripzqwzxjf8f56ns3"))))
"0qiihb242fygzyrfynq913ak7cdmx8mcac9c0zk3y5gv16qf80mx")))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-before 'check 'disable-test
(lambda _
;; This test fails on slow computers.
(substitute* "tests/test_bugbear.py"
(("def test_does_not_crash_on_any_valid_code")
"def _test_does_not_crash_on_any_valid_code")))))))
(native-inputs (native-inputs
(list python-hypothesis python-hypothesmith)) (list python-hypothesmith
python-pytest
python-setuptools
python-wheel))
(propagated-inputs (propagated-inputs
(list python-attrs python-flake8)) (list python-attrs
python-flake8))
(home-page "https://github.com/PyCQA/flake8-bugbear") (home-page "https://github.com/PyCQA/flake8-bugbear")
(synopsis (synopsis "Flake8 plugin for finding likely bugs and design problems in your program")
"Flake8 plugin for finding likely bugs and design problems in your program")
(description (description
"This package contains a plugin for Flake8 finding likely bugs and "This package contains a plugin for Flake8 finding likely bugs and design
design problems in your program. It contains warnings that don't belong problems in your program. It contains warnings that don't belong in pyflakes
in pyflakes and pycodestyle.") and pycodestyle.")
(license license:expat))) (license license:expat)))
(define-public python-flake8-continuation (define-public python-flake8-continuation