mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: python-pylint: Use Python2 variant system.
* gnu/packages/python.scm (python-pylint): Use Python2 variant system. (python2-pylint): Strip Python2 variant system.
This commit is contained in:
parent
bfcdf88760
commit
462ae6f612
1 changed files with 3 additions and 1 deletions
|
@ -14322,10 +14322,12 @@ (define-public python-pylint
|
||||||
all on a minimally sized program. It's highly configurable and handle
|
all on a minimally sized program. It's highly configurable and handle
|
||||||
pragmas to control it from within your code. Additionally, it is
|
pragmas to control it from within your code. Additionally, it is
|
||||||
possible to write plugins to add your own checks.")
|
possible to write plugins to add your own checks.")
|
||||||
|
(properties `((python2-variant . ,(delay python2-pylint))))
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public python2-pylint
|
(define-public python2-pylint
|
||||||
(let ((pylint (package-with-python2 python-pylint)))
|
(let ((pylint (package-with-python2
|
||||||
|
(strip-python2-variant python-pylint))))
|
||||||
(package (inherit pylint)
|
(package (inherit pylint)
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python2-backports-functools-lru-cache"
|
`(("python2-backports-functools-lru-cache"
|
||||||
|
|
Loading…
Reference in a new issue