guix-commits
[Top][All Lists]
Advanced

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

04/13: gnu: astyle: Update to 3.4.8.


From: guix-commits
Subject: 04/13: gnu: astyle: Update to 3.4.8.
Date: Wed, 27 Sep 2023 18:47:00 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b2b74114667c7596aee9cde1898bd5c64db4eecc
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Sep 24 02:00:00 2023 +0200

    gnu: astyle: Update to 3.4.8.
    
    * gnu/packages/code.scm (astyle): Update to 3.4.8.
    [arguments]: Don't explicitly return #t from phases.
---
 gnu/packages/code.scm | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index a982e111e9..769b5bb3cc 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -835,15 +835,14 @@ Objective@tie{}C, D, Java, Pawn, and Vala).  Features:
 (define-public astyle
   (package
     (name "astyle")
-    (version "3.1")
+    (version "3.4.8")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://sourceforge/astyle/astyle/astyle%20"
                            version "/astyle_"  version "_linux.tar.gz"))
        (sha256
-        (base32
-         "1ms54wcs7hg1bsywqwf2lhdfizgbk7qxc9ghasxk8i99jvwlrk6b"))))
+        (base32 "1ms54wcs7hg1bsywqwf2lhdfizgbk7qxc9ghasxk8i99jvwlrk6b"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f                      ;no tests
@@ -856,7 +855,7 @@ Objective@tie{}C, D, Java, Pawn, and Vala).  Features:
        #:phases
        (modify-phases %standard-phases
          (replace 'configure
-           (lambda _ (chdir "build/gcc") #t))
+           (lambda _ (chdir "build/gcc")))
          (add-after 'install 'install-libs
            (lambda* (#:key outputs #:allow-other-keys)
              ;; Libraries and includes are not installed by default
@@ -881,8 +880,7 @@ Objective@tie{}C, D, Java, Pawn, and Vala).  Features:
                 (lambda (sofile)
                   (make-so-link sofile "(\\.[0-9]){3}$")  ;; link .so
                   (make-so-link sofile "(\\.[0-9]){2}$")) ;; link .so.3
-                (find-files libdir "lib.*\\.so\\..*")))
-             #t)))))
+                (find-files libdir "lib.*\\.so\\..*"))))))))
     (home-page "https://astyle.sourceforge.net/";)
     (synopsis "Source code indenter, formatter, and beautifier")
     (description



reply via email to

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