Bug 268614 - audio/py-pyaudio: Update to version 0.2.13
Summary: audio/py-pyaudio: Update to version 0.2.13
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Li-Wen Hsu
URL: https://people.csail.mit.edu/hubert/p...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-28 16:03 UTC by Jaap Akkerhuis
Modified: 2022-12-29 06:08 UTC (History)
1 user (show)

See Also:


Attachments
patch to update (1.34 KB, patch)
2022-12-28 16:03 UTC, Jaap Akkerhuis
jaap: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)