From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id zlOnCHB6nF+bIgAA0tVLHw (envelope-from ) for ; Fri, 30 Oct 2020 20:41:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MOoTBHB6nF8KGQAA1q6Kng (envelope-from ) for ; Fri, 30 Oct 2020 20:41:20 +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 70871940237 for ; Fri, 30 Oct 2020 20:41:19 +0000 (UTC) Received: from localhost ([::1]:38110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYbD3-0006Db-7b for larch@yhetil.org; Fri, 30 Oct 2020 16:41:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYbCo-0006CL-4q for guix-patches@gnu.org; Fri, 30 Oct 2020 16:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYbCn-0001ZH-OX for guix-patches@gnu.org; Fri, 30 Oct 2020 16:41:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYbCn-0000mr-Mk for guix-patches@gnu.org; Fri, 30 Oct 2020 16:41:01 -0400 Subject: bug#44275: [PATCH v2] gnu: Add python-pydub. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 30 Oct 2020 20:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44275 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tanguy Le Carrour Cc: 44275-done@debbugs.gnu.org Mail-Followup-To: 44275@debbugs.gnu.org, leo@famulari.name, tanguy@bioneland.org Received: via spool by 44275-done@debbugs.gnu.org id=D44275.16040904573003 (code D ref 44275); Fri, 30 Oct 2020 20:41:01 +0000 Received: (at 44275-done) by debbugs.gnu.org; 30 Oct 2020 20:40:57 +0000 Received: from localhost ([127.0.0.1]:59880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYbCi-0000mM-Lk for submit@debbugs.gnu.org; Fri, 30 Oct 2020 16:40:56 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYbCg-0000mA-Qw for 44275-done@debbugs.gnu.org; Fri, 30 Oct 2020 16:40:55 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7D1475C01CC; Fri, 30 Oct 2020 16:40:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 30 Oct 2020 16:40:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=er/58fUG3BIbadgYv7deuvuw i5Xv49Jf6y8ThmQHs5E=; b=XYZgAvNrqFmhGveUtXxzd9vB/TzlwmDej1Eableg nENqJUQvUvp5FTXtM+PUDe17C3a4PpEGSaQYTsnaDki3UcRWbyeu9+g8SVq4fmF1 0K5qWUQ5h0M5rw8GMzIphDmUnn/F/wxLsinS6XyAToHkE8K56YcHUA0CGZamn1g4 4pE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=er/58f UG3BIbadgYv7deuvuwi5Xv49Jf6y8ThmQHs5E=; b=RruU8EWpaCXr+wcH4lE8/r Yv0rZOynUuKagaltrhcQ517h5foykyQZWfxAe25pod9pCHXChOhxZGCTYZr7TaMC CBcoiPUScJIFvlSgMX8yddpkNg5T84A1TZ3nWmgDj0kLHDNKLak2tOzKVr9N9XTe BRxI4iN5J3Q000fPNgfF21wf7TzM4QEtdRxmSAThaTw/4wNamjiUH+ojgqcGyv0q /RWJqWmVw5x58NGs13r4JZtgQyxrN78zUtuBYuTbK6z95ijV/gPq87Rmvqi+Ckyk c4iNvWz8LGlp697OVGQEdj/uO5XwS6WYGSMXqG++T4a545HQKn9UyBdTsUKtE0og == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleehgddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeefgfefvedtieehkefgieeffefhfeeifeejheeitefhgeevfefhtddvhfeuveeh ieenucffohhmrghinhepphihughusgdrtghomhenucfkphepjeefrddugedurdduvdejrd dugeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep lhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 2D1D5328005A; Fri, 30 Oct 2020 16:40:49 -0400 (EDT) Date: Fri, 30 Oct 2020 16:40:47 -0400 From: Leo Famulari Message-ID: <20201030204047.GA10794@jasmine.lan> References: <20201029090929.10508-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20201029090929.10508-1-tanguy@bioneland.org> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=famulari.name header.s=mesmtp header.b=XYZgAvNr; dkim=fail (headers rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=RruU8EWp; 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: -2.11 X-TUID: BsIKWchkptul --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 29, 2020 at 10:09:29AM +0100, Tanguy Le Carrour wrote: > * gnu/packages/python-xyz.scm (python-pydub): New variable. Thanks! Pushed as 96767739a1d2222ed802dd5dcfa2bda1df85df77 > + (add-after 'unpack 'fix-ffmpeg-path > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((ffmpeg (assoc-ref inputs "ffmpeg"))) > + (substitute* '("pydub/utils.py") > + (("return \"ffmpeg\"") > + (string-append "return \"" ffmpeg "/bin/ffmpeg\"")) > + (("return \"ffplay\"") > + (string-append "return \"" ffmpeg "/bin/ffplay\"")) > + (("return \"ffprobe\"") > + (string-append "return \"" ffmpeg "/bin/ffprobe\"")) > + (("warn\\(\"Couldn't find ff") "# warn\\(\"Couldn't find ff")) > + #t)))))) This solution is more correct than the one I suggested. Thanks! > + (home-page "http://pydub.com") I made this use HTTPS. > + (synopsis "Manipulate audio with an simple and easy high level interface") > + (description > + "@code{pydub} makes it easy to manipulate audio. It relies on > +@code{ffmpeg} to open various audio formats.") And I tweaked these to avoid so-called "marketing language" and to clarify that pydub is in Python, which I think can be useful when searching for packages. --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl+cek8ACgkQJkb6MLrK fwiMQw/5AV7OM2P/GXuHLo3DbNxCQYl1AEWOi10s0qEuaN2ftWRSGuDjN7h5hI26 SRXtT02SKMZ4eub09Ry9u0CMcu9LmHORp585bTPTbX+b4/i7pUCzMMweGqc5AgeP ScDpot+o8nxdrCwbc0xqiXOjDr9+3fiYnk6tZjWHCIYyl0H1o+wV/IxziJboBZ4D O9m+ie8221Up5sKxeTySth71YQ2Iw9FZbHXbBzG/FSe0F24iaHjQyMU7ra8t0LJQ ixvnH49fVMCGX/47lvCL1O2rhm1rClp4CU4yzN0rcWgy/PhA8LgXM1uwXDnlFkXJ igZImn3Hj5PwL9CTWvMQ22rlPMnCOo0kSOoaAZ3GfcZLhvQd6LU1YCCUqe42xZ8M F574nguDEgxpS5c7PDjIR3TVXIuNmoA1vb9bUwQ5khd/YNNjiPhgn2rydmfOLAJl BueSKhbLuVZiHENKE8LZX7MbE7qjE0VkWJUjZp/nAGwwUh2u2gYc7D2quNylZFe1 BxC443DRYC5DcmdwEU9EGIes04W7AzB5BMCNSXeC+F0TCvxZsEWreBAYVz/0LfD/ 6QDAQ0Vi9HQ93ZyMs2ng0/k0GIGXCT1KO8fDVurY4WCshP4SZamicK6fS+GTdpTk +9fZxEj4u4Iwf3k7PS9Ib+Fpq6o23OqevDmJqMvWYreIKXIdMhg= =PHOd -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--