pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/py-audio



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jul 16 11:41:27 UTC 2024

Modified Files:
        pkgsrc/audio/py-audio: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/audio/py-audio/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/py-audio/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/audio/py-audio/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/py-audio/Makefile
diff -u pkgsrc/audio/py-audio/Makefile:1.9 pkgsrc/audio/py-audio/Makefile:1.10
--- pkgsrc/audio/py-audio/Makefile:1.9  Sat May 18 07:27:12 2024
+++ pkgsrc/audio/py-audio/Makefile      Tue Jul 16 11:41:27 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2024/05/18 07:27:12 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2024/07/16 11:41:27 adam Exp $
 
-DISTNAME=      PyAudio-0.2.11
+DISTNAME=      PyAudio-0.2.14
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/PyA/a/}
-PKGREVISION=   7
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyAudio/}
 

Index: pkgsrc/audio/py-audio/PLIST
diff -u pkgsrc/audio/py-audio/PLIST:1.2 pkgsrc/audio/py-audio/PLIST:1.3
--- pkgsrc/audio/py-audio/PLIST:1.2     Sat May 18 07:27:12 2024
+++ pkgsrc/audio/py-audio/PLIST Tue Jul 16 11:41:27 2024
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2024/05/18 07:27:12 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/07/16 11:41:27 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
-${PYSITELIB}/_portaudio.so
-${PYSITELIB}/pyaudio.py
-${PYSITELIB}/pyaudio.pyc
-${PYSITELIB}/pyaudio.pyo
+${PYSITELIB}/pyaudio/__init__.py
+${PYSITELIB}/pyaudio/__init__.pyc
+${PYSITELIB}/pyaudio/__init__.pyo
+${PYSITELIB}/pyaudio/_portaudio.so

Index: pkgsrc/audio/py-audio/distinfo
diff -u pkgsrc/audio/py-audio/distinfo:1.3 pkgsrc/audio/py-audio/distinfo:1.4
--- pkgsrc/audio/py-audio/distinfo:1.3  Tue Oct 26 09:59:23 2021
+++ pkgsrc/audio/py-audio/distinfo      Tue Jul 16 11:41:27 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 09:59:23 nia Exp $
+$NetBSD: distinfo,v 1.4 2024/07/16 11:41:27 adam Exp $
 
-BLAKE2s (PyAudio-0.2.11.tar.gz) = ec040a93f10c7bc8c9056916ce888296b00d6711dd3c549cd476b0996bd6efc5
-SHA512 (PyAudio-0.2.11.tar.gz) = 64db5542ee60837c9b07677e146fc7b060ff47c8b1c04cbb575bce79dd3ed4776c201e169ff2860f27dbe9e00a77046ba0cb925b55f7c546f8de46c6df68954e
-Size (PyAudio-0.2.11.tar.gz) = 37428 bytes
+BLAKE2s (PyAudio-0.2.14.tar.gz) = c4a120862566b4511b5713a316c24e4de2be52af715b24286f979837095b44fe
+SHA512 (PyAudio-0.2.14.tar.gz) = 2133db0968edcb0d82c6c1922f842d045a32c77998cfae8b38a041c67650cfacf9f6354c8a252db1b5148f73d229940b4c27064b400d2de7ab7e9370f73b8b95
+Size (PyAudio-0.2.14.tar.gz) = 47066 bytes



Home | Main Index | Thread Index | Old Index