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,39 +1,43 @@ 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 post-patch: @${REINPLACE_CMD} -e " \ s|/usr/bin/lilypond|${LOCALBASE}/bin/lilypond|; \ s|/usr/bin/mscore3|${LOCALBASE}/bin/mscore|; \ 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 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