./audio/py-audio, Python bindings for PortAudio

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.14, Package name: py312-audio-0.2.14, Maintainer: pkgsrc-users

PyAudio provides Python bindings for PortAudio, the cross-platform
audio I/O library. With PyAudio, you can easily use Python to play
and record audio on a variety of platforms, such as GNU/Linux,
Microsoft Windows, and Apple Mac OS X / macOS.


Required to run:
[audio/portaudio] [devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 45.963 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-07-16 13:41:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-audio: updated to 0.2.14

PyAudio 0.2.14

* Fix installation breakage.
  Removes specific version requirement for setuptools in pyproject.toml.

* Various cosmetic fixes.

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.

PyAudio 0.2.12

- Modernize build process for Microsoft Windows, using the native toolchain.

  Setuptool setup.py and INSTALL instructions are more streamlined.
  Building from Cygwin/MinGW is no longer supported nor tested.

- Change default frames per buffer size to paFramesPerBufferUnspecified.

  Previously, pyaudio.py set a default frames per buffer size of 1024,
  which can lead to dropped frames on some systems.  Now, by default,
  PortAudio selects the buffer size based on host and latency
  requirements.

- Minor fixes and refactoring for compatibility with Python 3.7+.

  Updates include:
  * Remove call to deprecated PyEval_InitThreads() for Python 3.7+
  * Use Py_ssize_t types in appropriate places (for Python 3.10+).
  * Remove the min macro to ease compilation for Windows.

- Use the locale's preferred encoding to decode device names.

- Unit tests: add skipIf decorators to skip tests that require hardware.

  Set the PYAUDIO_SKIP_HW_TESTS environment variable to disable tests that
  require sound hardware, useful for (automated) test environments without
  access to audio devices.

- Documentation, examples, and unit tests: various fixes.

  * Add more unit tests and repair a few that test the GIL on macOS.
  * Remove examples/error.py, which is redundant with tests/error_tests.py.
  * Fix type documentation of return value types in docstrings.

- Modernize packaging: add LICENSE.txt, pyproject.toml, and classifiers.
   2024-05-18 09:27:12 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-audio: convert to wheel.mk

Bump PKGREVISION.
   2023-05-06 21:09:54 by Ryo ONODERA | Files touched by this commit (687)
Log message:
*: Recursive revbump from audio/libopus 1.4
   2022-09-11 14:52:13 by Thomas Klausner | Files touched by this commit (670)
Log message:
*: bump PKGREVISION for flac shlib bump
   2022-03-28 12:43:41 by Tobias Nygren | Files touched by this commit (125)
Log message:
a*/*: revbump(1) for libsndfile
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 11:59:39 by Nia Alarie | Files touched by this commit (455)
Log message:
audio: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes.

The following distfiles couldn't be fetched (possibly they are fetched
conditionally):

./audio/freeswitch-sounds-ru/distinfo \ 
freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz
./audio/freeswitch-sounds-ru/distinfo \ 
freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz
./audio/freeswitch-music/distinfo \ 
freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz
./audio/freeswitch-music/distinfo \ 
freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz
./audio/freeswitch-sounds-fr/distinfo \ 
freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
./audio/freeswitch-sounds-fr/distinfo \ 
freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
./audio/freeswitch-sounds-en/distinfo \ 
freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.22.tar.gz
./audio/freeswitch-sounds-en/distinfo \ 
freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.22.tar.gz