From nobody Tue Nov 22 23:37:08 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NH0z90mqFz4hvtk; Tue, 22 Nov 2022 23:37:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NH0z86v2pz3GXq; Tue, 22 Nov 2022 23:37:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669160229; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QJmRxeyGy6RYkEmPmngsGl5Sg1iSTHAdnbxKS7P11cA=; b=jNz3tk/XDPHGOgFs+gaZIcx4j/I6DtVxgMdBFnL7WcXGMmlJRRDV/3sB2C1kXxRcdSuci9 9HZIojb6azx7STBGwo3VOq6p6JuwC1pKaOQ1VHr1ge6Zoi8EelU41HR9e1yfSLJhBIBWII NyR0Qo/bbFdNA9vuTbyWBFa3v4cPjOUcoR/Yt6EHNahYkPegwZpXOW3T1eT+d1LO92fKE7 YJMB2ROHazqiJFzZBUSbU7zLiOno28payZUBgGsDzz5pMBfVz1/LN3hMQAZ5cdAGhvei88 iP8toUfbj7GdSVD8Ky5Lq2yHazqnLlqB4KIMlKF9av47SNnfFmwu3TbnryycIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669160229; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QJmRxeyGy6RYkEmPmngsGl5Sg1iSTHAdnbxKS7P11cA=; b=q/3zOxs9x3ZT45IJucL3GjcY+b3F7lbZjHUCfkiRBipsc9zHqpEfjUPji8JEjObPcJtv2A xCSM+ylBW3J1oEZjZOql3cTFhLbA243dHDl9Um3EB7+74s3MfZL+33r6FXQ60l1GAup7Fv Iy4OKU04IjSR+NR2QrjSSnppuvdS+IiLRYLQ4Nd2AiteVNYZRnpylySMfnUnVhhXeK3RvL 3SpZZ/N+Do7GH/pehQ+6QQZaQ8iKh9zgi2Gxh65j5buDGRnuiQvl2ywqp+iP96ovWhF1Wp n2nQLviyCjBhBZLjZ6qmSXVQMSfAUeAuNA/6g2BreaXxQQ+Hw9H39jyjOm5Hxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669160229; a=rsa-sha256; cv=none; b=NG2r+GPEidRpfnrdPfUzT3oKgpqk+5XSC+efsnlxTz6b2HlLrBIAxoKmHlV97N/hGnmUab OFRKAyeRE9+RotrxAjBsFxETEnbHwV8pQyG7CJOREkPsT42Mlfn2Jnn9FdTop16V8PAzAO vXhOgreycL5Y7Z8t7SMIKChcjeHngxL2Nc/ClOO1SAo3i0H7SpPYfqCnnN6/7xQXcTbGVY 9JIPVkwmhqe1fh4ktEVayIFIHwAQPARSTRrgOFiQUJtwcdXIrgBvOTPn/Ve8psOn12Y3b/ dIBsIYx7SBEGFCDwEDAmUzoGRrPmyEEcQFX/YmWdd2rcrqk4yr1bHI1m6HKb9A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NH0z85xmZz11N5; Tue, 22 Nov 2022 23:37:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AMNb84x051041; Tue, 22 Nov 2022 23:37:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AMNb8X4051040; Tue, 22 Nov 2022 23:37:08 GMT (envelope-from git) Date: Tue, 22 Nov 2022 23:37:08 GMT Message-Id: <202211222337.2AMNb8X4051040@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: 5fa414e007da - main - audio/py-pyaudio: Update to 0.2.12 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5fa414e007da2a629cd622c09827d71512cfdca1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=5fa414e007da2a629cd622c09827d71512cfdca1 commit 5fa414e007da2a629cd622c09827d71512cfdca1 Author: Jaap Akkerhuis AuthorDate: 2022-11-22 23:36:48 +0000 Commit: Guangyuan Yang CommitDate: 2022-11-22 23:36:48 +0000 audio/py-pyaudio: Update to 0.2.12 Changelog: https://people.csail.mit.edu/hubert/pyaudio/ PR: 267923 --- audio/py-pyaudio/Makefile | 13 +++++++------ audio/py-pyaudio/distinfo | 6 +++--- audio/py-pyaudio/files/patch-setup.py | 24 ++++++++++++------------ 3 files changed, 22 insertions(+), 21 deletions(-) diff --git a/audio/py-pyaudio/Makefile b/audio/py-pyaudio/Makefile index bc6a96446a60..70643bd32fbe 100644 --- a/audio/py-pyaudio/Makefile +++ b/audio/py-pyaudio/Makefile @@ -1,6 +1,5 @@ PORTNAME= pyaudio -PORTVERSION= 0.2.11 -PORTREVISION= 2 +PORTVERSION= 0.2.12 CATEGORIES= audio python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,8 +13,8 @@ LICENSE= MIT LIB_DEPENDS= libportaudio.so:audio/portaudio -USES= python:3.6+ gmake -USE_PYTHON= distutils concurrent autoplist +USES= gmake python:3.6+ +USE_PYTHON= autoplist concurrent distutils MAKE_ENV= PYTHON=${PYTHON_CMD} \ SPHINX=sphinx-build-${PYTHON_VER} @@ -31,10 +30,12 @@ post-patch: ${WRKSRC}/setup.py post-build-DOCS-on: - (cd ${BUILD_WRKSRC} && ${DO_MAKE_BUILD} docs) + (cd ${BUILD_WRKSRC} && \ + ${DO_MAKE_BUILD} docs) post-install-DOCS-on: - (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -path *doctrees*") + (cd ${WRKSRC}/docs && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -path *doctrees*") post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_portaudio*.so diff --git a/audio/py-pyaudio/distinfo b/audio/py-pyaudio/distinfo index 019cd30525b9..063e019063ab 100644 --- a/audio/py-pyaudio/distinfo +++ b/audio/py-pyaudio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1490086382 -SHA256 (PyAudio-0.2.11.tar.gz) = 93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74 -SIZE (PyAudio-0.2.11.tar.gz) = 37428 +TIMESTAMP = 1668872490 +SHA256 (PyAudio-0.2.12.tar.gz) = 55ddf5db72bc537bba5f5dbca3ab9f0222ee5b842bda83978eab0b7b8f60fb9e +SIZE (PyAudio-0.2.12.tar.gz) = 42944 diff --git a/audio/py-pyaudio/files/patch-setup.py b/audio/py-pyaudio/files/patch-setup.py index 37be2151de14..872eba21d658 100644 --- a/audio/py-pyaudio/files/patch-setup.py +++ b/audio/py-pyaudio/files/patch-setup.py @@ -1,15 +1,15 @@ ---- setup.py.orig 2015-10-19 05:48:12 UTC +--- setup.py.orig 2022-07-19 03:53:30 UTC +++ setup.py -@@ -63,6 +63,12 @@ extra_link_args = [] - scripts = [] - defines = [] +@@ -56,6 +56,12 @@ def setup_extension(): + extra_link_args = [] + defines = [] -+if sys.platform.startswith('dragonfly') or \ -+ sys.platform.startswith('freebsd'): -+ include_dirs = ['%%LOCALBASE%%/include/'] -+ external_libraries = [] -+ extra_link_args = ['%%LOCALBASE%%/lib/libportaudio.so'] ++ if sys.platform.startswith('dragonfly') or \ ++ sys.platform.startswith('freebsd'): ++ include_dirs = ['%%LOCALBASE%%/include/'] ++ external_libraries = [] ++ extra_link_args = ['%%LOCALBASE%%/lib/libportaudio.so'] + - if sys.platform == 'darwin': - defines += [('MACOSX', '1')] - if mac_sysroot_path: + if sys.platform == 'darwin': + # Support only dynamic linking with portaudio, since the supported path + # is to install portaudio using a package manager (e.g., Homebrew).