From: "Nicola Smaniotto" <smaniotto.nicola@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pydub/
Date: Wed, 28 Jul 2021 08:47:06 +0000 (UTC) [thread overview]
Message-ID: <1627462024.62f75ba4b54d232156ae5850e6555c26d4f6f16c.smaniotto.nicola@gentoo> (raw)
commit: 62f75ba4b54d232156ae5850e6555c26d4f6f16c
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Wed Jul 28 08:46:47 2021 +0000
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Wed Jul 28 08:47:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62f75ba4
dev-python/pydub: add 0.25.1 test dep and optfeature
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
dev-python/pydub/pydub-0.25.1.ebuild | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/dev-python/pydub/pydub-0.25.1.ebuild b/dev-python/pydub/pydub-0.25.1.ebuild
index 613b9b83c..cf4e8d002 100644
--- a/dev-python/pydub/pydub-0.25.1.ebuild
+++ b/dev-python/pydub/pydub-0.25.1.ebuild
@@ -1,11 +1,11 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=8
+EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
-inherit distutils-r1
+inherit distutils-r1 optfeature
DESCRIPTION="Manipulate audio with an simple and easy high level interface"
HOMEPAGE="http://pydub.com/"
@@ -17,6 +17,18 @@ KEYWORDS="~amd64"
distutils_enable_tests unittest
+BDEPEND="
+ test? (
+ media-video/ffmpeg
+ )
+ "
+
python_test() {
eunittest test/
}
+
+pkg_postinst() {
+ optfeature "opening and saving non-wav files - like mp3" media-video/ffmpeg
+ #optfeature "playing audio" dev-python/simpleaudio # upstream suggests this, not available in gentoo or guru
+ optfeature "playing audio" dev-python/pyaudio
+}
next reply other threads:[~2021-07-28 8:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-28 8:47 Nicola Smaniotto [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-07 10:26 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pydub/ Nicola Smaniotto
2023-01-11 18:21 Nicola Smaniotto
2022-05-29 20:17 Nicola Smaniotto
2021-08-03 10:40 Nicola Smaniotto
2021-07-31 8:16 Nicola Smaniotto
2021-07-27 16:45 Nicola Smaniotto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1627462024.62f75ba4b54d232156ae5850e6555c26d4f6f16c.smaniotto.nicola@gentoo \
--to=smaniotto.nicola@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox