From: "Ludovic Courtès" <ludo@gnu.org>
To: gemmaro <gemmaro.dev@gmail.com>
Cc: 61799-done@debbugs.gnu.org
Subject: bug#61799: [PATCH] gnu: Add ruby-minima.
Date: Thu, 08 Jun 2023 23:33:29 +0200 [thread overview]
Message-ID: <87a5x9zljq.fsf_-_@gnu.org> (raw)
In-Reply-To: <beb755f4c3200267435a17f612cfebeee9c44d7e.1681735223.git.gemmaro.dev@gmail.com> (gemmaro's message of "Mon, 17 Apr 2023 21:44:10 +0900")
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
Hi,
gemmaro <gemmaro.dev@gmail.com> skribis:
> I added a test by `jekyll build`.
>
> * gnu/packages/ruby.scm (ruby-minima): New variable.
Applied with the changes below. Thanks!
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1610 bytes --]
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index bdd2686016..f28ad97e11 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5270,15 +5270,16 @@ (define-public ruby-minima
(base32
"1gk7jmriiswda1ykjzpsw9cpiya4m9n0yrh0h6xnrc8zcfy543jj"))))
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "jekyll" "build")
- ;; Without the following, an attempt to remove
- ;; minima-<version>.gem is made during installation,
- ;; which will fail.
- (delete-file ,(string-append "_site/minima-" version
- ".gem")))))))
+ (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "jekyll" "build"))
+ ;; Without the following, an attempt to remove
+ ;; minima-<version>.gem is made during installation,
+ ;; which will fail.
+ (delete-file #$(string-append "_site/minima-"
+ version ".gem")))))))
(build-system ruby-build-system)
(propagated-inputs (list jekyll ruby-jekyll-feed ruby-jekyll-seo-tag))
(synopsis "Beautiful, minimal theme for Jekyll")
next prev parent reply other threads:[~2023-06-08 21:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-26 5:02 [bug#61799] [PATCH] gnu: Add ruby-minima gemmaro
2023-04-17 12:44 ` [bug#61799] [PATCH v2] " gemmaro
2023-06-08 21:33 ` Ludovic Courtès [this message]
2023-05-03 2:37 ` gemmaro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5x9zljq.fsf_-_@gnu.org \
--to=ludo@gnu.org \
--cc=61799-done@debbugs.gnu.org \
--cc=gemmaro.dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.