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 6D1DD10FQWXScwEAauVa8A:P1 (envelope-from ) for ; Tue, 31 Oct 2023 14:47:09 +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 6D1DD10FQWXScwEAauVa8A (envelope-from ) for ; Tue, 31 Oct 2023 14:47:09 +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 031AE22DF2 for ; Tue, 31 Oct 2023 14:47:09 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Z7pc6v4m; 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=1698760029; 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=cNli6R8ozSjhYfOVOOqprrKld1Qzb1oyNu+qEmGXzN0=; b=BjPu5kfXAzeZCV1Dz/k+JWuGnU+5YyMShISwEkiGccAYxT17bUxqoIcoWJsyQS2mmBqfLO dOoWOGdUB2C6Xs2caNe1kTnWYTW0NAfzwS31hUdRZl3JYwvP6/X6H/Qh7WFNiUgUmMRx40 d78qxJ7Iq5JTw5se1qDgGgMAmFDMndbhNjxlgjR48fFbzjwvCS7j5BXm3WlVLTr9tUACUt BTtq0ZAu+H7z+Ohi/fb8Ti583AnTPgeVEeSdejvXsutFib7Hgx/Rui/bsSiTHhAJHYyZuy fmSRn8tPvY2hNvHOEk/RIofcAz2BY9rDHaomeXsYeZGejKr8oI2eFeLJN7PMjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Z7pc6v4m; 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=1698760029; a=rsa-sha256; cv=none; b=MkOv57JlFGy+lJI/3hZaZfIeos4UdFVe4A51uuL8DanPz/t2ZGWWgzezxzqcZ1BeTcPD2t Cy88jKzC9o29LvMNWNrGM+Y1+QasCVyQaLoWOhTMhqtN+60X3zDluSbFPkK6iUk9koM3Zq tqcHnGAH8NkV3ZgHavEfXdkmuLbrkBHdYAKMQYIldM0CIzSQoWVIdTdcHDqF66S5zBHgmt nRAMvp4dVXM6pj4oD7wj9gxScumD1LTXmTTOV3csqtcEV1CGz+jFluTmiAu7NviJaWSmaq Psic35/2A65ChWSJR5NJgpUYjk7tNqtgd+v4pW4BqG1M2XqLOE5zP9XubKY8hA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxp50-0002Qf-4Q; Tue, 31 Oct 2023 09:46:51 -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 1qxp4m-00029b-0f for guix-patches@gnu.org; Tue, 31 Oct 2023 09:46:36 -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 1qxp4k-0006uH-Oq; Tue, 31 Oct 2023 09:46:34 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxp5C-0004Vx-6c; Tue, 31 Oct 2023 09:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65367] [PATCH v2 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 13:47:02 +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.169875997117245 (code B ref 65367); Tue, 31 Oct 2023 13:47:02 +0000 Received: (at 65367) by debbugs.gnu.org; 31 Oct 2023 13:46:11 +0000 Received: from localhost ([127.0.0.1]:47758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxp4M-0004U1-Vd for submit@debbugs.gnu.org; Tue, 31 Oct 2023 09:46:11 -0400 Received: from layka.disroot.org ([178.21.23.139]:38940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxp4G-0004TG-7W for 65367@debbugs.gnu.org; Tue, 31 Oct 2023 09:46:05 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C373E44D93; Tue, 31 Oct 2023 14:45:29 +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 wg8URU0jfaDI; Tue, 31 Oct 2023 14:45:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1698759928; bh=u38sA5sKu2rfFKPUzDNxhM6KEwWxxRNtxx70l868T/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Z7pc6v4mI+xdXm3n1RgNTKvRHezQHbpGcuaqZO8K++z95KUGVt5+nk4qEg2itqZDN UC7752JOgBnu4cnMeHRLCkXBNNjV/hKBPhOdBjRfB0/EbpZXkE8VoiiMudlZ4MB07J +9OCdjRU9Yt10bEtlVDDkjtpTz/UXw3OWYXeen8aNv4ZFpJpHlFnO4i+hb4lQd9Izz pjMIKk6Rr6RAuHSwbOKAAPH9gnaNS5JdIkp/gjj9D48SI5wUbYXuzOrwjw4Y0nQvVv djnaJ3g7pjvNkfaSPqax4qPBRhlPMofP6q3jlDbAqe5sDQTs1vqXmYjjBWwZpCMIyT 5XP9oGPWSKSjw== Date: Tue, 31 Oct 2023 14:44:40 +0100 Message-ID: <3171b057e4ae222ea4c0785bc8835901f876a54c.1698759715.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.11 X-Spam-Score: -6.11 X-Migadu-Queue-Id: 031AE22DF2 X-Migadu-Scanner: mx10.migadu.com X-TUID: ChJCE3sr0aTC * gnu/packages/python-xyz.scm (python-wavefile): New variable. --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6001e7e6eb..85930b1fad 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,41 @@ (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"))))))) + (native-inputs + (list python-pytest)) + (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