From patchwork Mon May 30 20:01:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 39688 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 F161427BBEA; Mon, 30 May 2022 21:18:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 78FB927BBE9 for ; Mon, 30 May 2022 21:18:43 +0100 (BST) Received: from localhost ([::1]:53144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvlqc-0006q7-Lp for patchwork@mira.cbaines.net; Mon, 30 May 2022 16:18:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvlaW-00022A-CN for guix-patches@gnu.org; Mon, 30 May 2022 16:02:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52220) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvlaV-0003DR-Vo for guix-patches@gnu.org; Mon, 30 May 2022 16:02:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nvlaU-000261-S4 for guix-patches@gnu.org; Mon, 30 May 2022 16:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55731] [PATCH] gnu: Add python-musical-scales Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 May 2022 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55731@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16539409068024 (code B ref -1); Mon, 30 May 2022 20:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 May 2022 20:01:46 +0000 Received: from localhost ([127.0.0.1]:46117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvla9-000259-Ux for submit@debbugs.gnu.org; Mon, 30 May 2022 16:01:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:54974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvla3-00024o-1o for submit@debbugs.gnu.org; Mon, 30 May 2022 16:01:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvla2-0000tP-Ql for guix-patches@gnu.org; Mon, 30 May 2022 16:01:34 -0400 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:37716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvla0-0003AQ-T5 for guix-patches@gnu.org; Mon, 30 May 2022 16:01:34 -0400 Received: by mail-lf1-x131.google.com with SMTP id p4so18310826lfg.4 for ; Mon, 30 May 2022 13:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=EiG5+Zt1PttVLEpIHqYtaI68KQShc7j5o2oVUxTd9sc=; b=MhlYy0EEhAeLzogq5TTEa4Bb9wbSYJgQzMTVFAEN7ucH3kuXHgtXsyFtS4oETWDCxF gi3NOdUhdIV9oWNkxSLw02PiHcF40YyD8oWiLFsWtETVk0aMuS7M7A3K0CLPFgTwuqNe 37CmcOPZiYVGQQmvy5ulu5A5JbOisO4oV+PSmgU6FwlrLhKBDoWIWwmDvwUrK/CgUzyP VvaGJsJiAwKLwwWKptMkwDr5XAVd8oLnu5ZwoduiYfKB4wDC6sLB/HocwxR+s7LRHNgI OdR6bzpUGVYU0wqKjLa2ca3PLt5ut2ZFSGjY6487S1cfpXpkeMAxm+QnWZDoBzPo1dhq gkXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=EiG5+Zt1PttVLEpIHqYtaI68KQShc7j5o2oVUxTd9sc=; b=xZfhh+qKtlc109IeyQZnINUFLmTfF9X3kkwxHs3R43/Q/0tht6yJU9Eh+VFiKjhXOW gf/EFOXyCH7zH76h0ceRLivRSYCiUuu9stNBoKPf+FxGWCqL9LY6LKOmEhWaF+fyjRAR VBg2l2EZvUaGWlMTWyUtof9V1/JGcF8Io4neqx58poFIukv2uDdGGPM+FnF5SKMPvrE8 CpklFJHmGfchFNzDbDGuz7kzL7EtvS07EUER8PzK4MP+Ve4DtKaWzxVjM36imxavCJH1 g5P50EcrnUKHT46UEnTXeMLlmIPwOoQENfm1Aj6htCk6KZjBw/pGB3cd8aLUCQQwyHoD SRXg== X-Gm-Message-State: AOAM5330S6yLNKwgXElqgMoN2TRLUP6IQ0OApgIwcgtfbHLEc1IEBNIK QjGIPxziFkJL/YRBee3p6u0tVexGIjA= X-Google-Smtp-Source: ABdhPJz5bCPfWXPAbvVsJPeSn1ofV2/fL3O0suZRyBNteTpPDhOgvIgqKIgIHmkayHrd0f0iMxX+EQ== X-Received: by 2002:a05:6512:1095:b0:478:75d7:4954 with SMTP id j21-20020a056512109500b0047875d74954mr26689417lfg.623.1653940890300; Mon, 30 May 2022 13:01:30 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id f9-20020a05651201c900b00478cc974080sm1566604lfp.302.2022.05.30.13.01.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 13:01:29 -0700 (PDT) From: "Artyom V. Poptsov" Date: Mon, 30 May 2022 23:01:25 +0300 Message-ID: <87ee0azt62.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 Hello, this patch adds "musical-scales" Python module[1] under the name "python-musical-scales". References: 1. "Retrieve a scale based on a given mode and starting note." https://github.com/hmillerbakewell/musical-scales From bdd66c0ec7cb5d19f6210cbda3b1d465322a7864 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Mon, 30 May 2022 22:57:49 +0300 Subject: [PATCH] gnu: Add python-musical-scales * gnu/packages/python-xyz.scm (python-musical-scales): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index acd5954fb6..1f106d0075 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31838,3 +31838,25 @@ profile. It supports: Currently, Linux is the only platform supported by this library.") (license license:expat))) + +(define-public python-musical-scales + (package + (name "python-musical-scales") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "musical-scales" version)) + (sha256 + (base32 + "1ckn8n37i7b65h0i385ycn0w8sg9na0iabz0kmhxxc1wj0hddkw9")))) + (build-system python-build-system) + (native-inputs (list python-wheel)) + (inputs (list python)) + (home-page "https://github.com/hmillerbakewell/musical-scales") + (synopsis "Retrieve a scale based on a given mode and starting note") + (description + "Retrieve a scale based on a given mode and starting note. +Information about these scales can be +@url{https://en.wikipedia.org/wiki/List_of_musical_scales_and_modes, found on +Wikipedia}.") + (license license:expat))) -- 2.25.1