From: ludo@gnu.org (Ludovic Courtès)
To: Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>
Cc: 31449@debbugs.gnu.org
Subject: [bug#31449] [PATCH 2/3] gnu: Add jupyter-guile-kernel.
Date: Mon, 14 May 2018 15:06:23 +0200 [thread overview]
Message-ID: <87y3gm75f4.fsf@gnu.org> (raw)
In-Reply-To: <20180514091014.1072-1-pierre-antoine.rouby@inria.fr> (Rouby Pierre-Antoine's message of "Mon, 14 May 2018 11:10:14 +0200")
Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr> skribis:
> * gnu/package/guile.scm (jupyter-guile-kernel): New variable.
[...]
> + (scm-files '("hmac.scm"
> + "tools.scm"
> + "main.scm"))
Maybe (find-files "." "\\.scm$") would work?
> + (guile-env (if (not (eq? (getenv "GUILE_LOAD_PATH")
> + #f))
> + (string-append
> + (getenv "GUILE_LOAD_PATH") ":")
> + ""))
> + (guile-go-env (if (not (eq? (getenv "GUILE_LOAD_COMPILED_PATH")
> + #f))
> + (string-append
> + (getenv "GUILE_LOAD_COMPILED_PATH") ":")
> + "")))
(not (eq? foo #f)) can be simplified to (not foo).
Also (getenv "GUILE_LOAD_PATH") and (getenv "GUILE_LOAD_COMPILED_PATH")
are always true in this case, I think, so perhaps you can remove these
two variables altogether?
> + ;; Sed kernel file
> + (substitute* (string-append kernel-dir "/"
> + kernel-file)
> + (("/home/jerry/.local/share/jupyter/kernels/guile/main.scm")
> + (string-append module-dir "/main.scm")))
Maybe the comment could be, IIUC:
;; Fix hard-coded file name in the kernel.
> + (synopsis "Guile kernel for jupyter")
^
“Guile kernel for the Jupyter Notebook”
> + (description
> + "This package is Guile kernel for Jupyter Notebook. This software is
> +write for GNU Guile 2.0.")
What about:
“This package provides a Guile 2.x kernel for the Jupyter Notebook.
It allows users to interact with the Guile REPL through Jupyter.”
Could you send an updated patch?
Thanks!
Ludo’.
next prev parent reply other threads:[~2018-05-14 13:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-14 9:07 [bug#31449] [PATCH 1/3] gnu: Add guile-simple-zmq Rouby Pierre-Antoine
2018-05-14 9:10 ` [bug#31449] [PATCH 2/3] gnu: Add jupyter-guile-kernel Rouby Pierre-Antoine
2018-05-14 13:06 ` Ludovic Courtès [this message]
2018-05-15 9:24 ` Rouby Pierre-Antoine
2018-05-15 11:33 ` Rouby Pierre-Antoine
2018-05-17 9:42 ` Ludovic Courtès
2018-05-14 9:10 ` [bug#31449] [PATCH 3/3] gnu: jupyter: Add search path Rouby Pierre-Antoine
2018-05-14 13:07 ` Ludovic Courtès
2018-05-17 11:18 ` bug#31449: " Ludovic Courtès
2018-05-14 12:55 ` [bug#31449] [PATCH 1/3] gnu: Add guile-simple-zmq Ludovic Courtès
2018-05-15 9:22 ` Rouby Pierre-Antoine
2018-05-15 9:27 ` Ludovic Courtès
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=87y3gm75f4.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=31449@debbugs.gnu.org \
--cc=pierre-antoine.rouby@inria.fr \
/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.