From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eD3cIus0QWW8mgAAauVa8A:P1 (envelope-from ) for ; Tue, 31 Oct 2023 18:10:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eD3cIus0QWW8mgAAauVa8A (envelope-from ) for ; Tue, 31 Oct 2023 18:10:03 +0100 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 6FC685A38C for ; Tue, 31 Oct 2023 18:10:03 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=G2G1p7z0; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698772203; 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=e6wZDkmYTe/mx4OfsfY+FFDimZBlP9M4p/z2NaDBDko=; b=tOUPAquQcYoA7tPz3robJaMGIKNS0t0lXHNdVjSJs4bxQQ+dK7OcYSC+4QpAvlAFPoaLkD JOp4OInty2SHF+QhnLVfHrVi+ysWwit+8JTdJH0vN5OtOnYH2vHIVe+9ZwkTKrMKFkSTx6 +n6904gDAKdN4nN1RVBAok63K4ShTJLPbLmpbYQGgMU3NHUSuULCiuVRZzdmcH0h8agkAv GwUDE3aVeDMA6f8cJ0oqkKopl52qWF+4rrXTo7q0Sa+yaozyiIxnQ5A9Wz+57ktqkYSnW0 afvwh3d6jBisYlb5rK1uBqWYmNB/1TMZ4Z/Rcj+HdmRN8ZaBcCAvLKJV7BoHjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=G2G1p7z0; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698772203; a=rsa-sha256; cv=none; b=WdLcWJlcBmaZ1G/JOpLEgkPLhvUITX0J33QJJs5z5dWL61vuUcCLbTMIq1fkHjs/pNXv+M jRzqhfUS/n0kH+OOiNtxXJs9PeuxEeE4pFZUD7EpCjYLVq97vNu01QI9m9c/FZinj2m73v 4ymsQnxmlFfTZexE0uyIRI4Otb9xBAevRjQFEAY5WrtgFk3ODl8GdMxJBoEXxG1mY4cbm0 1NcwnJVVBhnC3G81ThuJA4rhNSxGN+9W1eo/3/Awr8LY0VQMF8k6ofaORpwnkENdwa+Iz1 1sXKV8xhSHziLBwtkkDPPlU4ObI3e7PjC/1ZOQskUROikRQnEIEvawqY4MzJhA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxsFP-0008Cy-Cn; Tue, 31 Oct 2023 13:09:47 -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 1qxsFB-0008B7-Jh for guix-patches@gnu.org; Tue, 31 Oct 2023 13:09:34 -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 1qxsFB-0003Cl-3P; Tue, 31 Oct 2023 13:09:33 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxsFf-0004pz-OW; Tue, 31 Oct 2023 13:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65367] [PATCH v3 1/4] gnu: Add python-wavefile. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 31 Oct 2023 17:10:03 +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 , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 65367-submit@debbugs.gnu.org id=B65367.169877219118535 (code B ref 65367); Tue, 31 Oct 2023 17:10:03 +0000 Received: (at 65367) by debbugs.gnu.org; 31 Oct 2023 17:09:51 +0000 Received: from localhost ([127.0.0.1]:49082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxsFS-0004on-Ga for submit@debbugs.gnu.org; Tue, 31 Oct 2023 13:09:51 -0400 Received: from layka.disroot.org ([178.21.23.139]:46052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxsFI-0004o6-P7 for 65367@debbugs.gnu.org; Tue, 31 Oct 2023 13:09:42 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 55C2744EDC; Tue, 31 Oct 2023 18:09:06 +0100 (CET) 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 lgEBlf3pZr7X; Tue, 31 Oct 2023 18:09:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1698772143; bh=pZPTRq+Q+ajSb57XVvVt0oPfQ6PvOciILnSGE7O/b5E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=G2G1p7z0AS34u1wQXR/ErgBbyIkFlmnZ2Y15MdUedt4cTbQfjXAuuCym5+XTybpF4 ot2sCC20UmnVZJ/ZLMs/kCdGN8wo8mtsi1i9QzsUGLA6yzDXQmJbkgQLtAq7wjjL9N Pdcf67QTEE3+CAAyAkn4zWZGKEyllw+NVQmfbD1hKLJnZK7U+5+B/zD8Ul/oQJh8JS 8zkrd7VfoSHX7pLktoFgyqd9b5jZqf6EAlRtfB8/11ARs9J1S26TAsJyLxaRtvXN2H D3CSdl1z8wnzQGicNQRiLrYQKm/qgSjd3r+VlkI6PGtelMQf24CF16k7EVDdiFCPcK +QJ7j+MuKeA/w== Date: Tue, 31 Oct 2023 18:08:21 +0100 Message-ID: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.11 X-Spam-Score: -6.11 X-Migadu-Queue-Id: 6FC685A38C X-Migadu-Scanner: mx10.migadu.com X-TUID: S72rfL/8JNqi * gnu/packages/python-xyz.scm (python-wavefile): New variable. Change-Id: I147c1bc9a71b4d304f31d2184e863e1c141bae40 --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6001e7e6eb..53e57f8b49 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -169,6 +169,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) @@ -236,6 +237,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) @@ -1801,6 +1803,39 @@ (define-public python-pymediainfo access the technical and tag data for video and audio files.") (license license:expat))) +(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 pyproject-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\\.so") + (search-input-file inputs "/lib/libsndfile.so"))))) + (add-before 'check 'check-setup + (lambda _ + (setenv "HOME" "/tmp") + (setenv "LD_LIBRARY_PATH" (getenv "LIBRARY_PATH"))))))) + (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-psutil (package (name "python-psutil") -- 2.41.0