commit:     756dfa4d4ab8eb5da7716e46b13e4af03eb25ca1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 06:26:53 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 08:05:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=756dfa4d

dev-python/audioread: Bump to 3.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/audioread/Manifest               |  1 +
 dev-python/audioread/audioread-3.0.0.ebuild | 42 +++++++++++++++++++++++++++++
 dev-python/audioread/metadata.xml           |  2 +-
 3 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/dev-python/audioread/Manifest b/dev-python/audioread/Manifest
index 23cbe4994c59..c4cff31fc50d 100644
--- a/dev-python/audioread/Manifest
+++ b/dev-python/audioread/Manifest
@@ -1 +1,2 @@
 DIST audioread-2.1.9.tar.gz 377500 BLAKE2B 
a90d1d7531c265a8c2b7933ac0bfc00fbdf298546620fef3ccae0204fc1eedcc584bf2fdb79b1bbda81b29d03346abc236cd0234684ba3cc70642f837033ab99
 SHA512 
ad2260b6931cfeebb815d48221366a2a5d8095965ff18e94c5eb0809d9a1b02e650a62ad5e895b7f1e003771fa3babf56f59ce4538aca78b678566fd28327290
+DIST audioread-3.0.0.tar.gz 377038 BLAKE2B 
fc81bb2459b5cb5e028abb7c6c963c9d731cc90f79108a40b5aafc88ff6e3c09d23d7ac1555566d2360d22015d75ebead6beb72022b1e0e654fe469a75a5ddd9
 SHA512 
c9f1e5206df998ad9d112dd4b75ae41cde01271485eed27f62feed89c5ca36d4bbce7a888498d3c20d85e8b50de6ef263f795eec164c4bd348d83535b66c38ae

diff --git a/dev-python/audioread/audioread-3.0.0.ebuild 
b/dev-python/audioread/audioread-3.0.0.ebuild
new file mode 100644
index 000000000000..d17c0e0ef106
--- /dev/null
+++ b/dev-python/audioread/audioread-3.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Wrapper for audio file decoding using FFmpeg or GStreamer"
+HOMEPAGE="
+       https://github.com/beetbox/audioread/
+       https://pypi.org/project/audioread/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ffmpeg gstreamer mad"
+
+RDEPEND="
+       ffmpeg? (
+               media-video/ffmpeg
+       )
+       gstreamer? (
+               dev-python/pygobject:3[${PYTHON_USEDEP}]
+               media-libs/gstreamer:1.0
+               media-plugins/gst-plugins-meta:1.0
+       )
+       mad? (
+               dev-python/pymad[${PYTHON_USEDEP}]
+       )
+"
+BDEPEND="
+       test? (
+               dev-python/pymad[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest

diff --git a/dev-python/audioread/metadata.xml 
b/dev-python/audioread/metadata.xml
index f3656deb86fe..24815496d8ca 100644
--- a/dev-python/audioread/metadata.xml
+++ b/dev-python/audioread/metadata.xml
@@ -11,7 +11,7 @@
                * The standard library wave and aifc modules (for WAV and AIFF 
files).
        </longdescription>
        <upstream>
-               <remote-id type="github">sampsyo/audioread</remote-id>
+               <remote-id type="github">beetbox/audioread</remote-id>
                <remote-id type="pypi">audioread</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to