From patchwork Sun Apr 4 12:20:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Munyoki Kilyungi X-Patchwork-Id: 28318 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 3267D27BC68; Sun, 4 Apr 2021 13:21:17 +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 2770827BC66 for ; Sun, 4 Apr 2021 13:21:16 +0100 (BST) Received: from localhost ([::1]:49002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lT1kh-0001Tg-94 for patchwork@mira.cbaines.net; Sun, 04 Apr 2021 08:21:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lT1kY-0001PZ-30 for guix-patches@gnu.org; Sun, 04 Apr 2021 08:21:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lT1kW-0000Uw-W1 for guix-patches@gnu.org; Sun, 04 Apr 2021 08:21:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lT1kW-0000UE-Sc for guix-patches@gnu.org; Sun, 04 Apr 2021 08:21:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47593] [PATCH 6/6] gnu: python-xyz: Add python-abjad. Resent-From: BonfaceKilz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Apr 2021 12:21:04 +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 Received: via spool by 47593-submit@debbugs.gnu.org id=B47593.16175388511783 (code B ref 47593); Sun, 04 Apr 2021 12:21:04 +0000 Received: (at 47593) by debbugs.gnu.org; 4 Apr 2021 12:20:51 +0000 Received: from localhost ([127.0.0.1]:35038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lT1kA-0000SU-PG for submit@debbugs.gnu.org; Sun, 04 Apr 2021 08:20:51 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:42169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lT1k4-0000Rc-Ao for 47593@debbugs.gnu.org; Sun, 04 Apr 2021 08:20:36 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 463275C00B9; Sun, 4 Apr 2021 08:20:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 04 Apr 2021 08:20:31 -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-transfer-encoding; s=fm1; bh=LhALGgrJIoPAtFTZHIGwNLolG6cbddxNW72BdOvY2Ic=; b=DZauv yjmGYjkzRsiv9G1vVSqKvu8DLt2uvZofCWWE7yjjOXo/2/9xlulGNZVctxRv0/Sv i3ML4gVcIJAB1cwl6gkvacDX4nSPHBad6rf+3F3xRdyPBplGseXlDOQgBkHNhHyb AYTHHdKyqbLKOpRLlBnznydCw4UITps32QW2YeJzp7WJbnemmJaQkQ152VczHdX7 /cNlsuGp85WTv8nMJSGlvUTBu7ZDsX3gxIFn16V7+RY+e4Pkc3nRHBv/q5MF6bM9 BSYe8hqZecYXd0ZtT1mptg6HtkbybZUVkb4AWTTGtqUjVrHIQISm/S35wsoLiF95 7sDdhO/Zgj2nZJurQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=LhALGgrJIoPAtFTZHIGwNLolG6cbddxNW72BdOvY2Ic=; b=CLpJ4ViX rYgjWb5RvW9bJFHE9Wia5DeNxYaWkKUp5nb6W7REI0NSkBkeN5v8syCQRoUoXnR2 4lNT4XglYkfVq703cWDSqp8ncVDs6RDs6L8RB043Kr5mNDZRyWSyxdMgDkY41Anr eINJ/KGl64GH+MsF/yjvwi+OZoikc9+0N/xOWrrE3q4zgS/zbklNcuh4K/cn9lO+ qugxaeOZ26SPVsDL4p/t8lM5WHPAxOua3aNVAAeDVuzOUSaJOpDHyLYBTeSyDlN6 zv53ldtCmxfcRtZcC0ukaAapJikE2rOlxADj34l54ZFgtJv4Y5c2AqXPkW9Z8APO riR4/B16M3PsKQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejtddghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeeuohhnfhgr tggvmfhilhiiuceomhgvsegsohhnfhgrtggvmhhunhihohhkihdrtghomheqnecuggftrf grthhtvghrnhepiefftdduveeikeeftedtffdtiedtvdeileeghfeukeegjeeileehtdfh geeuudejnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpshhtrggtkhhovhgvrhhflh hofidrtghomhdpghhithhhuhgsrdhiohenucfkphepgedurdektddrkeelrdduiedunecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvsegsoh hnfhgrtggvmhhunhihohhkihdrtghomh X-ME-Proxy: Received: from localhost.localdomain (unknown [41.80.89.161]) by mail.messagingengine.com (Postfix) with ESMTPA id ACD93240054; Sun, 4 Apr 2021 08:20:29 -0400 (EDT) From: BonfaceKilz Date: Sun, 4 Apr 2021 15:20:05 +0300 Message-Id: <20210404122005.33127-7-me@bonfacemunyoki.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210404122005.33127-1-me@bonfacemunyoki.com> References: <20210404122005.33127-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/python-xyz.scm (python-abjad): New variable. Co-authored-by: jgart --- gnu/packages/python-xyz.scm | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e87ba6b6b6..baa8534d7a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -162,6 +162,7 @@ #:use-module (gnu packages maths) #:use-module (gnu packages monitoring) #:use-module (gnu packages multiprecision) + #:use-module (gnu packages music) #:use-module (gnu packages networking) #:use-module (gnu packages ncurses) #:use-module (gnu packages openstack) @@ -24356,3 +24357,54 @@ iGoogle subscription lists.") (description "Fast fractions data type for rational numbers. Cythonized version of 'fractions.Fraction'.") (license license:psfl))) + +(define-public python-abjad + (package + (name "python-abjad") + (version "3.3") + (source + (origin + (method url-fetch) + (uri + (string-append + "https://github.com/Abjad/abjad/archive/refs/tags/v" + version ".tar.gz")) + (sha256 + (base32 + "0dvj40g8kq1jdp09gb2chxxb7959vxv5h4m8ywg4qigsw3f11xnx")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "setup.py" + (("uqbar>=0.4.4, <0.5.0") "uqbar>=0.4.4, <=0.5.1") + (("pytest>=5.4.3") "pytest>=5.3")) + #t)) + (replace 'check + (lambda _ + ;; See: https://stackoverflow.com/a/34140498 + (invoke "python" "-m" "pytest" "tests") + #t))))) + (propagated-inputs + `(("lilypond" ,lilypond) ;; Required for tests to pass! + ("python-black" ,python-black) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-mypy" ,python-mypy) + ("python-ply" ,python-ply) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-quicktions" ,python-quicktions) + ("python-roman" ,python-roman) + ("python-six" ,python-six) + ("python-sphinx-autodoc-typehints" + ,python-sphinx-autodoc-typehints) + ("python-uqbar" ,python-uqbar))) + (home-page "https://abjad.github.io") + (synopsis + "Abjad is a Python API for building LilyPond files.") + (description + "Abjad is a Python API for building LilyPond files.") + (license license:expat)))