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 CFncK9Re52DSSAEAgWs5BA (envelope-from ) for ; Thu, 08 Jul 2021 22:23:48 +0200 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 yEZgJ9Re52CGeQAAbx9fmQ (envelope-from ) for ; Thu, 08 Jul 2021 20:23:48 +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 23AB51366D for ; Thu, 8 Jul 2021 22:23:48 +0200 (CEST) Received: from localhost ([::1]:36316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1aYl-0003vv-3I for larch@yhetil.org; Thu, 08 Jul 2021 16:23:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1ZpW-0007dR-2x for guix-patches@gnu.org; Thu, 08 Jul 2021 15:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46016) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1ZpV-0004k6-Pf for guix-patches@gnu.org; Thu, 08 Jul 2021 15:37:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1ZpV-000559-LE for guix-patches@gnu.org; Thu, 08 Jul 2021 15:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49469] [PATCH] gnu: Add python-pysox. References: <0e7aba9bd4b403707a06597219700743@dismail.de> In-Reply-To: <0e7aba9bd4b403707a06597219700743@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jul 2021 19:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49469 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49469@debbugs.gnu.org Cc: jgart Received: via spool by 49469-submit@debbugs.gnu.org id=B49469.162577298319485 (code B ref 49469); Thu, 08 Jul 2021 19:37:01 +0000 Received: (at 49469) by debbugs.gnu.org; 8 Jul 2021 19:36:23 +0000 Received: from localhost ([127.0.0.1]:57562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1Zos-00054D-Tu for submit@debbugs.gnu.org; Thu, 08 Jul 2021 15:36:23 -0400 Received: from mx1.dismail.de ([78.46.223.134]:44251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1Zop-00053x-8c for 49469@debbugs.gnu.org; Thu, 08 Jul 2021 15:36:21 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 1daa5e70 for <49469@debbugs.gnu.org>; Thu, 8 Jul 2021 21:36:12 +0200 (CEST) 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=REGhrhs+ZEHNa8jRwRTenn48kbhFOxAPdGpgSbedIEc=; b= dGTeaF0wz9wFm6JaSv9fF2wMAqzUI0sxuDUeWL1ML6DaLYJCmMfsP+rInmx1It7U 1WgbVEjdDhw682YxpeTulGyagv1d4vdgwcH6cfJbqh1Qcehlodq261iaLvPCWuoc 4/R99SEHiLKIxZoqH0J0ZaG+Q4ZXrpJYGg9vQztYxV6M+EPXBwAl3uL7Q55xQ8M3 oLN/7sj7hEzYSoxoE9OhHrVBr+gw4Yhv/zNRb7I+qzWmgfi0RLljZiRZA0Oqmt3Z J42gwo5H3AuU1poZuL8KKmnX5LbmV1kIcAwvF7I07dHFuTdvWqysohn16kNbkBBL PACkDsHEh3OYN2tspLtLAA== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 52d4c5de for <49469@debbugs.gnu.org>; Thu, 8 Jul 2021 21:36:11 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 2af71a79 for <49469@debbugs.gnu.org>; Thu, 8 Jul 2021 21:36:11 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 6ac9cb7f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 8 Jul 2021 21:36:05 +0200 (CEST) Date: Thu, 8 Jul 2021 15:35:55 -0400 Message-Id: <20210708193555.4907-1-jgart@dismail.de> X-Mailer: git-send-email 2.31.1 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625775828; 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=SAT/fxSBEfBDRxLrF+sjExvr7i4Er2Ni9QApTcXr1vA=; b=YflkoijAo1uj7PLmemziFq9e4DW0/Azs+Llpuu20+9fuXoggIDMiCLP9Fv9E0knkr8IRMr KChKKQGTVAAWb2FbTCuODMw/ML2C5VhXk0U8BUuAw1E9NmlgAh56Y4GYbnfa/RO8ourrz8 sw8kS3vSXcln6KS7hdcUTCXpyB/WJmuazagsBXM1/99hwn3DK8FwRd7DOS5rL101hi6w5s EP0FrPgthpwXEXnWdqtGDtPEZNBf9SzVd8zJBHw7ZVC/aNkO/rVzvKv2hXwDcnpa0dvJPo I0wmvUzxskv+AaH9lmNUQrObROxdclqcH8FjSw2Hy2TsydPfe8Xu8hVNdb6mug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625775828; a=rsa-sha256; cv=none; b=kFPZqcjqFVcLv8MU3ZVIq9ojUqmibPnkmFBSrdcs005YgNBJkjFqf3zOwzuvQ/A5Ef/VwK GedFsz9XMnTUCVuZTHYoveDLZOeBOKDJzPFDANOAv/Z0DG9H96BRU+asZIk9yNc6EMcWp8 VU8z/bg7uL/dWC/Mh6m7xEDxhPhzZAUX3AsoO330VfuGbm5RkNjegPSq4KyioBGWzOEGcG kfmLbcjHRk5s/5PHBzmlZXwnEe3mdHp/37x4Ymy8ka23b/9mcyJdnR6WccMoQZWhdrk6hq j1R8UyVkzJ84KrQ8MIRB+0iWrm2frs1ZzBXD6qqdD2zKE1so2o7pD7cnk7BoiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=dGTeaF0w; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=dGTeaF0w; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 23AB51366D X-Spam-Score: 1.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: PlTPOSRbWcDe * gnu/packages/audio.scm (python-pysox): New variable. --- gnu/packages/audio.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 3939d4bc7e..5222fb0343 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2385,6 +2385,36 @@ compensation, (de)interleaving, and byte-swapping ;; original developer. (license license:expat))) +(define-public python-pysox + (package + (name "python-pysox") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sox" version)) + (sha256 + (base32 + "0m8hszh51lfzacbb4nxc5bn446c0dzljfqgnsff8h2s5j8vd3wmh")))) + (build-system python-build-system) + (arguments + ;; Tests require python-soundfile. + ;; TODO: enable tests once http://issues.guix.gnu.org/47181 is completed. + `(#:tests? #f)) + (propagated-inputs + `(("python-numpy" ,python-numpy))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/rabitt/pysox") + (synopsis "Python wrapper around sox") + (description "@code{pysox} is a wrapper around the @command{sox} command line tool. + pysox's API offers @code{Transformer} and @code{Combiner} classes that allow the user to +incrementally build up effects and audio manipulations. @code{pysox} also +provides methods for querying audio information such as sample rate, +determining whether an audio file is silent and much more.") + (license license:bsd-3))) + (define-public python-pyaudio (package (name "python-pyaudio") -- 2.31.1