summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authoradam <adam>2017-03-15 20:25:04 +0000
committeradam <adam>2017-03-15 20:25:04 +0000
commitd705f2315e994ea342af72b36dca9ecdedbcdb62 (patch)
treefd5c5c317ffd8d0e6069c236c1ba144f4b8b6bc0 /audio
parente54e598a42a1383d2fb8157f01f860d7263fb8ad (diff)
downloadpkgsrc-d705f2315e994ea342af72b36dca9ecdedbcdb62.tar.gz
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 (limited to 'audio')
-rw-r--r--audio/py-audioread/Makefile12
-rw-r--r--audio/py-audioread/distinfo11
-rw-r--r--audio/py-audioread/patches/patch-audioread_gstdec.py19
3 files changed, 9 insertions, 33 deletions
diff --git a/audio/py-audioread/Makefile b/audio/py-audioread/Makefile
index 01dc712b5f9..8e5b58be939 100644
--- a/audio/py-audioread/Makefile
+++ b/audio/py-audioread/Makefile
@@ -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
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 --git a/audio/py-audioread/distinfo b/audio/py-audioread/distinfo
index 5cd2f829211..92334025786 100644
--- a/audio/py-audioread/distinfo
+++ b/audio/py-audioread/distinfo
@@ -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 --git a/audio/py-audioread/patches/patch-audioread_gstdec.py b/audio/py-audioread/patches/patch-audioread_gstdec.py
deleted file mode 100644
index d6e626deb04..00000000000
--- a/audio/py-audioread/patches/patch-audioread_gstdec.py
+++ /dev/null
@@ -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]))