gnu: python-flake8-implicit-str-concat: Update to 0.5.0.

* gnu/packages/python-xyz.scm (python-flake8-implicit-str-concat): Update to 0.5.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests?>: Explicitly disable them as no provided in PyPI
archive or Git checkout.
<phases>: Remove 'loosen-requirements.
[native-inputs]: Add python-hatchling.

Change-Id: If3fc55d3505a835bd9222b19dd03a755a8aa5e9e
This commit is contained in:
Sharlatan Hellseher 2024-12-01 09:31:02 +00:00
parent 08dd8e4506
commit 0df28169f3
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -15412,24 +15412,22 @@ and @code{InteractiveShellEmbed()()}.")
(define-public python-flake8-implicit-str-concat (define-public python-flake8-implicit-str-concat
(package (package
(name "python-flake8-implicit-str-concat") (name "python-flake8-implicit-str-concat")
(version "0.2.0") (version "0.5.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "flake8_implicit_str_concat" version)) (uri (pypi-uri "flake8_implicit_str_concat" version))
(sha256 (sha256
(base32 "1v0y29xlmbr2q12a4nnpm1dm9aw1mjiys1x8jif4z8c90d63cqm6")))) (base32 "1s59w4x053j4794n6h9c7hafa8jjjymx6aar5q23pjw4vrdis7hh"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
'(#:tests? #f ;no tests (list
#:phases (modify-phases %standard-phases #:tests? #f)) ; no tests in PiPY or git checkout
(add-after 'unpack 'loosen-requirements (native-inputs
(lambda _ (list python-hatchling))
;; Permit newer versions of attrs. Remove for >0.2.
(substitute* "setup.py"
((", <21") "")))))))
(propagated-inputs (propagated-inputs
(list python-attrs python-more-itertools)) (list python-attrs
python-more-itertools))
(home-page "https://github.com/keisheiled/flake8-implicit-str-concat") (home-page "https://github.com/keisheiled/flake8-implicit-str-concat")
(synopsis "Flake8 plugin to encourage correct string literal concatenation") (synopsis "Flake8 plugin to encourage correct string literal concatenation")
(description (description