guix-commits
[Top][All Lists]
Advanced

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

05/14: gnu: python-pycodestyle: Update to 2.6.0.


From: guix-commits
Subject: 05/14: gnu: python-pycodestyle: Update to 2.6.0.
Date: Tue, 23 Jun 2020 17:30:23 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 2537a7bf26a01d393822e0618729b929db93e5cb
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jun 23 16:44:38 2020 +0200

    gnu: python-pycodestyle: Update to 2.6.0.
    
    * gnu/packages/python-xyz.scm (python-pycodestyle): Update to 2.6.0.
    [arguments]: Replace check phase.
    [native-inputs]: Add python-pytest.
---
 gnu/packages/python-xyz.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ae336c1..77f1ff7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5019,15 +5019,23 @@ a simple netcat replacement with chaining support.")
 (define-public python-pycodestyle
   (package
     (name "python-pycodestyle")
-    (version "2.5.0")
+    (version "2.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pycodestyle" version))
        (sha256
         (base32
-         "0v4prb05n21bm8650v0a01k1nyqjdmkrsm3zycfxh2j5k9n962p4"))))
+         "0bhr6ia0hmgx3nhgibc9pmkzhlh1zcqk707i5fbxgs702ll7v2n5"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "pytest" "-vv"))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
     (home-page "https://pycodestyle.readthedocs.io/";)
     (synopsis "Python style guide checker")
     (description "@code{pycodestyle} (formerly pep8) is a tool to check



reply via email to

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