[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44275] [PATCH v2] gnu: Add python-pydub.
From: |
Tanguy LE CARROUR |
Subject: |
[bug#44275] [PATCH v2] gnu: Add python-pydub. |
Date: |
Fri, 30 Oct 2020 22:10:12 +0100 |
User-agent: |
K-9 Mail for Android |
Hi,
Le 30 octobre 2020 21:40:47 CET, Leo Famulari <leo@famulari.name> a écrit :
>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.
Thanks!
--
Tanguy
- [bug#44275] [PATCH] gnu: Add python-pydub., Tanguy Le Carrour, 2020/10/28
- [bug#44275] [PATCH] gnu: Add python-pydub., Leo Famulari, 2020/10/28
- [bug#44275] [PATCH] gnu: Add python-pydub., Tanguy Le Carrour, 2020/10/29
- [bug#44275] [PATCH] gnu: Add python-pydub., Leo Famulari, 2020/10/29
- [bug#44275] [PATCH] gnu: Add python-pydub., Tanguy Le Carrour, 2020/10/29
- [bug#44275] [PATCH] gnu: Add python-pydub., Leo Famulari, 2020/10/29
- [bug#44275] [PATCH] gnu: Add python-pydub., Tanguy Le Carrour, 2020/10/30
- [bug#44275] [PATCH] gnu: Add python-pydub., Leo Famulari, 2020/10/30
[bug#44275] [PATCH v2] gnu: Add python-pydub., Tanguy Le Carrour, 2020/10/29