unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 47818@debbugs.gnu.org
Subject: [bug#47818] abjad-ext-ipython: Added lilypond to native-inputs [updated patch]
Date: Fri, 16 Apr 2021 18:07:47 +0000	[thread overview]
Message-ID: <7106f06ac42889b3af58a3a19fc0223f@dismail.de> (raw)
In-Reply-To: <4914f6d550d8f6612a3c2f72d1c63101@dismail.de>

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

Hi Guix,

Here is an updated patch that adds lilypond as a native-input. This is required for the tests to pass. See 47815.

best regards,

jgart

[-- Attachment #2: 0006-gnu-Add-abjad-ext-ipython.patch --]
[-- Type: application/octet-stream, Size: 2580 bytes --]

From 344f57d6a098239b405a0e4e31823a880614afe4 Mon Sep 17 00:00:00 2001
From: jgart <jgart@dismail.de>
Date: Fri, 16 Apr 2021 00:38:23 -0400
Subject: [PATCH 6/6] gnu: Add abjad-ext-ipython.

    * gnu/packages/music.scm (abjad-ext-ipython): New variable.

*
---
 gnu/packages/music.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 959a0b4f6f..54d5aa1df8 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1641,6 +1641,52 @@ and manipulating rhythms such as accelerandi, taleas, and more.")
      "@code{abjad-ext-nauert} provides classes for dealing with composer and
 music theorist Paul Nauert's quantization grids or Q-Grids, for short.")
     (license license:expat)))
+
+(define-public abjad-ext-ipython
+  (package
+    (name "abjad-ext-ipython")
+    (version "3.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+         (url "https://github.com/Abjad/abjad-ext-ipython")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1vv0alpiz0gf5lgjfvlh4km72dvrxfqkwzxl3k4amzci3i0jzbs2"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f ; FIXME: tests are currently failing 
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "jupyter" "nbconvert" "--to=html"
+               "--ExecutePreprocessor.enabled=True" "tests/test.ipynb")
+               #t))))))
+    (native-inputs
+     `(("lilypond" ,lilypond)
+       ("python-black" ,python-black)
+       ("python-flake8" ,python-flake8)
+       ("python-iniconfig" ,python-iniconfig)
+       ("python-isort" ,python-isort)
+       ("python-mypy" ,python-mypy)
+       ("python-pytest" ,python-pytest-6)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-helpers-namespace" ,python-pytest-helpers-namespace)))
+    (propagated-inputs
+     `(("abjad" ,abjad)
+       ("jupyter" ,jupyter)))
+    (home-page "https://abjad.github.io")
+    (synopsis "Abjad IPython Extension")
+    (description
+     "@code{abjad-ext-ipython} makes it possible to embed music notation in @code{jupyter}
+notebooks.")
+    (license license:expat)))
+
 (define-public non-sequencer
   ;; The latest tagged release is three years old and uses a custom build
   ;; system, so we take the last commit.
-- 
2.29.3


  reply	other threads:[~2021-04-16 18:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-16  5:02 [bug#47818] [PATCH] gnu: music: Add abjad-ext-ipython jgart via Guix-patches via
2021-04-16 18:07 ` jgart via Guix-patches via [this message]
2021-07-22  8:54   ` bug#47818: abjad-ext-ipython: Added lilypond to native-inputs [updated patch] Efraim Flashner

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7106f06ac42889b3af58a3a19fc0223f@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=47818@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /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 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).