git: 9ceafeff806a - main - audio/py-music21: update 7.3.3 → 9.3.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 16 Dec 2024 20:26:42 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ceafeff806a1d959667e41011ce3efa24b43bf7

commit 9ceafeff806a1d959667e41011ce3efa24b43bf7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-12-16 15:09:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-16 20:26:37 +0000

    audio/py-music21: update 7.3.3 → 9.3.0
---
 audio/py-music21/Makefile | 12 ++++++++----
 audio/py-music21/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/audio/py-music21/Makefile b/audio/py-music21/Makefile
index ed2f89524a96..12b4cbf38097 100644
--- a/audio/py-music21/Makefile
+++ b/audio/py-music21/Makefile
@@ -1,31 +1,33 @@
 PORTNAME=	music21
-DISTVERSION=	7.3.3
-PORTREVISION=	2
+DISTVERSION=	9.3.0
 CATEGORIES=	audio python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Toolkit for computer-aided musical analysis
-WWW=		https://web.mit.edu/music21/
+WWW=		https://web.mit.edu/music21/ \
+		https://github.com/cuthbertLab/music21
 
 LICENSE=	BSD3CLAUSE LGPL3
 LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonpickle>0:devel/py-jsonpickle@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}more-itertools>0:devel/py-more-itertools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}webcolors>=1.5:graphics/py-webcolors@${PY_FLAVOR} \
 		lilypond:print/lilypond \
 		mscore:audio/musescore \
 		xdg-open:devel/xdg-utils
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
@@ -36,4 +38,6 @@ post-patch:
 		s|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|" \
 		${WRKSRC}/music21/environment.py
 
+# tests as of 9.3.0: 270 failed, 798 passed, 2120 warnings in 4002.71s (1:06:42), see https://github.com/cuthbertLab/music21/issues/1742
+
 .include <bsd.port.mk>
diff --git a/audio/py-music21/distinfo b/audio/py-music21/distinfo
index 8a88dd867f3e..7161c13460b1 100644
--- a/audio/py-music21/distinfo
+++ b/audio/py-music21/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652160264
-SHA256 (music21-7.3.3.tar.gz) = b081132c61c6895854dd62e0eb838d6eae392b2f22f66c9f5d96f44e6a1a1d01
-SIZE (music21-7.3.3.tar.gz) = 19272318
+TIMESTAMP = 1734322720
+SHA256 (music21-9.3.0.tar.gz) = 0cf4c67da2062ec164037280580d51ed06b58e84f78afc8d00f088c2bff74f4a
+SIZE (music21-9.3.0.tar.gz) = 19508435