git: d179521238ff - main - audio/py-essentia: fix build with python 3.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jan 2024 18:41:36 UTC
The branch main has been updated by rm: URL: https://cgit.FreeBSD.org/ports/commit/?id=d179521238ffd98c49a67787a796f335786e233f commit d179521238ffd98c49a67787a796f335786e233f Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2024-01-28 18:39:53 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2024-01-28 18:39:53 +0000 audio/py-essentia: fix build with python 3.11 Bundled waf is outdated and doesn't support changes, introduced in python3.11, this leads to packaging issue. Make it pull freshier waf from upstream repository to fix the issue. PR: 276685 PR: 275494 Approved by: yuri (maintainer) --- audio/py-essentia/Makefile | 8 +++++++- audio/py-essentia/distinfo | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/audio/py-essentia/Makefile b/audio/py-essentia/Makefile index e1077cfbc4c3..736577e4ea62 100644 --- a/audio/py-essentia/Makefile +++ b/audio/py-essentia/Makefile @@ -1,7 +1,7 @@ PORTNAME= essentia DISTVERSIONPREFIX= v DISTVERSION= 2.1_beta5-859 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= -gb247091f CATEGORIES= audio PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -20,12 +20,18 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} +PATCH_SITES= https://raw.githubusercontent.com/MTG/essentia/d02b6c752046802a711530e2bcd5feafca42247d/ +PATCH_FILES= waf + USES= eigen:3 pkgconfig python USE_PYTHON= pytest USE_GITHUB= yes GH_ACCOUNT= MTG +post-extract: + @${CP} ${DISTDIR}/waf ${WRKSRC}/ + do-configure: @cd ${BUILD_WRKSRC} && ${SETENV} ${BUILD_ENV} ${PYTHON_CMD} waf configure --only-python diff --git a/audio/py-essentia/distinfo b/audio/py-essentia/distinfo index 4b17dd5f1088..a44fb9ece8df 100644 --- a/audio/py-essentia/distinfo +++ b/audio/py-essentia/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1667811160 +TIMESTAMP = 1706464973 SHA256 (MTG-essentia-v2.1_beta5-859-gb247091f_GH0.tar.gz) = 41428252b36bcd20288fd85bcaf981aa039c0a4a9be32b840ddfdfa68fc9b969 SIZE (MTG-essentia-v2.1_beta5-859-gb247091f_GH0.tar.gz) = 92213394 +SHA256 (waf) = e662491fe0ce1eb11c6abde7151ed1d7088b3eec16e930c6a6a5ee3880f1f81e +SIZE (waf) = 102992