unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28052] [PATCH] gnu: python-pylint: Use Python2 variant system.
@ 2017-08-11 18:49 Danny Milosavljevic
  2017-08-12 12:14 ` Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2017-08-11 18:49 UTC (permalink / raw)
  To: 28052

* 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"

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#28052] [PATCH] gnu: python-pylint: Use Python2 variant system.
  2017-08-11 18:49 [bug#28052] [PATCH] gnu: python-pylint: Use Python2 variant system Danny Milosavljevic
@ 2017-08-12 12:14 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2017-08-12 12:14 UTC (permalink / raw)
  To: Danny Milosavljevic, 28052

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

Danny Milosavljevic <dannym@scratchpost.org> writes:

> * gnu/packages/python.scm (python-pylint): Use Python2 variant system.
> (python2-pylint): Strip Python2 variant system.

Good catch, LGTM.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-12 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-11 18:49 [bug#28052] [PATCH] gnu: python-pylint: Use Python2 variant system Danny Milosavljevic
2017-08-12 12:14 ` Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).