From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id zj1ZNCF9ml/BBwAA0tVLHw (envelope-from ) for ; Thu, 29 Oct 2020 08:28:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AOyJLyF9ml+RBwAAB5/wlQ (envelope-from ) for ; Thu, 29 Oct 2020 08:28:17 +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 4615994036A for ; Thu, 29 Oct 2020 08:28:17 +0000 (UTC) Received: from localhost ([::1]:52754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kY3I8-00083G-8G for larch@yhetil.org; Thu, 29 Oct 2020 04:28:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kY3Hu-000824-4n for guix-patches@gnu.org; Thu, 29 Oct 2020 04:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kY3Ht-0006zO-Rz for guix-patches@gnu.org; Thu, 29 Oct 2020 04:28:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kY3Ht-0004mk-Ny for guix-patches@gnu.org; Thu, 29 Oct 2020 04:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44275] [PATCH] gnu: Add python-pydub. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Oct 2020 08:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44275 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 44275@debbugs.gnu.org Received: via spool by 44275-submit@debbugs.gnu.org id=B44275.160396002818331 (code B ref 44275); Thu, 29 Oct 2020 08:28:01 +0000 Received: (at 44275) by debbugs.gnu.org; 29 Oct 2020 08:27:08 +0000 Received: from localhost ([127.0.0.1]:51681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY3H1-0004lb-TJ for submit@debbugs.gnu.org; Thu, 29 Oct 2020 04:27:08 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:14565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY3Gz-0004l5-L9 for 44275@debbugs.gnu.org; Thu, 29 Oct 2020 04:27:06 -0400 X-Originating-IP: 176.159.32.89 Received: from localhost (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 73D86240010; Thu, 29 Oct 2020 08:26:57 +0000 (UTC) Date: Thu, 29 Oct 2020 09:26:57 +0100 From: Tanguy Le Carrour Message-ID: <20201029082657.xb3we5aqncp7qqci@rafflesia> References: <20201028085654.18295-1-tanguy@bioneland.org> <20201028163450.GE12095@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201028163450.GE12095@jasmine.lan> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -0.51 X-TUID: WN6qfsrGHewN Hi Leo, Thanks for taking the time to review this! Le 10/28, Leo Famulari a écrit : > On Wed, Oct 28, 2020 at 09:56:54AM +0100, Tanguy Le Carrour wrote: > > * gnu/packages/python-xyz.scm (python-pydub): New variable. > > > + (propagated-inputs > > + `(("ffmpeg" ,ffmpeg) > > + ("python-scipy" ,python-scipy))) > > It would be good if store references to these programs could be "baked in" to > the pydub code, rather than propagated. Can you take a look at how they > are called and see if that is feasible? Often there is only one location > that must be patched. mmm… haven't done that so far, it would be my first time! Always good to learn new tricks! :-) I'll try to patch the call to `ffmpeg` and let you know. `python-scipy` is a different problem, though. This module is not listed as a requirement, but… it's required at run time. Event if I don't see the point of having SciPy loaded when you want to manipulate audio. But that's a different matter! Regards, -- Tanguy