mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00: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
@ -2,11 +2,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pyaudio
|
||||
PORTVERSION= 0.2.8
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.2.9
|
||||
CATEGORIES= audio python
|
||||
MASTER_SITES= http://people.csail.mit.edu/hubert/pyaudio/packages/
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= PyAudio-${PORTVERSION}
|
||||
|
||||
MAINTAINER= jaap@NLnetLabs.nl
|
||||
COMMENT= Portaudio toolkit bindings for Python
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (pyaudio-0.2.8.tar.gz) = 4f85367cf79657616684487037957ac38582ecc5389b89420fe61d901b719551
|
||||
SIZE (pyaudio-0.2.8.tar.gz) = 235900
|
||||
SHA256 (PyAudio-0.2.9.tar.gz) = bfd694272b3d1efc51726d0c27650b3c3ba1345f7f8fdada7e86c9751ce0f2a1
|
||||
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 2012-11-07 00:37:17.129040078 +0100
|
||||
@@ -74,6 +74,12 @@ else:
|
||||
external_libraries = ['portaudio']
|
||||
extra_link_args = []
|
||||
--- setup.py.orig 2016-04-04 21:15:34 UTC
|
||||
+++ setup.py
|
||||
@@ -63,6 +63,12 @@ extra_link_args = []
|
||||
scripts = []
|
||||
defines = []
|
||||
|
||||
+if sys.platform.startswith('dragonfly') or \
|
||||
+ sys.platform.startswith('freebsd'):
|
||||
@ -12,4 +12,4 @@
|
||||
+
|
||||
if sys.platform == 'darwin':
|
||||
defines += [('MACOSX', '1')]
|
||||
|
||||
if mac_sysroot_path:
|
||||
|
Loading…
Reference in New Issue
Block a user