[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/28: gnu: python2-pylint: Remove package.
From: |
guix-commits |
Subject: |
24/28: gnu: python2-pylint: Remove package. |
Date: |
Fri, 15 Jan 2021 16:34:54 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 5d7d7e85059eb2c399fbcd6973448e4ad4f66e32
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Jan 14 14:10:14 2021 -0500
gnu: python2-pylint: Remove package.
* gnu/packages/check.scm (python-pylint)[properties]: Delete field.
* gnu/packages/check.scm (python2-pylint): Remove variable.
---
gnu/packages/check.scm | 43 -------------------------------------------
1 file changed, 43 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 373a604..41da093 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2093,51 +2093,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")
- 14/28: gnu: python-simplejson: Update to 3.17.2, fixing build., (continued)
- 14/28: gnu: python-simplejson: Update to 3.17.2, fixing build., guix-commits, 2021/01/15
- 15/28: gnu: python-backpack: Fix build., guix-commits, 2021/01/15
- 16/28: gnu: python-hypothesis: Update to 6.0.2, guix-commits, 2021/01/15
- 11/28: gnu: python-pympler: Update to 0.9., guix-commits, 2021/01/15
- 12/28: gnu: python-3.9: Add a search path specification for PYTHONTZPATH., guix-commits, 2021/01/15
- 17/28: gnu: python-flake8-pyi: Update to 20.10.0., guix-commits, 2021/01/15
- 20/28: gnu: python-hypothesmith: Update to 0.1.8., guix-commits, 2021/01/15
- 18/28: gnu: python-virtualenv: Update to 20.3.1., guix-commits, 2021/01/15
- 19/28: gnu: Add python-libcst-minimal., guix-commits, 2021/01/15
- 23/28: gnu: Add python-pylama., guix-commits, 2021/01/15
- 24/28: gnu: python2-pylint: Remove package.,
guix-commits <=
- 21/28: gnu: python-typing-inspect: Fix build on Python 3.9., guix-commits, 2021/01/15
- 22/28: gnu: Add python-mypy-minimal., guix-commits, 2021/01/15
- 25/28: gnu: python2-orator: Remove package., guix-commits, 2021/01/15
- 28/28: gnu: python-isort: Update to 5.7.0, fixing build on Python 3.9., guix-commits, 2021/01/15
- 26/28: gnu: python2-factory-boy: Remove package., guix-commits, 2021/01/15
- 27/28: gnu: python2-isort: Remove package., guix-commits, 2021/01/15