diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2024-01-28 21:39:53 +0300 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2024-01-28 21:39:53 +0300 |
commit | d179521238ffd98c49a67787a796f335786e233f (patch) | |
tree | 462dcda36efee14f5f7c9a0613bae2f787c231a0 | |
parent | bd055f87c93c77246200d72e8851f7780c8ed55b (diff) | |
download | freebsd-ports-d179521238ffd98c49a67787a796f335786e233f.zip |
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)
-rw-r--r-- | audio/py-essentia/Makefile | 8 | ||||
-rw-r--r-- | 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 |