From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 8IRfHL2KYGYSZQEAA41jLg (envelope-from ) for ; Wed, 05 Jun 2024 17:56:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sPc7F72KYGYfVgEA62LTzQ (envelope-from ) for ; Wed, 05 Jun 2024 17:56:45 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=TrQ0O9Re; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717603005; 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=kdbsjTO5PRtfcBJ0HtRn3XtW8wRV6ZiBXhjtLDLjptg=; b=t2odrv5/WOJlZJGEfNbgRsJGagg70afJg19T9bBDG0HivhrMtkPPQMhXeImAxWP0LbUztU b2KVC+A0If9Vd+ihOB4oAPDA+XGGno8JSFCiHJ0SUnYhxEm37VgH75IUOpyRAnDr+qHo3R A7mX+p9MfFDXGa5smuIsfHsac196EN/o5HrEeW+S1AUsD9zgUnEARoD8vL1nT5oPi4o99s mOiE1K2B2c2pDoX2gqeY0HnYYUk/1Yf2IQdvmJqko6X3/7Yt4KctSU1r1eEwf6X8y9n6Yy dtmYNtz0/a62SiYya8uC44r3SQRRXm+n4+mE52HU+9mWGAfmoTG1Hljr9wCbhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=TrQ0O9Re; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717603005; a=rsa-sha256; cv=none; b=ffLGdXHmpgB7RUCfKW7zIhT8OYKD81fezjhbKA8Vms8RPV6LjXK25lVYeg9h+UEf2uHtZ7 SL6TiXtT8SIt5ThKiR0XXPmOTSuXBnM3j5XMzsYhG3ZiXuZvW6PF6tj6fFM7j46NH/fJ0+ T6tQMqSMePy6n3SmDR3OHEg8DAgqLq93Pa2+HRCZ90AS39aalOHFx8yRp/WinK2aE7tVMJ lGnPhIrERAkFTe9+LruEZuIV+CEeQcw96pkCXO3vhGT2c/OISnfapHad5bIbum0Ee73hFf 9jV/wBUET0NLpXJW23VdxLrKscko4gppCm9yHyMVRxJpMfkNI/e7baVbkGllIA== 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 1B90ECEEA for ; Wed, 5 Jun 2024 17:56:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEszZ-0002my-73; Wed, 05 Jun 2024 11:56:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEszX-0002mK-TZ for guix-patches@gnu.org; Wed, 05 Jun 2024 11:55:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEszX-0006Kq-LK; Wed, 05 Jun 2024 11:55:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEszf-0004vh-BQ; Wed, 05 Jun 2024 11:56:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65367] [PATCH v4 3/4] gnu: Add python-wavefile. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 05 Jun 2024 15:56:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65367 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65367@debbugs.gnu.org Cc: Sughosha , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 65367-submit@debbugs.gnu.org id=B65367.171760296618941 (code B ref 65367); Wed, 05 Jun 2024 15:56:07 +0000 Received: (at 65367) by debbugs.gnu.org; 5 Jun 2024 15:56:06 +0000 Received: from localhost ([127.0.0.1]:44509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEszd-0004vG-9C for submit@debbugs.gnu.org; Wed, 05 Jun 2024 11:56:06 -0400 Received: from layka.disroot.org ([178.21.23.139]:58078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEsza-0004uJ-HK for 65367@debbugs.gnu.org; Wed, 05 Jun 2024 11:56:03 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D64CB44E69; Wed, 5 Jun 2024 17:55:47 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80nwrIqVJhFP; Wed, 5 Jun 2024 17:55:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717602946; bh=dB9Q7a/dgqvVqKItWqD6wkjh37SoQ4ELW58CTPikRoo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TrQ0O9ReuKcFysg7FgqVBNKc1q8Uiud2QZJNE3RPjmk2raxfUJRccLeCnuYkgIASF XrESC5xw0OEDVXT5czQBkat7cP8211UEmH+bcDo+kjrGczIDd5zzjcw94wAHHTzh1h NSIgejOzDDes83kUlEP50apgI06WX6jghUF6mmr0cEPuI3fdPkJcn8EK5FKPUfAHqX 0juUx8OQu6se2LICfFpNMIWOEHcYxQVymzgk8QP/W1L2XKfqgW450Wt+Zj3exMJo96 BbgQHI6IwqpNkWnwgMuXrHUA6kTz04mNKxmkT5dCY3nLNEhclL93fx7JOFhTedtKZP IgL7HDp+eeopw== Date: Wed, 5 Jun 2024 21:22:10 +0530 Message-ID: <71522b838ec5d548d5124f3c4ab47d3e1738fb7c.1717602731.git.sughosha@disroot.org> In-Reply-To: References: 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: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.34 X-Migadu-Queue-Id: 1B90ECEEA X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.34 X-TUID: XcFPTN4RFzL4 * gnu/packages/python-xyz.scm (python-wavefile): New variable. Change-Id: Ied8fe04eea6f9a79cdde6382931a7009cf71f8f4 --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7073c1cca5..667e0ffd6c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -176,6 +176,7 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages algebra) #:use-module (gnu packages astronomy) #:use-module (gnu packages attr) + #:use-module (gnu packages audio) #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages bash) @@ -248,6 +249,7 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages protobuf) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) @@ -4419,6 +4421,36 @@ (define-public python-simpleaudio audio playback capability for Python 3 on OSX, Windows, and Linux.") (license license:expat))) ; MIT license +(define-public python-wavefile + (package + (name "python-wavefile") + (version "1.6.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "wavefile" version)) + (sha256 + (base32 + "04mdcxq7n1vnwb9y65j0cwpy91ik5rh9vki1f45xqnh4ygz91n75")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-libsndfile-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "wavefile/libsndfile.py" + (("'libsndfile") + (string-append "'" (assoc-ref inputs "libsndfile") + "/lib/libsndfile")))))))) + (inputs + (list libsndfile portaudio)) + (propagated-inputs (list python-numpy python-pyaudio)) + (home-page "https://github.com/vokimon/python-wavefile") + (synopsis "Pythonic audio file reader and writer") + (description + "This package provides pythonic libsndfile wrapper to read and write audio +files.") + (license license:gpl3+))) + (define-public python-jsonalias (package (name "python-jsonalias") -- 2.45.1