pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/py-audioread Changes 2.1.4:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/06738540f0e0
branches:  trunk
changeset: 359665:06738540f0e0
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Mar 15 20:25:04 2017 +0000

description:
Changes 2.1.4:
Fix a bug in the FFmpeg backend where, after closing a file, the program's
standard input stream would be "broken" and wouldn't receive any input.

diffstat:

 audio/py-audioread/Makefile                          |  12 ++++--------
 audio/py-audioread/distinfo                          |  11 +++++------
 audio/py-audioread/patches/patch-audioread_gstdec.py |  19 -------------------
 3 files changed, 9 insertions(+), 33 deletions(-)

diffs (67 lines):

diff -r 0728c03b0f39 -r 06738540f0e0 audio/py-audioread/Makefile
--- a/audio/py-audioread/Makefile       Wed Mar 15 19:48:40 2017 +0000
+++ b/audio/py-audioread/Makefile       Wed Mar 15 20:25:04 2017 +0000
@@ -1,20 +1,16 @@
-# $NetBSD: Makefile,v 1.2 2014/01/17 14:35:06 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2017/03/15 20:25:04 adam Exp $
 
-VERSION=       1.0.1
-DISTNAME=      v${VERSION}
-PKGNAME=       ${PYPKGPREFIX}-audioread-${VERSION}
+DISTNAME=      audioread-2.1.4
+PKGNAME=       ${PYPKGPREFIX}-audioread
 CATEGORIES=    audio
-MASTER_SITES=  https://github.com/sampsyo/audioread/archive/
-DIST_SUBDIR=   audioread
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/audioread/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/sampsyo/audioread
 COMMENT=       Audio file decoder
 LICENSE=       mit
 
-WRKSRC=                ${WRKDIR}/audioread-${VERSION}
 USE_LANGUAGES= # none
-EGG_NAME=      audioread-${VERSION}
 
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0728c03b0f39 -r 06738540f0e0 audio/py-audioread/distinfo
--- a/audio/py-audioread/distinfo       Wed Mar 15 19:48:40 2017 +0000
+++ b/audio/py-audioread/distinfo       Wed Mar 15 20:25:04 2017 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 01:12:46 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/03/15 20:25:04 adam Exp $
 
-SHA1 (audioread/v1.0.1.tar.gz) = 40a738de9a405439dff1d6b83257fb87e966662f
-RMD160 (audioread/v1.0.1.tar.gz) = a6fd5c4c2e5715183a2ce8a3e7af680fe6491585
-SHA512 (audioread/v1.0.1.tar.gz) = 3e03ddc2ef95c8d4fadde1fd72942bf7be1de5a86e738339bfa070ae10748a59dcc8eb99fd4874ceefa3e5eafa71c85b0e62cb93ddf4b16d11f9fde749a0961b
-Size (audioread/v1.0.1.tar.gz) = 13055 bytes
-SHA1 (patch-audioread_gstdec.py) = ca80c0f0c265d44e038c8321e7824325f4e920f7
+SHA1 (audioread-2.1.4.tar.gz) = a2a0a275a295f28a9352980a284068626e93eacf
+RMD160 (audioread-2.1.4.tar.gz) = 6f067d71d235178a9e7facb88400dd932f20e559
+SHA512 (audioread-2.1.4.tar.gz) = aba5eabb95dd55cbaa2bd9918588df43528775eddf2a67370a04e3f10a2d15653a85f16cb710868586addd11aa5a608b17d8252555e2f56347e95a3d36c3dd80
+Size (audioread-2.1.4.tar.gz) = 15013 bytes
diff -r 0728c03b0f39 -r 06738540f0e0 audio/py-audioread/patches/patch-audioread_gstdec.py
--- a/audio/py-audioread/patches/patch-audioread_gstdec.py      Wed Mar 15 19:48:40 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-audioread_gstdec.py,v 1.1 2014/01/17 14:35:06 wiz Exp $
-
-Use print() function for python-3.x compatibility.
-
---- audioread/gstdec.py.orig   2013-04-24 17:08:52.000000000 +0000
-+++ audioread/gstdec.py
-@@ -366,8 +366,8 @@ if __name__ == '__main__':
-     for path in sys.argv[1:]:
-         path = os.path.abspath(os.path.expanduser(path))
-         with GstAudioFile(path) as f:
--            print f.channels
--            print f.samplerate
--            print f.duration
-+            print(f.channels)
-+            print(f.samplerate)
-+            print(f.duration)
-             for s in f:
--                print len(s), ord(s[0])
-+                print(len(s), ord(s[0]))



Home | Main Index | Thread Index | Old Index