git: 811b73501039 - main - audio/py-librosa: update 0.10.1 → 0.10.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 04 May 2024 02:07:03 UTC
The branch main has been updated by yuri:

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

commit 811b735010390a98b3658a3082a0f178eae35869
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-04 02:01:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-04 02:06:56 +0000

    audio/py-librosa: update 0.10.1 → 0.10.2
    
    Reported by:    portscout
---
 audio/py-librosa/Makefile | 25 +++++++++++++++++--------
 audio/py-librosa/distinfo |  8 +++++---
 2 files changed, 22 insertions(+), 11 deletions(-)

diff --git a/audio/py-librosa/Makefile b/audio/py-librosa/Makefile
index 2cca2f5cccfd..e8242405a8ca 100644
--- a/audio/py-librosa/Makefile
+++ b/audio/py-librosa/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	librosa
-DISTVERSION=	0.10.1
+DISTVERSION=	0.10.2
 CATEGORIES=	audio python
-MASTER_SITES=	PYPI
+#MASTER_SITES=	PYPI # no tests
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,7 +11,9 @@ WWW=		https://librosa.org/
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}audioread>=2.1.9:audio/py-audioread@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}audioread>=2.1.9:audio/py-audioread@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}decorator>=4.3.0:devel/py-decorator@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}joblib>=0.14:devel/py-joblib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}lazy_loader>=0.1:devel/py-lazy_loader@${PY_FLAVOR} \
@@ -19,18 +21,25 @@ PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}audioread>=2.1.9:audio/py-audioread@${PY_FLAV
 		${PYTHON_PKGNAMEPREFIX}numba>=0.51.0:devel/py-numba@${PY_FLAVOR} \
 		${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pooch>=1.0:devel/py-pooch@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pooch>=1.1:devel/py-pooch@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.20.0:science/py-scikit-learn@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=1.2.0:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}SoundFile>=0.12.1:audio/py-SoundFile@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}soxr>=0.3.2:audio/py-soxr@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.1:devel/py-typing-extensions@${PY_FLAVOR}
-BUILD_DEPENDS=	${PY_DEPENDS}
-RUN_DEPENDS=	${PY_DEPENDS}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}resampy>=0.2.2:audio/py-resampy@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=3.3.0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-mpl>0:devel/py-pytest-mpl@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}resampy>=0.2.2:audio/py-resampy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}samplerate>0:audio/py-samplerate@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}types-decorator>0:devel/py-types-decorator@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist pytest
+USE_PYTHON=	pep517 autoplist pytest
+
+USE_GITHUB=	yes
+GH_TUPLE=	librosa:librosa-test-data:72bd79e:test_data/tests/data
 
 NO_ARCH=	yes
 
diff --git a/audio/py-librosa/distinfo b/audio/py-librosa/distinfo
index b98d4e24f192..3389e84dd338 100644
--- a/audio/py-librosa/distinfo
+++ b/audio/py-librosa/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1692732094
-SHA256 (librosa-0.10.1.tar.gz) = 832f7d150d6dd08ed2aa08c0567a4be58330635c32ddd2208de9bc91300802c7
-SIZE (librosa-0.10.1.tar.gz) = 311110
+TIMESTAMP = 1714720206
+SHA256 (librosa-librosa-0.10.2_GH0.tar.gz) = 8f17de0d1d69ab19e11c13ab63c30ee285a7806b06536321b49ece87d8c6c9e9
+SIZE (librosa-librosa-0.10.2_GH0.tar.gz) = 2334514
+SHA256 (librosa-librosa-test-data-72bd79e_GH0.tar.gz) = c8a05a81cf6f071319056818deff82b21736a13230b32c6bea64ab2e1fe23a06
+SIZE (librosa-librosa-test-data-72bd79e_GH0.tar.gz) = 164601052