From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4LmjHD6Q32QeRQEASxT56A (envelope-from ) for ; Fri, 18 Aug 2023 17:37:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ePFlHD6Q32S5VgEA9RJhRA (envelope-from ) for ; Fri, 18 Aug 2023 17:37:34 +0200 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 187F03FD6E for ; Fri, 18 Aug 2023 17:37:34 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=amzZk6Ek; 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=1692373054; 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=zocvIFUtAXaEFMCv8P9XEzFLAYOoy5Nl4/ZnaVOXVmY=; b=Cle3N1Fx9SYXWmStCDA3VoQqE8nx4AK0T4JicpzKt4W2yUdi/QoTiRIfaCtUNXU0aCeC+L JtP7Vyrs+nXsFNkIUwB5lJbE8ojMK6N0Q4Josk3SdfNeQQy9VoV6BdDWORa36v3MDLgtzS +1EG4qYXvM+nMXn63v4wj0is5AV3Ha3Vjuvd6HwhpoGcEGbC4tH9K3aw7RfGzhck3WXior IAr/1q+immXAzHSTdEYzJynFyBzSPftgpxmXBDygKW1y/iPsTQeWTNMRzLGI43qfxg2Q35 gz9k0BsR1S9Vv6z7KT6rNse8x71KFHhPBJacXOL1KAYsgVqWmk4j8HJwxYg8CQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=amzZk6Ek; 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=1692373054; a=rsa-sha256; cv=none; b=C5egSsEHqsOy21eoPiKCaNKQ9v6Hrh+FoiMvYLp9gBWk4w6Cxi9h/JINGk36amPY0d79Y1 ZDQCex5WSubSog+YTHmi/y8dIXL88lCOFx1Zc5BqF2v5BcCAFtA+WaFnhivafkqoh+Bc2K WGyYS0XZvUWEeTBZiPazxM3XBsAIBXhTP/lBz7isW0hZegqhqJXHwULXancChBK0rIByPB hbM/RES8Oi3lELU1CcFpHgy5+YINPu4VeCZ54k4vMPboC4PHjK4F/ldHbpnquzRuRvoec5 LUYzfhvsIuEPEOP9tIMBvuDnT8EtPvY8DrWdO6AUgRqyguH4V0+7Po/SJqV0fw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qX1XA-0004jT-9L; Fri, 18 Aug 2023 11:37:08 -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 1qX1X8-0004jK-TQ for guix-patches@gnu.org; Fri, 18 Aug 2023 11:37:06 -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 1qX1X8-0006fB-Kz for guix-patches@gnu.org; Fri, 18 Aug 2023 11:37:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qX1X4-0007Iv-Sj; Fri, 18 Aug 2023 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65368] [PATCH 1/5] gnu: Add python-wavefile. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Fri, 18 Aug 2023 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65368 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65368@debbugs.gnu.org Cc: Sughosha , Lars-Dominik Braun , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by submit@debbugs.gnu.org id=B.169237300128019 (code B ref -1); Fri, 18 Aug 2023 15:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2023 15:36:41 +0000 Received: from localhost ([127.0.0.1]:48536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX1Wi-0007Hq-RF for submit@debbugs.gnu.org; Fri, 18 Aug 2023 11:36:41 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX1Wg-0007Hb-Tl for submit@debbugs.gnu.org; Fri, 18 Aug 2023 11:36:39 -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 1qX1WZ-00042E-E2 for guix-patches@gnu.org; Fri, 18 Aug 2023 11:36:31 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qX1WW-0006a8-2m for guix-patches@gnu.org; Fri, 18 Aug 2023 11:36:30 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2F1F8410BC; Fri, 18 Aug 2023 17:36:26 +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 IvDs9D23rx3s; Fri, 18 Aug 2023 17:36:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1692372984; bh=Ig4swb4AF6pYPYvyRWBVZLM5FsPLN2xdZqSWr3P+sM4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=amzZk6EkSlM94Y5sgvp1ZbAaAQvYh61JN6dsPZYQ15SXUjcjv85Bv2jtZAoujNpv2 U5CKKkvu0b1Vd5xGMspvDPI7zNbBdnCwD333PLoWkZ9U31ALJsupB/0/CjEGYuuNnW 6va6wp7EUxB+n9P/CAkZWV6Kj7edPrB6sVksCLIypbNcYjuXkllSy4tYIOwnuh6/GF /AuppBVEdIRDdP1IFPESwsKHk9c6b8FAp7wvFrBFxLW+bFNUSX/349I4mNP1OVTsMr Y4D83udxu/dic8ppPjxLIyneA0y8YjZowZzY3itkR+rVc0VjjkLGz+Xp0ZxEFZdCaa RZEK3lCQ48hkg== Date: Fri, 18 Aug 2023 17:35:38 +0200 Message-ID: <3364f152e8f31e4ec06d8e9bb0c126a1f59e1d70.1692372644.git.sughosha@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=sughosha@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.19 X-Spam-Score: -6.19 X-Migadu-Queue-Id: 187F03FD6E X-TUID: CiNtK4bnjDkU * gnu/packages/python-xyz.scm (python-wavefile): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c5e170b628..7f8c976753 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -163,6 +163,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) @@ -230,6 +231,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) @@ -1711,6 +1713,37 @@ (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.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "wavefile" version)) + (sha256 + (base32 + "02qcms8xx24r1d14idwyx04sw9ydp6rivff5s64hgp668mnfdar3")))) + (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)) + (propagated-inputs (list python-numpy python-pyaudio)) + (home-page "https://github.com/vokimon/python-wavefile") + (synopsis "Pythonic wave file reader and writer") + (description "This package provides pythonic wave file reader and writer.") + (license license:gpl3+))) + (define-public python-psutil (package (name "python-psutil") -- 2.41.0