[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55179] [WIP PATCH 03/30] gnu: rakudo: Remove trailing booleans.
From: |
Paul A. Patience |
Subject: |
[bug#55179] [WIP PATCH 03/30] gnu: rakudo: Remove trailing booleans. |
Date: |
Fri, 29 Apr 2022 05:17:17 +0000 |
* gnu/packages/perl6.scm (rakudo)[source]: Reindent.
[arguments]: Remove trailing booleans. Reindent.
[native-search-paths]: Reindent.
---
gnu/packages/perl6.scm | 37 +++++++++++++++++--------------------
1 file changed, 17 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index 5f807a1743..052d4e0914 100644
--- a/gnu/packages/perl6.scm
+++ b/gnu/packages/perl6.scm
@@ -161,13 +161,13 @@ (define-public rakudo
(name "rakudo")
(version "2019.03.1")
(source
- (origin
- (method url-fetch)
- (uri (string-append "https://rakudo.perl6.org/downloads/rakudo/rakudo-"
- version ".tar.gz"))
- (sha256
- (base32
- "1nllf69v8xr6v3kkj7pmryg11n5m3ajfkr7j72pvhrgnjy8lv3r1"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://rakudo.perl6.org/downloads/rakudo/rakudo-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1nllf69v8xr6v3kkj7pmryg11n5m3ajfkr7j72pvhrgnjy8lv3r1"))))
(build-system perl-build-system)
(arguments
'(#:phases
@@ -175,16 +175,14 @@ (define-public rakudo
(add-after 'unpack 'patch-source-date
(lambda _
(substitute* "tools/build/gen-version.pl"
- (("gmtime") "gmtime(0)"))
- #t))
+ (("gmtime") "gmtime(0)"))))
(add-after 'patch-source-shebangs 'patch-more-shebangs
(lambda _
(substitute* '("tools/build/create-js-runner.pl"
"tools/build/create-moar-runner.p6"
"tools/build/create-jvm-runner.pl"
"src/core/Proc.pm6")
- (("/bin/sh") (which "sh")))
- #t))
+ (("/bin/sh") (which "sh")))))
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
@@ -197,23 +195,22 @@ (define-public rakudo
;; modules systemwide. See: https://github.com/ugexe/zef/issues/117
(add-after 'install 'install-dist-tool
(lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
+ (let* ((out (assoc-ref outputs "out"))
(dest (string-append out "/share/perl6/tools")))
(install-file "tools/install-dist.p6" dest)
(substitute* (string-append dest "/install-dist.p6")
(("/usr/bin/env perl6")
- (string-append out "/bin/perl6"))))
- #t)))))
+ (string-append out "/bin/perl6")))))))))
(inputs
(list moarvm nqp openssl))
(home-page "https://rakudo.org/")
(native-search-paths
- (list (search-path-specification
- (variable "PERL6LIB")
- (separator ",")
- (files '("share/perl6/lib"
- "share/perl6/site/lib"
- "share/perl6/vendor/lib")))))
+ (list (search-path-specification
+ (variable "PERL6LIB")
+ (separator ",")
+ (files '("share/perl6/lib"
+ "share/perl6/site/lib"
+ "share/perl6/vendor/lib")))))
(synopsis "Perl 6 Compiler")
(description "Rakudo Perl is a compiler that implements the Perl 6
specification and runs on top of several virtual machines.")
--
2.36.0
- [bug#55179] [WIP PATCH 00/30] gnu: rakudo: Update to 2022.04 and packages too., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 01/30] gnu: moarvm: Remove trailing boolean., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 03/30] gnu: rakudo: Remove trailing booleans.,
Paul A. Patience <=
- [bug#55179] [WIP PATCH 02/30] gnu: nqp: Remove trailing booleans., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 05/30] gnu: Add nqp-configure., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 04/30] gnu: moarvm: Update to 2022.04., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 07/30] gnu: rakudo: Update to 2022.04., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 10/30] gnu: perl6-terminal-ansicolor: Perl -> Raku., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 06/30] gnu: nqp: Update to 2022.04., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 11/30] gnu: perl6-grammar-debugger: Perl -> Raku., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 15/30] gnu: Add perl6-json-optin., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 19/30] gnu: perl6-json-class: Update to 0.0.18., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 16/30] gnu: perl6-json-name: Update to 0.0.6., Paul A. Patience, 2022/04/29