From nobody Sat Aug 26 03:00:25 2023 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 4RXhQK5GCQz4r9qL; Sat, 26 Aug 2023 03:00:25 +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 4RXhQK4pH7z4fkN; Sat, 26 Aug 2023 03:00:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693018825; 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=6YLeJpcC2iksRWlJCRFW2LurbOyDyYIkN8lgmVKz/b4=; b=t2zVGOFaMO0gORIM49gQ9H7ACSVtIe0FpQBkm2biFg8zlklBQbsopXTMeALJrRj/DJy9Zd gz3fONTXUOKBubcjbLtwEw55bjz/zi2QOruP9hP03Dug5vj/VZBzmbuXNijKfHfr6q2mXo w0ChHhLbnFMH5mT3Ybf84Sl7Rs1iGnlFRuxojt5hfyrPxRb8kYAV/2tY5HKHIl9zWYe+2M XBA2g0O2liQ6IauXwSa9gxHmM1KYIOhlIfLTpo3rVEz4bJ9RkiFTCTaRqMj48rReNPwZnx AmdRQo0cKcwwWjDupwFlAOiZHr0lrusCVzTgmAlVMDvuCJDqWzbmXr+SEar/aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693018825; 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=6YLeJpcC2iksRWlJCRFW2LurbOyDyYIkN8lgmVKz/b4=; b=jNmlE0BSzq24uVvRuH6I772xYIGUhL0gI+gyf9IKS3GhO/54ZhbJ9y4RoX71DVSSPUUOSg JSGGdvTmruu4ZFy0lTfTrOriyDI3ETgThNCZBMe2vbfn+5BCr2JI7kxv2j5lg6SL/h0JL6 CqyW/SvJiptPWac7wV/zFydRtL0AY77ckHNy96Cjs5CZu8u9EGjO0VbnbB0VTlffpf79mg LMH4zVqH7kfkTAa0Kh+yfdHci3wvigbpzV77r8rK0J1ajP437My89wF0iPU56oskib0oMC y+qnUPMZt4Bz2DLubGnNLveLVOrGslPCIYkxbPa+fawpyqzVeRSi1xWeehs36g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693018825; a=rsa-sha256; cv=none; b=GD49AFi/fxHv3YYoDHJcQVJgxaAIRoHtJ1ldb7sGFKgIwoiqGdvL9sC8pnk1EE0Ypq2PEY /7Yd4qt3fxkwSunVLrORWytHeyvkt9DxWR5DjFZBAeyWmbIsmW+GfqadLV++LgsCg9wWEO dyqF7NAvzn2h/kA2yMfDkF6WzWkSpF/HyDQTlrR7JbmjdzSh116rYZD/NNeUDvSrZj9sdO E3cAhz+NfGQz142wO7zJK4oUBwR0f2t5Hzs4mcoO/IkTy3raVsZqftfW0vhw9YSxLlfLSJ j5wNPm+3WMc47ZXyq2pRgAK2QVX+QceiVyMg/eefwQ7dWAa6A3UfyD5cDZ7XwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RXhQK3rnqz3QH; Sat, 26 Aug 2023 03:00:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37Q30Pon040450; Sat, 26 Aug 2023 03:00:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37Q30Ptf040447; Sat, 26 Aug 2023 03:00:25 GMT (envelope-from git) Date: Sat, 26 Aug 2023 03:00:25 GMT Message-Id: <202308260300.37Q30Ptf040447@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 1aac3a8eca58 - main - audio/py-soxr: Add workaround to fix wrong version variable 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1aac3a8eca580ac591eeef6fe726ff803683373c Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1aac3a8eca580ac591eeef6fe726ff803683373c commit 1aac3a8eca580ac591eeef6fe726ff803683373c Author: Yuri Victorovich AuthorDate: 2023-08-26 02:59:10 +0000 Commit: Yuri Victorovich CommitDate: 2023-08-26 03:00:23 +0000 audio/py-soxr: Add workaround to fix wrong version variable --- audio/py-soxr/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/audio/py-soxr/Makefile b/audio/py-soxr/Makefile index 2be504c02354..c1013fb15b8d 100644 --- a/audio/py-soxr/Makefile +++ b/audio/py-soxr/Makefile @@ -1,5 +1,6 @@ PORTNAME= soxr DISTVERSION= 0.3.6 +PORTREVISION= 1 CATEGORIES= audio python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,7 +14,8 @@ LICENSE_COMB= multi BROKEN_i386= fails to compile: ...requires target feature 'sse', but would be inlined into function 'h8' that is compiled without support for 'sse' -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYNUMPY} \ ${PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} @@ -24,6 +26,9 @@ USE_PYTHON= pep517 cython autoplist pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: + # strip binary @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/soxr/cysoxr${PYTHON_EXT_SUFFIX}.so + # correct version as a workaround for https://github.com/dofuuz/python-soxr/issues/21 + @${REINPLACE_CMD} -i '' -e 's|^version |__version__ |' ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/soxr/_version.py .include