From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QEvmEEnmtGB7tQAAgWs5BA (envelope-from ) for ; Mon, 31 May 2021 15:36:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iEQYDEnmtGCscgAAbx9fmQ (envelope-from ) for ; Mon, 31 May 2021 13:36:09 +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 C86761762D for ; Mon, 31 May 2021 15:36:08 +0200 (CEST) Received: from localhost ([::1]:52798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lni5P-0001AY-HZ for larch@yhetil.org; Mon, 31 May 2021 09:36:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lni5K-00018I-DG for guix-patches@gnu.org; Mon, 31 May 2021 09:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lni5K-00029D-5v for guix-patches@gnu.org; Mon, 31 May 2021 09:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lni5K-0000Ct-3s for guix-patches@gnu.org; Mon, 31 May 2021 09:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48746] [PATCH v2 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: Mon, 31 May 2021 13:36: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.1622468142750 (code B ref 48746); Mon, 31 May 2021 13:36:02 +0000 Received: (at 48746) by debbugs.gnu.org; 31 May 2021 13:35:42 +0000 Received: from localhost ([127.0.0.1]:33010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lni50-0000Bw-Bo for submit@debbugs.gnu.org; Mon, 31 May 2021 09:35:42 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:18059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lni4x-0000Be-Qu for 48746@debbugs.gnu.org; Mon, 31 May 2021 09:35:40 -0400 Received: from localhost.localdomain (62-116-34-49.adsl.highway.telekom.at [62.116.34.49]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FtxBH5TWlz1LBCr for <48746@debbugs.gnu.org>; Mon, 31 May 2021 15:35:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4FtxBH5TWlz1LBCr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1622468135; bh=bM5czpTm1sRA8Ro/Fa/z1X4rJA5MIwFAynSVZffcdvk=; h=From:To:Subject:Date:From; b=nFrWSiCm/n0aIcV2ncEJkABDoahBkj9epqY1m43HhSY0+fE7aMnQaOz4N0uxMzgHN fNmnqWlezKMfPnTNmIl516Au6ZCUaFh32/TPh5MPs/Yhw6akFvyEa2bouwtLNqR46O zO7SOOoK9Tn0zBXCa7X7fWqZ10BNfpyrhm5PLMd0= From: Leo Prikler Date: Mon, 31 May 2021 15:35:28 +0200 Message-Id: <20210531133530.22168-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=1622468169; 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=bM5czpTm1sRA8Ro/Fa/z1X4rJA5MIwFAynSVZffcdvk=; b=PKVw62NmNt0lnDx2xrYzic+7fJ5Sfkw+BIPvwgWUHnBZfwXKrkZ87qerlYZS9UVnaq+lSu NfgQqGVRLdX84dinrywT55FMVavAEYQClue40rNMAXQ/7mfafoIh5Z8E11iIlePPwGWBnu 0P60txZTwEvqv9bs4pw/pYrg/uG8+JPlkHDFfEau67WC2CW2FWgYkB8u8J5LAW0Vjsj58g OrEG4nx/uJ83RbC8Tw5bD90ktS/BPsfSSwcf+j6cXt7bIWppzFRvPTttim9iW1/NEvsdKq teO1T2LAeAsed40si7G7mkB4qFyJYtbQLCt8zh59g8IVcTecDJcahVEy52T9gw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622468169; a=rsa-sha256; cv=none; b=Eq9bVE1vm6MNvdbb1WJ8P/1GgRP5gtIId6fDYFZ7Vx7M+wkyJDT2KbhV3LQ0OLN70ra2vj H/JmAqNgXNDEjQWQBRc481Op/ZiZAun26G9MxS2+AcDgbiuTNMUl4MZyFpJejp8dq8Ao4q jsbJVSx/512weFWiX1sAtWtLGSXvk64N5hPDajBZGGbJ9WdlPQcFEacBni5Rwg+RJnweag JdCib1asBdELA9bfzjViHobvrwfyP2R9NkIWOWVyv+aPAGMT6sunqu9TCxWy9SOoiCpmtn TiPC2ecLJAGwDczQr8jOH6bxkzdli3QqsPVinYm5amJtKlPD8LK/DTuVnINwcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=nFrWSiCm; 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-Spam-Score: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=nFrWSiCm; 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: C86761762D X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: Yfc2WBI9FPJf * gnu/packages/audio.scm (python-soundfile): New variable. --- gnu/packages/audio.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 5e30ed296d..7c469a81c4 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -84,6 +84,7 @@ #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) + #:use-module (gnu packages libffi) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) @@ -2425,6 +2426,40 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.") (define-public python2-pyliblo (package-with-python2 python-pyliblo)) +(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 lilv (package (name "lilv") -- 2.31.1