Bug 268614

Summary: audio/py-pyaudio: Update to version 0.2.13
Product: Ports & Packages Reporter: Jaap Akkerhuis <jaap>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Some People CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://people.csail.mit.edu/hubert/pyaudio/
Attachments:
Description Flags
patch to update jaap: maintainer-approval+

Description Jaap Akkerhuis 2022-12-28 16:03:19 UTC
Created attachment 239088 [details]
patch to update

PyAudio 0.2.13

  * Move pyaudio.Stream to pyaudio.PyAudio.Stream.
    The pyaudio.Stream class is now pyaudio.PyAudio.Stream, nested under the
    existing pyaudio.PyAudio class. This should not affect existing code, as
    directly accessing the module-level pyaudio.Stream class has always been
    unsupported (use PyAudio.open instead). Accessing pyaudio.Stream
    directly is deprecated and will raise a DeprecationWarning.

  * Deprecate PaMacCoreStreamInfo's get_channel_map() and get_flags() methods.
    Use the channel_map and flags properties, respectively, instead. Also
    deprecates internal method _get_host_api_stream_object. Calling
    deprecated methods will raise a DeprecationWarning.

  * Package PyAudio as an actual package (directory).
    Previously, the library deployed a single pyaudio.py file and a C
    extension module to the root of site-packages. Now, the library deploys
    a Python package.

  * Add default shared library path for Homebrew installations on Apple Silicon.

  * Refactor and cleanup.
    - Refactor C extension for better maintainability.
    - Add more unit tests.
    - Update and modernize examples directory.
    - Improve C and python style conformance, plus many cosmetic updates.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-12-29 06:08:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=72b7cb35f88aee2f790df7e9a1e5be5d8306cd4c

commit 72b7cb35f88aee2f790df7e9a1e5be5d8306cd4c
Author:     Jaap Akkerhuis <jaap@NLnetLabs.nl>
AuthorDate: 2022-12-29 06:06:25 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-12-29 06:06:25 +0000

    audio/py-pyaudio: Update to 0.2.13

    While here, pet portlint(1)

    PR:             268614

 audio/py-pyaudio/Makefile | 9 ++++-----
 audio/py-pyaudio/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)