GNU bug report logs -
#49169
[PATCH 00/11] Removing input labels from package definitions
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Tue, 22 Jun 2021 09:03:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #41 received at 49169 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> skribis:
> The main change is the addition of ‘guix style’, based on the script
> I posted earlier. ‘guix style’ is able to systematically preserve
> comments (margin comments and line comments). It recognizes and
> “translates” several common idioms.
Here’s a couple of diffs generated by ‘guix style’:
[Message part 2 (text/x-patch, inline)]
@@ -171,9 +170,9 @@ engine programmable using Lua.")
(inherit arcan)
(name "arcan-sdl")
(inputs
- `(("sdl" ,sdl)
- ,@(fold alist-delete (package-inputs arcan)
- '("libdrm"))))
+ (modify-inputs (package-inputs arcan)
+ (delete "libdrm")
+ (prepend sdl)))
(arguments
`(,@(ensure-keyword-arguments
(package-arguments arcan)
@@ -218,11 +217,7 @@ engine programmable using Lua.")
,(string-append "--with-xkb-output="
"/tmp")))) ; FIXME: Copied from xorg
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)
- ("util-macros" ,util-macros)))
+ (list pkg-config autoconf automake libtool util-macros))
(inputs
`(("arcan" ,arcan)
("font-util" ,font-util)
[Message part 3 (text/plain, inline)]
Comments:
[Message part 4 (text/x-patch, inline)]
@@ -3797,11 +3713,11 @@ important tasks for becoming a daemon process:
"1aycpc387wqz7h9w2p53qxn43qsh3m6by6ak4kkc66x9aprr63rz"))))
(build-system python-build-system)
(propagated-inputs
- `(("python-six" ,python-six)))
+ (list python-six))
(native-inputs
- `(;; For tests.
- ("graphviz" ,graphviz) ;for 'dot'
- ("python-nose" ,python-nose)))
+ (list ;; For tests.
+ graphviz ;for 'dot'
+ python-nose))
(home-page "https://github.com/c0fec0de/anytree")
(synopsis "Lightweight tree data library")
[Message part 5 (text/plain, inline)]
Pretty cool, no? :-)
Ludo’.
This bug report was last modified 3 years and 352 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.