guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: cpplint: Update to 1.4.5.


From: guix-commits
Subject: branch master updated: gnu: cpplint: Update to 1.4.5.
Date: Sat, 09 May 2020 15:38:59 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 6c25b00  gnu: cpplint: Update to 1.4.5.
6c25b00 is described below

commit 6c25b00dcfb91f6839ecdecf2f570a18fb4a2727
Author: Mathieu Othacehe <address@hidden>
AuthorDate: Sat May 9 21:35:43 2020 +0200

    gnu: cpplint: Update to 1.4.5.
    
    Fix build and update to 1.4.5.
    
    * gnu/packages/cpp.scm (cpplint): Update to 1.4.5,
    [native-inputs]: add python-pytest, python-pytest-cov,
    python-pytest-runner,
    [arguments]: add a new 'use-later-pytest phase to remove pytest version
    requirement.
---
 gnu/packages/cpp.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 371927e..7227b8d 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2018 Fis Trivial <address@hidden>
 ;;; Copyright © 2018 Ludovic Courtès <address@hidden>
-;;; Copyright © 2019 Mathieu Othacehe <address@hidden>
+;;; Copyright © 2019, 2020 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2019 Pierre Neidhardt <address@hidden>
 ;;; Copyright © 2019 Jan Wielkiewicz <address@hidden>
 ;;; Copyright © 2020 Nicolò Balzarotti <address@hidden>
@@ -363,7 +363,7 @@ tools:
 (define-public cpplint
   (package
     (name "cpplint")
-    (version "1.4.4")
+    (version "1.4.5")
     (source
      (origin
        (method git-fetch)
@@ -373,9 +373,21 @@ tools:
              (url "https://github.com/cpplint/cpplint";)
              (commit version)))
        (sha256
-        (base32 "1ns9wbizr10w7rpyp106d7ip68s5nyskr54vw9bij11sci9z0v3j"))
+        (base32 "1yzcxqx0186sh80p0ydl9z0ld51fn2cdpz9hmhrp15j53g9ira7c"))
        (file-name (git-file-name name version))))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'use-later-pytest
+           (lambda _
+             (substitute* "test-requirements"
+               (("pytest.*") "pytest\n"))
+             #t)))))
     (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-runner" ,python-pytest-runner)))
     (home-page "https://github.com/cpplint/cpplint";)
     (synopsis "Static code checker for C++")
     (description "@code{cpplint} is a command-line tool to check C/C++ files



reply via email to

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