From 962a3ea837331a31c573878a35d085e28f52d56e Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 15 Jun 2018 18:18:18 +0200 Subject: [PATCH] python-audioread: update to 2.1.6 Let the users decide which backend to use. --- srcpkgs/python-audioread/INSTALL.msg | 4 ++++ .../python-audioread/python3-audioread.INSTALL.msg | 4 ++++ srcpkgs/python-audioread/template | 11 +++++------ 3 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/python-audioread/INSTALL.msg create mode 100644 srcpkgs/python-audioread/python3-audioread.INSTALL.msg diff --git a/srcpkgs/python-audioread/INSTALL.msg b/srcpkgs/python-audioread/INSTALL.msg new file mode 100644 index 00000000000..895bea34926 --- /dev/null +++ b/srcpkgs/python-audioread/INSTALL.msg @@ -0,0 +1,4 @@ +To decode audio files the library supports different backends: +- gstreamer via gst1-python +- ffmpeg via its command-line interface +- wave, aifc, and sunau files via Python standard library diff --git a/srcpkgs/python-audioread/python3-audioread.INSTALL.msg b/srcpkgs/python-audioread/python3-audioread.INSTALL.msg new file mode 100644 index 00000000000..48bcd489ef6 --- /dev/null +++ b/srcpkgs/python-audioread/python3-audioread.INSTALL.msg @@ -0,0 +1,4 @@ +To decode audio files the library supports different backends: +- gstreamer via gst1-python3 +- ffmpeg via its command-line interface +- wave, aifc, and sunau files via Python standard library diff --git a/srcpkgs/python-audioread/template b/srcpkgs/python-audioread/template index a60b8849b05..654b0f14ead 100644 --- a/srcpkgs/python-audioread/template +++ b/srcpkgs/python-audioread/template @@ -1,20 +1,19 @@ # Template file for 'python-audioread' pkgname=python-audioread -version=2.1.5 -revision=2 +version=2.1.6 +revision=1 noarch=yes -nocross=yes wrksrc="audioread-${version}" build_style=python-module pycompile_module="audioread" hostmakedepends="python-setuptools python3-setuptools" -depends="gst1-python" +depends="python" short_desc="Multi-library, cross-platform audio decoding (Python2)" maintainer="Juan RP " homepage="https://github.com/sampsyo/audioread/" license="MIT" distfiles="${PYPI_SITE}/a/audioread/audioread-${version}.tar.gz" -checksum=36c3b118f097c58ba073b7d040c4319eff200756f094295677567e256282d0d7 +checksum=b0b9270c20833a75ce0d167fb2fdad52ddcd8e8f300be8afad3ac9715850bc50 post_install() { sed -n '2,13p' decode.py > LICENSE @@ -23,7 +22,7 @@ post_install() { python3-audioread_package() { noarch=yes - depends="gst1-python3" + depends="python3" pycompile_module="audioread" short_desc="${short_desc/Python2/Python3}" pkg_install() {