From d6f0b6f926fc8c15a5ce5b14565a03d1104572e4 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 28 May 2017 11:48:49 +0200 Subject: dev-python/audioread: Support newer python and drop obsolete gstreamer:0.10 dependency. Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- dev-python/audioread/audioread-1.0.1-r1.ebuild | 31 +++++++++++++++++++++++++ dev-python/audioread/audioread-1.0.1.ebuild | 32 -------------------------- 2 files changed, 31 insertions(+), 32 deletions(-) create mode 100644 dev-python/audioread/audioread-1.0.1-r1.ebuild delete mode 100644 dev-python/audioread/audioread-1.0.1.ebuild (limited to 'dev-python/audioread') diff --git a/dev-python/audioread/audioread-1.0.1-r1.ebuild b/dev-python/audioread/audioread-1.0.1-r1.ebuild new file mode 100644 index 000000000000..5c8a480f88b7 --- /dev/null +++ b/dev-python/audioread/audioread-1.0.1-r1.ebuild @@ -0,0 +1,31 @@ +# 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,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Module for decoding audio files using whichever backend is available" +HOMEPAGE="https://pypi.python.org/pypi/audioread" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="|| ( dev-python/pymad media-video/ffmpeg )" + +PATCHES=( + "${FILESDIR}/0001-Use-the-print-function-instead-of-the-print-keyword.patch" + ) + +pkg_postinst() { + 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" +} diff --git a/dev-python/audioread/audioread-1.0.1.ebuild b/dev-python/audioread/audioread-1.0.1.ebuild deleted file mode 100644 index 49eaebe577dd..000000000000 --- a/dev-python/audioread/audioread-1.0.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_4} ) - -inherit distutils-r1 - -DESCRIPTION="Module for decoding audio files using whichever backend is available" -HOMEPAGE="https://pypi.python.org/pypi/audioread" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="|| ( dev-python/gst-python:0.10[${PYTHON_USEDEP}] 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" -} -- cgit v1.2.3-65-gdbad