sharlatan pushed a commit to branch python-team
in repository guix.

commit 0b6fa654fbd5220ba36f5489917d314fdffd543c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 1 09:31:02 2024 +0000

    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
---
 gnu/packages/python-xyz.scm | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

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

Reply via email to