From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oC66MPBmpmEOCwAAgWs5BA (envelope-from ) for ; Tue, 30 Nov 2021 19:01:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YPdYLPBmpmEqUQAAbx9fmQ (envelope-from ) for ; Tue, 30 Nov 2021 18:01:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 76E6D2B45A for ; Tue, 30 Nov 2021 19:01:20 +0100 (CET) Received: from localhost ([::1]:51006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms7RP-0002Wt-In for larch@yhetil.org; Tue, 30 Nov 2021 13:01:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms7R9-0002WZ-1l for guix-patches@gnu.org; Tue, 30 Nov 2021 13:01:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms7R8-00024h-Ow for guix-patches@gnu.org; Tue, 30 Nov 2021 13:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ms7R8-0005yo-Hw for guix-patches@gnu.org; Tue, 30 Nov 2021 13:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52203] [PATCH 1/2] gnu: Add python-resampy. References: <20211130125304.GB10918@gac.attlocal.net> In-Reply-To: <20211130125304.GB10918@gac.attlocal.net> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 Nov 2021 18:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52203@debbugs.gnu.org Cc: jgart Received: via spool by 52203-submit@debbugs.gnu.org id=B52203.163829523422937 (code B ref 52203); Tue, 30 Nov 2021 18:01:02 +0000 Received: (at 52203) by debbugs.gnu.org; 30 Nov 2021 18:00:34 +0000 Received: from localhost ([127.0.0.1]:42456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms7Qf-0005xr-HY for submit@debbugs.gnu.org; Tue, 30 Nov 2021 13:00:33 -0500 Received: from mx1.dismail.de ([78.46.223.134]:27083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms7Qd-0005xX-Al for 52203@debbugs.gnu.org; Tue, 30 Nov 2021 13:00:32 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 8214c348 for <52203@debbugs.gnu.org>; Tue, 30 Nov 2021 19:00:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=X1WawY9l8rOqGap3+CKCW6qyCsEwQowsxeC+3flsO6s=; b= HkQKTPNPN+aN4bifm7M1BRG8CNelU0m3FlgNm3DUIfN/hptR+zJfpF8xDDJkL0Wu 13HKcYEbSvdOwdmhvD0J/UcsoqNCvQUcK/v4kZvFXv5u21T+cg+rlWBa9IAdZy16 YpxwkIRlrQDAAfyYlFsPNiODwlOaWoIX7mfemaaLfOskkg9UjG1F8vnxmKEhawti KK3go1PvKAC3Oo+s/GijbWLzCdx6kY45+T9mldvZiWdY0O8v/3hss/Ef56SsMVvY d+KmEjGU5dhqWhW9Z6fHsjyM1i8/zHkQX9Sb7JJYbTRIFG7/OzeEz3BPYGrflfyY 3n+81ANTufpTzj6J+1zYSA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a925c705 for <52203@debbugs.gnu.org>; Tue, 30 Nov 2021 19:00:22 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 7fb10e80 for <52203@debbugs.gnu.org>; Tue, 30 Nov 2021 19:00:22 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 318c10e1 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 30 Nov 2021 19:00:21 +0100 (CET) Date: Tue, 30 Nov 2021 12:59:59 -0500 Message-Id: <20211130180000.11063-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638295280; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=H9fVR3n2mlbsYgTzgnBZvlQpEITqJ/tapmx1T+6SdtQ=; b=Qf8ELrrKCxr9jwpCvPJQmH5Gk3a1A6TpYrRDJZjOWVkBS/pzAjAt+vN7+ErDcmN8xT2sWx HTWATq02KFI8y1lbwvYx6qQ4DDAL21KZ2RJrPLbpdLXoISAaz7Pye5H+oNqzECNe0oOEgu l762J2s2OMZBHxVk2JujSu3T6Grv/sYyNAcMKsmfMU/ZWt8YIjhvDRzD/fZHA2YCe0dyKe mKfSpmCbVu+yk/jUHaq/DrLpFWoTccMwfLFotGzddc9maI43+OzzrQ7AXGoipJkl80q+PE TqGvUZu9xKyrsNf5aa5GX7XpVJr1xPzOHL+6w7QMEHAcoJJCU7XW3SvStJmoxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638295280; a=rsa-sha256; cv=none; b=tfyr6i+ouq1glk1u2Tem6tCTzg6YzvzVYWyMhZWZX0+jFyLBmoVfDHzZU9+/Gl0sBmAgmR LGeV7jxPPf9RbudghNgn7vQa4RTMwFGB8kmGpkK8GoSR49MxxEwbpDGk95zIJHRxP2bqxt 7QqpAiMX2df/E/sRcyXqHpjXryZSjpO9p2BRioqkukcGeMS6qKYGAivCW5t5d3B5ViWXRC pTfJ37b8svy+v+m0GfrXjV8cW1s4M2/JwM2lXakstCx/m/7vhUZxfsgKXlwWWTCsmTNxAj WX5TOTBKh42rHMxkTB+m6/Nt7r5N1gizPWwiQzwIPKtaW/E7VunnCvzoBEy5Yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=HkQKTPNP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=HkQKTPNP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 76E6D2B45A X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: dNOBBdTbtMyC * gnu/packages/audio.scm (python-resampy): New variable. --- gnu/packages/audio.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 694ea1a21b..cc484c0b67 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -102,6 +102,7 @@ (define-module (gnu packages audio) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate #:use-module (gnu packages python) + #:use-module (gnu packages python-science) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages rdf) @@ -5588,6 +5589,47 @@ (define-public python-pysox is silent, and much more.") (license license:bsd-3)))) +(define-public python-resampy + (package + (name "python-resampy") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri + (git-reference + ;; PyPi does not include tests. + (url "https://github.com/bmcfee/resampy") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "tests"))))))) + (propagated-inputs + `(("python-numba" ,python-numba) + ("python-numpy" ,python-numpy) + ("python-scipy" ,python-scipy) + ("python-six" ,python-six))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/bmcfee/resampy") + (synopsis "Efficient signal resampling") + (description +"@code{python-resampy} implements the band-limited sinc interpolation +method for sampling rate conversion as described by Julius O. Smith at the +@url{https://ccrma.stanford.edu/~jos/resample/, Digital Audio Resampling +Home Page}.") + (license license:isc))) + (define-public mda-lv2 (package (name "mda-lv2") -- 2.34.0