guix-patches
[Top][All Lists]
Advanced

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

[bug#28052] [PATCH] gnu: python-pylint: Use Python2 variant system.


From: Danny Milosavljevic
Subject: [bug#28052] [PATCH] gnu: python-pylint: Use Python2 variant system.
Date: Fri, 11 Aug 2017 20:49:49 +0200

* gnu/packages/python.scm (python-pylint): Use Python2 variant system.
(python2-pylint): Strip Python2 variant system.
---
 gnu/packages/python.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 731fee633..13e1ce5bc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14322,10 +14322,12 @@ Pylint has many rules enabled by default, way too 
much to silence them
 all on a minimally sized program.  It's highly configurable and handle
 pragmas to control it from within your code.  Additionally, it is
 possible to write plugins to add your own checks.")
+    (properties `((python2-variant . ,(delay python2-pylint))))
     (license license:gpl2+)))
 
 (define-public python2-pylint
-  (let ((pylint (package-with-python2 python-pylint)))
+  (let ((pylint (package-with-python2
+                  (strip-python2-variant python-pylint))))
     (package (inherit pylint)
              (propagated-inputs
               `(("python2-backports-functools-lru-cache"





reply via email to

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