unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65779] [PATCH 0/2] uncrustify: Update to 0.77.1.
@ 2023-09-06 10:48 Zheng Junjie
  2023-09-06 10:51 ` [bug#65779] [PATCH 1/2] gnu: " Zheng Junjie
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zheng Junjie @ 2023-09-06 10:48 UTC (permalink / raw)
  To: 65779

uncrustify: Update to 0.77.1.

Zheng Junjie (2):
  gnu: uncrustify: Update to 0.77.1.
  gnu: uncrustify: use new style and gexp.

 gnu/packages/code.scm | 28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)


base-commit: 6113e0529d61df7425f64e30a6bf77f7cfdfe5a5
-- 
2.41.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#65779] [PATCH 1/2] gnu: uncrustify: Update to 0.77.1.
  2023-09-06 10:48 [bug#65779] [PATCH 0/2] uncrustify: Update to 0.77.1 Zheng Junjie
@ 2023-09-06 10:51 ` Zheng Junjie
  2023-09-06 10:51 ` [bug#65779] [PATCH 2/2] gnu: uncrustify: use new style and gexp Zheng Junjie
  2023-09-14 20:59 ` bug#65779: [PATCH 0/2] uncrustify: Update to 0.77.1 Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Zheng Junjie @ 2023-09-06 10:51 UTC (permalink / raw)
  To: 65779

* gnu/packages/code.scm (uncrustify): Update to 0.77.1.
---
 gnu/packages/code.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 9cdda2b751..1bc6cd541e 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -787,7 +787,7 @@ (define-public makefile2graph
 (define-public uncrustify
   (package
     (name "uncrustify")
-    (version "0.75.1")
+    (version "0.77.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -796,7 +796,7 @@ (define-public uncrustify
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1mzzzd4alajjdshbjd2a5mddqcpag8yyss72n09mfpialzyf7g60"))))
+                "17x9p5pqgzjchi9xhskp4kq7ag4chmsgbkvwym5m2b9zwm6qykpm"))))
     (build-system cmake-build-system)
     (native-inputs
      `(("python" ,python-wrapper)))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#65779] [PATCH 2/2] gnu: uncrustify: use new style and gexp.
  2023-09-06 10:48 [bug#65779] [PATCH 0/2] uncrustify: Update to 0.77.1 Zheng Junjie
  2023-09-06 10:51 ` [bug#65779] [PATCH 1/2] gnu: " Zheng Junjie
@ 2023-09-06 10:51 ` Zheng Junjie
  2023-09-14 20:59 ` bug#65779: [PATCH 0/2] uncrustify: Update to 0.77.1 Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Zheng Junjie @ 2023-09-06 10:51 UTC (permalink / raw)
  To: 65779

* gnu/packages/code.scm (uncrustify): use new style and gexp.
[native-inputs]: remove label.
[arguments]: use gexp and remove tail #t.
---
 gnu/packages/code.scm | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 1bc6cd541e..b2b36a2d6f 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -798,20 +798,18 @@ (define-public uncrustify
                (base32
                 "17x9p5pqgzjchi9xhskp4kq7ag4chmsgbkvwym5m2b9zwm6qykpm"))))
     (build-system cmake-build-system)
-    (native-inputs
-     `(("python" ,python-wrapper)))
+    (native-inputs (list python-wrapper))
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'unpack-etc
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             ;; Configuration samples are not installed by default.
-             (let* ((output (assoc-ref outputs "out"))
-                    (etcdir (string-append output "/etc")))
-               (for-each (lambda (l)
-                           (install-file l etcdir))
-                         (find-files "etc" "\\.cfg$")))
-             #t)))))
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'unpack-etc
+                 (lambda* (#:key inputs outputs #:allow-other-keys)
+                   ;; Configuration samples are not installed by default.
+                   (let* ((output (assoc-ref outputs "out"))
+                          (etcdir (string-append output "/etc")))
+                     (for-each (lambda (l)
+                                 (install-file l etcdir))
+                               (find-files "etc" "\\.cfg$"))))))))
     (home-page "https://uncrustify.sourceforge.net/")
     (synopsis "Code formatter for C and other related languages")
     (description
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#65779: [PATCH 0/2] uncrustify: Update to 0.77.1.
  2023-09-06 10:48 [bug#65779] [PATCH 0/2] uncrustify: Update to 0.77.1 Zheng Junjie
  2023-09-06 10:51 ` [bug#65779] [PATCH 1/2] gnu: " Zheng Junjie
  2023-09-06 10:51 ` [bug#65779] [PATCH 2/2] gnu: uncrustify: use new style and gexp Zheng Junjie
@ 2023-09-14 20:59 ` Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2023-09-14 20:59 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: 65779-done

Zheng Junjie <zhengjunjie@iscas.ac.cn> skribis:

>   gnu: uncrustify: Update to 0.77.1.
>   gnu: uncrustify: use new style and gexp.

Applied, thanks!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-14 21:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-06 10:48 [bug#65779] [PATCH 0/2] uncrustify: Update to 0.77.1 Zheng Junjie
2023-09-06 10:51 ` [bug#65779] [PATCH 1/2] gnu: " Zheng Junjie
2023-09-06 10:51 ` [bug#65779] [PATCH 2/2] gnu: uncrustify: use new style and gexp Zheng Junjie
2023-09-14 20:59 ` bug#65779: [PATCH 0/2] uncrustify: Update to 0.77.1 Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).