[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/31: gnu: python2-pylint: Remove package.
From: |
guix-commits |
Subject: |
02/31: gnu: python2-pylint: Remove package. |
Date: |
Fri, 29 Jan 2021 10:59:52 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit dccaf68ab0634e99eaeb2184bc799535b0ff8235
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 29 10:13:24 2021 -0500
gnu: python2-pylint: Remove package.
* gnu/packages/check.scm (python2-pylint): Delete.
---
gnu/packages/check.scm | 43 -------------------------------------------
1 file changed, 43 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index e3e7d44..248d7f1 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2193,51 +2193,8 @@ 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+)))
-;; Python2 is not supported anymore by Pylint. See:
-;; https://github.com/PyCQA/pylint/issues/1763.
-(define-public python2-pylint
- (let ((pylint (package-with-python2
- (strip-python2-variant python-pylint))))
- (package (inherit pylint)
- (version "1.9.5")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/PyCQA/pylint")
- (commit (string-append "pylint-" version))))
- (file-name (git-file-name (package-name pylint) version))
- (sha256
- (base32
- "02a89d8a47s7nfiv1ady3j0sg2sbyja3np145brarfp5x9qxz9x2"))))
- (arguments
- `(,@(strip-keyword-arguments '(#:tests?) (package-arguments
pylint))
- #:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- ;; Somehow, tests fail if run from the build directory.
- (let ((work "/tmp/work"))
- (mkdir-p work)
- (setenv "PYTHONPATH"
- (string-append (getenv "PYTHONPATH") ":" work))
- (copy-recursively "." work)
- (with-directory-excursion "/tmp"
- (invoke "python" "-m" "unittest" "discover"
- "-s" (string-append work "/pylint/test")
- "-p" "*test_*.py"))))))))
- (native-inputs
- `(("python2-futures" ,python2-futures)
- ,@(package-native-inputs pylint)))
- (propagated-inputs
- `(("python2-backports-functools-lru-cache"
- ,python2-backports-functools-lru-cache)
- ("python2-configparser" ,python2-configparser)
- ,@(package-propagated-inputs pylint))))))
-
(define-public python-paramunittest
(package
(name "python-paramunittest")
- branch master updated (b9a54aa -> 23a5dcc), guix-commits, 2021/01/29
- 05/31: gnu: python2-stevedore: Remove package., guix-commits, 2021/01/29
- 01/31: gnu: python2-testresources: Remove package., guix-commits, 2021/01/29
- 02/31: gnu: python2-pylint: Remove package.,
guix-commits <=
- 04/31: gnu: python2-os-testr: Remove package., guix-commits, 2021/01/29
- 03/31: gnu: python2-behave-web-api: Remove package., guix-commits, 2021/01/29
- 07/31: gnu: python2-falcon: Remove package., guix-commits, 2021/01/29
- 19/31: gnu: python2-lockfile: Remove package., guix-commits, 2021/01/29
- 12/31: gnu: python2-xenon: Remove package., guix-commits, 2021/01/29
- 14/31: gnu: python2-honcho: Remove package., guix-commits, 2021/01/29
- 22/31: gnu: python2-requests-mock: Remove package., guix-commits, 2021/01/29
- 16/31: gnu: python2-os-client-config: Remove package., guix-commits, 2021/01/29
- 23/31: gnu: python2-testrepository: Remove package., guix-commits, 2021/01/29
- 24/31: gnu: python2-subunit: Remove package., guix-commits, 2021/01/29