guix-patches
[Top][All Lists]
Advanced

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

[bug#53190] [PATCH 3/5] gnu: Add python-flake8-imports.


From: Vinicius Monego
Subject: [bug#53190] [PATCH 3/5] gnu: Add python-flake8-imports.
Date: Tue, 11 Jan 2022 16:25:16 +0000

* gnu/packages/python-xyz.scm (python-flake8-imports): New variable.
---
 gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ded88efc88..d1127a072d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10158,6 +10158,32 @@ the same line (which can be introduced by the code 
formatting tool Black), or
 unnecessary plus operators for explicit string literal concatenation.")
     (license license:expat)))
 
+(define-public python-flake8-imports
+  (package
+    (name "python-flake8-imports")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flake8_imports" version))
+       (sha256
+        (base32 "1m3b7j7fp3zbx2ayq318003dbx549b1fa4shas6g1bv566yz246k"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         ;; This package is technically compatible with isort < 5, but we only
+         ;; have isort >= 5.
+         (delete 'sanity-check))))
+    (propagated-inputs
+     (list python-flake8 python-isort))
+    ;; Homepage in PyPI doesn't exist, the package is abandoned.
+    (home-page "https://pypi.org/project/flake8-imports/";)
+    (synopsis "Isort extension for Flake8")
+    (description "This package provides an Isort extension for Flake8.")
+    (license license:expat)))
+
 (define-public python-flake8-polyfill
   (package
     (name "python-flake8-polyfill")
-- 
2.30.2






reply via email to

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