mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
audio/py-pyaudio: 0.2.8 -> 0.2.9
- Fix overflow error handling logic for pa_read_stream. Stream.read takes an additional parameter that specifies whether an exception is raised on audio buffer overflow, for parity with Stream.write. Includes relevant bug fixes in the C module logic. Thanks to Tony Jacobson for submitting a patch! - Fix IOError arguments. IOError exceptions previously had values in the strerror and errno fields swapped, which is now corrected. Thanks to Sami Liedes for the report! - Miscellaneous updates. Python library surfaces issues with importing low-level C module. Code formatting update. Updates to examples for Python 3 compatibility. PR: 208517 Submitted by: jaap@NLnetLabs.nl (maintainer)
This commit is contained in:
parent
8548ef54c1
commit
8b7b50355c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412579
3 changed files with 11 additions and 11 deletions
|
@ -2,11 +2,11 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= pyaudio
|
PORTNAME= pyaudio
|
||||||
PORTVERSION= 0.2.8
|
PORTVERSION= 0.2.9
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= audio python
|
CATEGORIES= audio python
|
||||||
MASTER_SITES= http://people.csail.mit.edu/hubert/pyaudio/packages/
|
MASTER_SITES= CHEESESHOP
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
DISTNAME= PyAudio-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= jaap@NLnetLabs.nl
|
MAINTAINER= jaap@NLnetLabs.nl
|
||||||
COMMENT= Portaudio toolkit bindings for Python
|
COMMENT= Portaudio toolkit bindings for Python
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (pyaudio-0.2.8.tar.gz) = 4f85367cf79657616684487037957ac38582ecc5389b89420fe61d901b719551
|
SHA256 (PyAudio-0.2.9.tar.gz) = bfd694272b3d1efc51726d0c27650b3c3ba1345f7f8fdada7e86c9751ce0f2a1
|
||||||
SIZE (pyaudio-0.2.8.tar.gz) = 235900
|
SIZE (PyAudio-0.2.9.tar.gz) = 289499
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
--- ./setup.py.orig 2012-11-07 00:17:06.624869638 +0100
|
--- setup.py.orig 2016-04-04 21:15:34 UTC
|
||||||
+++ ./setup.py 2012-11-07 00:37:17.129040078 +0100
|
+++ setup.py
|
||||||
@@ -74,6 +74,12 @@ else:
|
@@ -63,6 +63,12 @@ extra_link_args = []
|
||||||
external_libraries = ['portaudio']
|
scripts = []
|
||||||
extra_link_args = []
|
defines = []
|
||||||
|
|
||||||
+if sys.platform.startswith('dragonfly') or \
|
+if sys.platform.startswith('dragonfly') or \
|
||||||
+ sys.platform.startswith('freebsd'):
|
+ sys.platform.startswith('freebsd'):
|
||||||
|
@ -12,4 +12,4 @@
|
||||||
+
|
+
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
defines += [('MACOSX', '1')]
|
defines += [('MACOSX', '1')]
|
||||||
|
if mac_sysroot_path:
|
||||||
|
|
Loading…
Add table
Reference in a new issue