dev-python/audioread: Support newer python and drop obsolete gstreamer:0.10 dependency.

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Pacho Ramos
2017-05-28 11:48:49 +02:00
parent 014d839683
commit d6f0b6f926

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4} )
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
@@ -17,16 +17,15 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="|| ( dev-python/gst-python:0.10[${PYTHON_USEDEP}] dev-python/pymad media-video/ffmpeg )"
RDEPEND="|| ( dev-python/pymad media-video/ffmpeg )"
PATCHES=(
"${FILESDIR}/0001-Use-the-print-function-instead-of-the-print-keyword.patch"
)
pkg_postinst() {
elog "You might need to enable additional USE flags in backends to"
elog "decode some types of audio files. Priority of backends:"
elog " * gstreamer"
elog " * mad"
elog " * ffmpeg"
einfo "You might need to enable additional USE flags in backends to"
einfo "decode some types of audio files. Priority of backends:"
einfo " * mad"
einfo " * ffmpeg"
}