Bug 280991 - audio/py-pyaudio: Update to version 0.2.14
Summary: audio/py-pyaudio: Update to version 0.2.14
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: Vladimir Druzenko
URL: https://people.csail.mit.edu/hubert/p...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-22 09:33 UTC by Jaap Akkerhuis
Modified: 2024-08-23 09:45 UTC (History)
1 user (show)

See Also:


Attachments
patch to update (1.15 KB, patch)
2024-08-22 09:33 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 2024-08-22 09:33:23 UTC
Created attachment 253008 [details]
patch to update

PyAudio 0.2.14 is a new release that fixes a build issue.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-22 11:30:30 UTC
(In reply to Jaap Akkerhuis from comment #0)
> fixes a build issue
What build issue?

Just tested build on 14.1 amd64 - no errors, 1 warning:
Warning: 'lib/python3.11/site-packages/pyaudio/_portaudio.cpython-311.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-22 11:32:21 UTC
It's just copy&paste from changelog…
Comment 3 Jaap Akkerhuis 2024-08-22 11:35:06 UTC
(In reply to Vladimir Druzenko from comment #2)
Yes, it's copied from the change log.
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-22 11:52:25 UTC
1. PORTVERSION => DISTVERSION.
2. Test runtime with patch please:
post-build-DOCS-on:
        (cd ${BUILD_WRKSRC} && \
                ${DO_MAKE_BUILD} docs)

+post-install:
+        ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_portaudio.cpython-${PYTHON_VER:S/.//}.so
+
post-install-DOCS-on:
        (cd ${WRKSRC}/docs && \
                ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -path *doctrees*")
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-22 16:10:26 UTC
If you agree, I'll add this changes self.
Comment 6 Jaap Akkerhuis 2024-08-23 08:00:16 UTC
(In reply to Vladimir Druzenko from comment #5)
Ah, yes please, do make these changes. Thanks!
Comment 7 commit-hook freebsd_committer freebsd_triage 2024-08-23 09:07:52 UTC
A commit in branch main references this bug:

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

commit ea9b5bfc7f379c8ef81a66977404aa06c66e8ff6
Author:     Jaap Akkerhuis <jaap@NLnetLabs.nl>
AuthorDate: 2024-08-23 09:02:53 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-23 09:04:24 +0000

    audio/py-pyaudio: Update 0.2.13 → 0.2.14

    Changelog:
    https://people.csail.mit.edu/hubert/pyaudio/

    - Replace PORTVERSION with DISTVERSION.
    - Add strip of installed library.

    PR:     280991

 audio/py-pyaudio/Makefile | 5 ++++-
 audio/py-pyaudio/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-23 09:45:34 UTC
Thanks.