From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id f9SYFLO7s2BFHgAAgWs5BA (envelope-from ) for ; Sun, 30 May 2021 18:22:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mElfD7O7s2CWQAAA1q6Kng (envelope-from ) for ; Sun, 30 May 2021 16:22:11 +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 07A6113080 for ; Sun, 30 May 2021 18:22:11 +0200 (CEST) Received: from localhost ([::1]:43552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnOCX-00050x-C7 for larch@yhetil.org; Sun, 30 May 2021 12:22:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnOCQ-00050E-P6 for guix-patches@gnu.org; Sun, 30 May 2021 12:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnOCQ-0003n5-Hs for guix-patches@gnu.org; Sun, 30 May 2021 12:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnOCQ-0002nA-BT for guix-patches@gnu.org; Sun, 30 May 2021 12:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48746] [PATCH WIP 1/3] gnu: Add python-soundfile. References: <77c460fce68720ea8daf78b1647027f9b178e6ad.camel@student.tugraz.at> In-Reply-To: <77c460fce68720ea8daf78b1647027f9b178e6ad.camel@student.tugraz.at> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 May 2021 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48746 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48746@debbugs.gnu.org Received: via spool by 48746-submit@debbugs.gnu.org id=B48746.162239168710672 (code B ref 48746); Sun, 30 May 2021 16:22:02 +0000 Received: (at 48746) by debbugs.gnu.org; 30 May 2021 16:21:27 +0000 Received: from localhost ([127.0.0.1]:60235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnOBr-0002m4-9e for submit@debbugs.gnu.org; Sun, 30 May 2021 12:21:27 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:17638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnOBo-0002lp-WE for 48746@debbugs.gnu.org; Sun, 30 May 2021 12:21:25 -0400 Received: from localhost.localdomain (188-23-51-252.adsl.highway.telekom.at [188.23.51.252]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FtNw159qhz3wXd for <48746@debbugs.gnu.org>; Sun, 30 May 2021 18:21:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1622391681; bh=PDoPCGtQB1sdfyW44VNMYFqPpyWHzD/+bavcFBXhTTg=; h=From:To:Subject:Date; b=p5S+g31WoiRzBe8PYmIKWbYMZmqafHIBqF046zzU+/QLMV6Z3PfzPEyrEwqQKyRWW KuOYD9DHZfLYBF2zRJ2yExLOJdskLiny3YVDvs3BlZrzQAK0FWCqr7PKo77dbT1hCs Tnz14zcNbxCNS885qDEgltb1PwfGLTvzJVzndBN0= From: Leo Prikler Date: Sun, 30 May 2021 18:20:10 +0200 Message-Id: <20210530162012.24140-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622391731; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=PDoPCGtQB1sdfyW44VNMYFqPpyWHzD/+bavcFBXhTTg=; b=LN9usNcAOZhh1NhVGP1+WL1JPwDrlB+bs8yfVoHr1Qd6ogN9WNZkYZ1C0YrhvlJC08p160 SJeChSN7W6qwvyfkAZpFLNAqR5mN3gONBYrpTMi5poy90ZyTbc7l49Zs1mjYyC3ca0b3B6 rLtf92FNfxMJ4YzHWCsYmT5PI4yhZUY4PdhYgtqI09nb59zrN+EQ/lbkMbe57YCgI3mBZl 9HD4EbvwaxZafwfb3HWgYN2yvLO6nBrKZzPDmSxRf3QCw61QmOMk21xoXl1hKOZEiPKuSz /Bzu3N/m9Ew6ZZR4dtXBvC0KWYRN73Q0rxEA6Fxm4GSjKVpkK0JmyYh2Bbd4+w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622391731; a=rsa-sha256; cv=none; b=qWpDO26d+w/axl0VXZNBDr4p1bCO0oju2DGX5pNq6szY66Wmi6Ttl/ZhYUle7gPhE4ml4v 4HEVHj7bbJ2yeF7mxd9EMW+TjpqjlGQHoHwZazAy4Dl+VUfwkEBM/HpoouGRsLoZhmLqmV qcq05fdx+3bwcoL/LMWgFSNwkk1o6/k5oG9fJtm8SMYQ2Nah6YmLnK2gr/mj6e8XZTm8f3 nUZ+6YVIy/7ZeA4YN684oL5Ea4Pr+wd5hyaXc35jidx5RTXfabxJ2in2pLobSmiCQD7m8A r9A/pM2oXm95VqnEihoQox1tWo10PQeOYw+dxxkxhf0MO+JphwDGTRBOb20RrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=p5S+g31W; 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: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=p5S+g31W; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); 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: 07A6113080 X-Spam-Score: 3.67 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9XwgxPL6sNtW * gnu/packages/python-xyz.scm (python-soundfile): New variable. --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 770beb0336..e190588efa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24120,6 +24120,40 @@ dependencies. It implements the @uref{http://opensoundcontrol.org/spec-1_0, Open Sound Control 1.0} specification.") (license license:unlicense))) +(define-public python-soundfile + (package + (name "python-soundfile") + (version "0.10.3.post1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "SoundFile" version)) + (sha256 + (base32 + "0yqhrfz7xkvqrwdxdx2ydy4h467sk7z3gf984y1x2cq7cm1gy329")))) + (build-system python-build-system) + (propagated-inputs + `(("python-cffi" ,python-cffi) + ("python-numpy" ,python-numpy) + ("libsndfile" ,libsndfile))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (arguments + `(#:tests? #f ; missing OGG support + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "soundfile.py" + (("_find_library\\('sndfile'\\)") + (string-append "\"" (assoc-ref inputs "libsndfile") + "/lib/libsndfile.so\"")))))))) + (home-page "https://github.com/bastibe/SoundFile") + (synopsis "Python bindings for libsndfile") + (description "This package provides python bindings for libsndfile based on +CFFI and NumPy.") + (license license:expat))) + (define-public python-voluptuous (package (name "python-voluptuous") -- 2.31.1