guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/45: gnu: python-flake8-implicit-str-concat: Permit newer attrs.


From: guix-commits
Subject: 16/45: gnu: python-flake8-implicit-str-concat: Permit newer attrs.
Date: Wed, 12 Jan 2022 17:58:40 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 7994cfce3d46f8a200475f75fd61a629f1830f9d
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 12 14:45:04 2022 +0100

    gnu: python-flake8-implicit-str-concat: Permit newer attrs.
    
    * gnu/packages/python-xyz.scm 
(python-flake8-implicit-str-concat)[arguments]:
    Add phase.
---
 gnu/packages/python-xyz.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ef1cd55d89..799c813b6e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10344,6 +10344,14 @@ These should be used in preference to using a 
backslash for line continuation.
        (sha256
         (base32 "1v0y29xlmbr2q12a4nnpm1dm9aw1mjiys1x8jif4z8c90d63cqm6"))))
     (build-system python-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") "")))))))
     (propagated-inputs
      (list python-attrs python-more-itertools))
     (home-page "https://github.com/keisheiled/flake8-implicit-str-concat";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]