From patchwork Wed Apr 14 20:55:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Munyoki Kilyungi X-Patchwork-Id: 28556 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 30D6827BC76; Wed, 14 Apr 2021 21:56:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED,URIBL_SBL,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 44F0827BC75 for ; Wed, 14 Apr 2021 21:56:44 +0100 (BST) Received: from localhost ([::1]:60940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWmZ1-0000Wl-H4 for patchwork@mira.cbaines.net; Wed, 14 Apr 2021 16:56:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWmYP-0008AY-8E for guix-patches@gnu.org; Wed, 14 Apr 2021 16:56:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWmYN-00024S-Tp for guix-patches@gnu.org; Wed, 14 Apr 2021 16:56:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWmYN-0000d8-TB for guix-patches@gnu.org; Wed, 14 Apr 2021 16:56:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47593] [PATCH v2 6/6] gnu: Add abjad. Resent-From: BonfaceKilz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Apr 2021 20:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47593 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47593@debbugs.gnu.org Cc: BonfaceKilz , jgart@dismail.de, efraim@flashner.co.il Received: via spool by 47593-submit@debbugs.gnu.org id=B47593.16184337582338 (code B ref 47593); Wed, 14 Apr 2021 20:56:03 +0000 Received: (at 47593) by debbugs.gnu.org; 14 Apr 2021 20:55:58 +0000 Received: from localhost ([127.0.0.1]:35886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWmYB-0000bS-Dj for submit@debbugs.gnu.org; Wed, 14 Apr 2021 16:55:58 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:42765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWmY5-0000a6-Ss for 47593@debbugs.gnu.org; Wed, 14 Apr 2021 16:55:50 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 3493315CF; Wed, 14 Apr 2021 16:55:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 14 Apr 2021 16:55:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= bonfacemunyoki.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm1; bh=iQwrlLKCcJo3W1SO6DH4hhuRpf GZ5FLeoAmGI2u9MQY=; b=coCJteS6IgbqCkHPI7QMvyaqoyLVq8wflIk2cGNH7v TyBvEzR7Ljm2RwzJvFXc09hgUUSTrbjK7v8fyTkJOTuWD7ZFjJ2NpFUFtsIohoGv qed1gogQDuy2hQcotwsercrGAereg8LbvK+DzB77amrqoWY04EqaW4CPedeznmAZ USl6gWenoLMDjFYxpX5hlbSE+8WC7FS64LxdDfY5rZs7nt361O/hYOvUIH2Y6qhp vZOCXUDmZFje3hVlKnju5a22fHvNPhebuedoF+WrvdS9nI8FK6ThJzamoSJvT1oW HN3I7OXg4HX4Skq9bK9SS6vvaTi2s2nkTCLAStXJlzUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=iQwrlLKCcJo3W1SO6DH4hhuRpfGZ5FLeoAmGI2u9M QY=; b=nbkE1FEXSPSKJMNfVWJrzFS8EZFMXBMESVw7b8rHwIDylJ/irJ4ZoqFqr Ce7dcS3ljWhSVjjhRWfFTij/Wm2TUiCyZ/6WelmyO/HmIOA6qjw4kxI0ow5SZgyL Th9CCq9gd2x2ycqXDlNSDdBgRacb8bjFAm5naveyF7FznjNFDwnc+gvfy/osESls 8d29xwT02V65bvuUeJwd9S6zyDPqd9ujYYU3Vb7ZY4Nd05ZWy28LQfs2RYsowkjJ 4rSz21Np/x7PQI4EFBvsbwSWnCkHc5t8An0KA7IKvQM/MWxyoe/bBvwnNeqaHsh4 G0r6GTokHdBcb/Cl8vDWtwS53zloQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeluddgudehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmd enucfjughrpefhvffufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeeuohhn fhgrtggvmfhilhiiuceomhgvsegsohhnfhgrtggvmhhunhihohhkihdrtghomheqnecugg ftrfgrthhtvghrnhephfelkeeftdeuveffffdugefhheehvdegudegfeelleejtddugefh ffdvhfefhfejnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpshhtrggtkhhovhgvrh hflhhofidrtghomhdpghhithhhuhgsrdhiohenucfkphepgedurdekuddrvddrudefheen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmvgessg honhhfrggtvghmuhhnhihokhhirdgtohhm X-ME-Proxy: Received: from localhost.localdomain (unknown [41.81.2.135]) by mail.messagingengine.com (Postfix) with ESMTPA id D50D5108005F; Wed, 14 Apr 2021 16:55:42 -0400 (EDT) From: BonfaceKilz Date: Wed, 14 Apr 2021 23:55:02 +0300 Message-Id: <20210414205502.28792-7-me@bonfacemunyoki.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210414205502.28792-1-me@bonfacemunyoki.com> References: <20210414205502.28792-1-me@bonfacemunyoki.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/music.scm (abjad): New variable. Co-authored-by: jgart --- gnu/packages/music.scm | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 2b5f43cb14..b79c6d6a44 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2021 Leo Prikler ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021 Brendan Tildesley +;;; Copyright © 2021 Bonface Munyoki Kilyungi ;;; ;;; This file is part of GNU Guix. ;;; @@ -136,6 +137,7 @@ #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) ;libsndfile #:use-module (gnu packages python) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) @@ -143,6 +145,7 @@ #:use-module (gnu packages readline) #:use-module (gnu packages rsync) #:use-module (gnu packages sdl) + #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages stb) #:use-module (gnu packages tcl) @@ -1499,6 +1502,59 @@ Guile.") ;; more than an hour of silence, so double the max silent time. (properties `((max-silent-time . 7200))))) +(define-public abjad + (package + (name "abjad") + (version "3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Abjad/abjad") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dzf5v7pawbzkb4qxp4s5z4r3gibkk705pag83yvgzkx6fd6jf2g")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "setup.py" + (("uqbar>=0.5.1, <0.5.0") "uqbar>=0.5.0")) + #t)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; See: https://stackoverflow.com/a/34140498 + (invoke "python" "-m" "pytest" "tests") + #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-ply" ,python-ply) + ("python-pytest" ,python-pytest-6) + ("python-pytest-cov" ,python-pytest-cov) + ("python-sphinx-autodoc-typehints" + ,python-sphinx-autodoc-typehints))) + (propagated-inputs + `(("python-quicktions" ,python-quicktions) + ("python-roman" ,python-roman) + ("python-six" ,python-six) + ("python-uqbar" ,python-uqbar))) + (home-page "https://abjad.github.io") + (synopsis + "Python API for building LilyPond files") + (description + "This package provides a Python API for building LilyPond files.") + (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.