From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 47818@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#47818] [PATCH] gnu: music: Add abjad-ext-ipython
Date: Fri, 16 Apr 2021 05:02:11 +0000 [thread overview]
Message-ID: <4914f6d550d8f6612a3c2f72d1c63101@dismail.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 2 bytes --]
[-- Attachment #2: 0006-gnu-Add-abjad-ext-ipython.patch --]
[-- Type: application/octet-stream, Size: 2546 bytes --]
From 2288f3fab634a70c00514221e16ab2e248c65ea4 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 | 45 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e318c50beb..b709da1d03 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1639,6 +1639,51 @@ 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
+ `(("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
next reply other threads:[~2021-04-16 5:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-16 5:02 jgart via Guix-patches via [this message]
2021-04-16 18:07 ` [bug#47818] abjad-ext-ipython: Added lilypond to native-inputs [updated patch] jgart via Guix-patches via
2021-07-22 8:54 ` bug#47818: " 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=4914f6d550d8f6612a3c2f72d1c63101@dismail.de \
--to=guix-patches@gnu.org \
--cc=47818@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--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).