pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/py-music21 py-music21: update to 8.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3baad203f591
branches:  trunk
changeset: 386376:3baad203f591
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Fri Oct 07 03:54:06 2022 +0000

description:
py-music21: update to 8.1.0

music21 v8

I'm proud to release v8 of music21, the toolkit for computer-aided music analysis, score manipulation, computational musicology, etc. This release (technically 8.1) builds on 12.5 months of work from 
v7, and like all new big number releases has a few backwards incompatible changes from before, in exchange for cool new features.

Version 8 supports Python 3.8+, if you need Python 3.7 (such as on Google Colab which is now 3+ Python versions behind) stick to music21 v7. V8 is the first to fully support Python 3.10 and will 
receive patches to support Python 3.11 in the future. As Python 3.11 is due to be released any day now, keeping with the m21 policy of supporting three versions of Python, music21 v9 (work starts 
tomorrow!) will support Python 3.9 and above only.

Big Changes

    The biggest new improvement in v8 is an all new Dublin-Core / MARC based metadata system that allows for encoding a huge amount of information about a score. Look at the new docs for 
music21.metadata for more information. Thanks to Greg Chapman for the big amount of work on this. (@gregchapman-dev in #1266)
    Modern installation system, based on Hatch. If you have problems, please let me know -- I expect some growing pains on this.
    ArpeggioMark and ArpeggioMarkSpanner classes. by @gregchapman-dev in #1337
    Adding DCML v2 parsing to tsvConverter.py by @malcolmsailor in #1267
    Explicit Keywords on all music21 objects by @mscuthbert in #1377
    Continued Major improvements in Typing across music21. by @mscuthbert and @jacobtylerwalls. If you are using a modern IDE, you will find the number of music21-related bugs you create will go down 
hugely.
    Ever more docs and more relevant (and diverse examples)

diffstat:

 audio/py-music21/Makefile |   16 +-
 audio/py-music21/PLIST    |  290 +++++----------------------------------------
 audio/py-music21/distinfo |    8 +-
 3 files changed, 46 insertions(+), 268 deletions(-)

diffs (truncated from 900 to 300 lines):

diff -r 4aa13ae9d700 -r 3baad203f591 audio/py-music21/Makefile
--- a/audio/py-music21/Makefile Thu Oct 06 22:39:51 2022 +0000
+++ b/audio/py-music21/Makefile Fri Oct 07 03:54:06 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2022/05/11 23:34:04 gutteridge Exp $
+# $NetBSD: Makefile,v 1.20 2022/10/07 03:54:06 gutteridge Exp $
 
-VERSION=       7.3.3
+VERSION=       8.1.0
 DISTNAME=      music21-noCorpus-${VERSION}
 PKGNAME=       ${PYPKGPREFIX}-music21-${VERSION}
 CATEGORIES=    audio python
@@ -11,15 +11,12 @@
 MAINTAINER=    gutteridge%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/cuthbertLab/music21
 COMMENT=       Python toolkit for computer-aided musical analysis
-LICENSE=       modified-bsd OR gnu-lgpl-v3
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27 37 # py-scipy
-
-EGG_NAME=      music21-${VERSION}
+LICENSE=       modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
 DEPENDS+=      ${PYPKGPREFIX}-joblib-[0-9]*:../../devel/py-joblib
 DEPENDS+=      ${PYPKGPREFIX}-more-itertools-[0-9]*:../../devel/py-more-itertools
+DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
 DEPENDS+=      ${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy
 DEPENDS+=      ${PYPKGPREFIX}-Levenshtein-[0-9]*:../../textproc/py-Levenshtein
@@ -32,8 +29,11 @@
 
 USE_LANGUAGES= # none
 
+# This package now only supports >= 3.8. (Same with its scipy dependency.)
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37
+
 .include "options.mk"
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4aa13ae9d700 -r 3baad203f591 audio/py-music21/PLIST
--- a/audio/py-music21/PLIST    Thu Oct 06 22:39:51 2022 +0000
+++ b/audio/py-music21/PLIST    Fri Oct 07 03:54:06 2022 +0000
@@ -1,390 +1,269 @@
-@comment $NetBSD: PLIST,v 1.8 2022/04/04 01:51:59 gutteridge Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.9 2022/10/07 03:54:06 gutteridge Exp $
+${PYSITELIB}/music21-${PKGVERSION}.dist-info/INSTALLER
+${PYSITELIB}/music21-${PKGVERSION}.dist-info/METADATA
+${PYSITELIB}/music21-${PKGVERSION}.dist-info/RECORD
+${PYSITELIB}/music21-${PKGVERSION}.dist-info/REQUESTED
+${PYSITELIB}/music21-${PKGVERSION}.dist-info/WHEEL
+${PYSITELIB}/music21-${PKGVERSION}.dist-info/direct_url.json
+${PYSITELIB}/music21-${PKGVERSION}.dist-info/licenses/LICENSE
 ${PYSITELIB}/music21/LICENSE
 ${PYSITELIB}/music21/__init__.py
 ${PYSITELIB}/music21/__init__.pyc
-${PYSITELIB}/music21/__init__.pyo
 ${PYSITELIB}/music21/_version.py
 ${PYSITELIB}/music21/_version.pyc
-${PYSITELIB}/music21/_version.pyo
 ${PYSITELIB}/music21/abcFormat/__init__.py
 ${PYSITELIB}/music21/abcFormat/__init__.pyc
-${PYSITELIB}/music21/abcFormat/__init__.pyo
 ${PYSITELIB}/music21/abcFormat/testFiles.py
 ${PYSITELIB}/music21/abcFormat/testFiles.pyc
-${PYSITELIB}/music21/abcFormat/testFiles.pyo
 ${PYSITELIB}/music21/abcFormat/translate.py
 ${PYSITELIB}/music21/abcFormat/translate.pyc
-${PYSITELIB}/music21/abcFormat/translate.pyo
 ${PYSITELIB}/music21/alpha/__init__.py
 ${PYSITELIB}/music21/alpha/__init__.pyc
-${PYSITELIB}/music21/alpha/__init__.pyo
 ${PYSITELIB}/music21/alpha/analysis/__init__.py
 ${PYSITELIB}/music21/alpha/analysis/__init__.pyc
-${PYSITELIB}/music21/alpha/analysis/__init__.pyo
 ${PYSITELIB}/music21/alpha/analysis/aligner.py
 ${PYSITELIB}/music21/alpha/analysis/aligner.pyc
-${PYSITELIB}/music21/alpha/analysis/aligner.pyo
 ${PYSITELIB}/music21/alpha/analysis/fixer.py
 ${PYSITELIB}/music21/alpha/analysis/fixer.pyc
-${PYSITELIB}/music21/alpha/analysis/fixer.pyo
 ${PYSITELIB}/music21/alpha/analysis/hasher.py
 ${PYSITELIB}/music21/alpha/analysis/hasher.pyc
-${PYSITELIB}/music21/alpha/analysis/hasher.pyo
 ${PYSITELIB}/music21/alpha/analysis/ornamentRecognizer.py
 ${PYSITELIB}/music21/alpha/analysis/ornamentRecognizer.pyc
-${PYSITELIB}/music21/alpha/analysis/ornamentRecognizer.pyo
 ${PYSITELIB}/music21/alpha/analysis/search.py
 ${PYSITELIB}/music21/alpha/analysis/search.pyc
-${PYSITELIB}/music21/alpha/analysis/search.pyo
 ${PYSITELIB}/music21/alpha/analysis/testFiles.py
 ${PYSITELIB}/music21/alpha/analysis/testFiles.pyc
-${PYSITELIB}/music21/alpha/analysis/testFiles.pyo
 ${PYSITELIB}/music21/analysis/__init__.py
 ${PYSITELIB}/music21/analysis/__init__.pyc
-${PYSITELIB}/music21/analysis/__init__.pyo
 ${PYSITELIB}/music21/analysis/correlate.py
 ${PYSITELIB}/music21/analysis/correlate.pyc
-${PYSITELIB}/music21/analysis/correlate.pyo
 ${PYSITELIB}/music21/analysis/discrete.py
 ${PYSITELIB}/music21/analysis/discrete.pyc
-${PYSITELIB}/music21/analysis/discrete.pyo
 ${PYSITELIB}/music21/analysis/elements.py
 ${PYSITELIB}/music21/analysis/elements.pyc
-${PYSITELIB}/music21/analysis/elements.pyo
 ${PYSITELIB}/music21/analysis/enharmonics.py
 ${PYSITELIB}/music21/analysis/enharmonics.pyc
-${PYSITELIB}/music21/analysis/enharmonics.pyo
 ${PYSITELIB}/music21/analysis/floatingKey.py
 ${PYSITELIB}/music21/analysis/floatingKey.pyc
-${PYSITELIB}/music21/analysis/floatingKey.pyo
+${PYSITELIB}/music21/analysis/harmonicFunction.py
+${PYSITELIB}/music21/analysis/harmonicFunction.pyc
 ${PYSITELIB}/music21/analysis/metrical.py
 ${PYSITELIB}/music21/analysis/metrical.pyc
-${PYSITELIB}/music21/analysis/metrical.pyo
 ${PYSITELIB}/music21/analysis/neoRiemannian.py
 ${PYSITELIB}/music21/analysis/neoRiemannian.pyc
-${PYSITELIB}/music21/analysis/neoRiemannian.pyo
 ${PYSITELIB}/music21/analysis/patel.py
 ${PYSITELIB}/music21/analysis/patel.pyc
-${PYSITELIB}/music21/analysis/patel.pyo
 ${PYSITELIB}/music21/analysis/pitchAnalysis.py
 ${PYSITELIB}/music21/analysis/pitchAnalysis.pyc
-${PYSITELIB}/music21/analysis/pitchAnalysis.pyo
 ${PYSITELIB}/music21/analysis/reduceChords.py
 ${PYSITELIB}/music21/analysis/reduceChords.pyc
-${PYSITELIB}/music21/analysis/reduceChords.pyo
 ${PYSITELIB}/music21/analysis/reduceChordsOld.py
 ${PYSITELIB}/music21/analysis/reduceChordsOld.pyc
-${PYSITELIB}/music21/analysis/reduceChordsOld.pyo
 ${PYSITELIB}/music21/analysis/reduction.py
 ${PYSITELIB}/music21/analysis/reduction.pyc
-${PYSITELIB}/music21/analysis/reduction.pyo
 ${PYSITELIB}/music21/analysis/segmentByRests.py
 ${PYSITELIB}/music21/analysis/segmentByRests.pyc
-${PYSITELIB}/music21/analysis/segmentByRests.pyo
 ${PYSITELIB}/music21/analysis/transposition.py
 ${PYSITELIB}/music21/analysis/transposition.pyc
-${PYSITELIB}/music21/analysis/transposition.pyo
 ${PYSITELIB}/music21/analysis/windowed.py
 ${PYSITELIB}/music21/analysis/windowed.pyc
-${PYSITELIB}/music21/analysis/windowed.pyo
 ${PYSITELIB}/music21/articulations.py
 ${PYSITELIB}/music21/articulations.pyc
-${PYSITELIB}/music21/articulations.pyo
 ${PYSITELIB}/music21/audioSearch/__init__.py
 ${PYSITELIB}/music21/audioSearch/__init__.pyc
-${PYSITELIB}/music21/audioSearch/__init__.pyo
 ${PYSITELIB}/music21/audioSearch/recording.py
 ${PYSITELIB}/music21/audioSearch/recording.pyc
-${PYSITELIB}/music21/audioSearch/recording.pyo
 ${PYSITELIB}/music21/audioSearch/scoreFollower.py
 ${PYSITELIB}/music21/audioSearch/scoreFollower.pyc
-${PYSITELIB}/music21/audioSearch/scoreFollower.pyo
 ${PYSITELIB}/music21/audioSearch/test_audio.wav
 ${PYSITELIB}/music21/audioSearch/transcriber.py
 ${PYSITELIB}/music21/audioSearch/transcriber.pyc
-${PYSITELIB}/music21/audioSearch/transcriber.pyo
 ${PYSITELIB}/music21/bar.py
 ${PYSITELIB}/music21/bar.pyc
-${PYSITELIB}/music21/bar.pyo
 ${PYSITELIB}/music21/base.py
 ${PYSITELIB}/music21/base.pyc
-${PYSITELIB}/music21/base.pyo
 ${PYSITELIB}/music21/beam.py
 ${PYSITELIB}/music21/beam.pyc
-${PYSITELIB}/music21/beam.pyo
 ${PYSITELIB}/music21/braille/__init__.py
 ${PYSITELIB}/music21/braille/__init__.pyc
-${PYSITELIB}/music21/braille/__init__.pyo
 ${PYSITELIB}/music21/braille/basic.py
 ${PYSITELIB}/music21/braille/basic.pyc
-${PYSITELIB}/music21/braille/basic.pyo
 ${PYSITELIB}/music21/braille/examples.py
 ${PYSITELIB}/music21/braille/examples.pyc
-${PYSITELIB}/music21/braille/examples.pyo
 ${PYSITELIB}/music21/braille/lookup.py
 ${PYSITELIB}/music21/braille/lookup.pyc
-${PYSITELIB}/music21/braille/lookup.pyo
 ${PYSITELIB}/music21/braille/noteGrouping.py
 ${PYSITELIB}/music21/braille/noteGrouping.pyc
-${PYSITELIB}/music21/braille/noteGrouping.pyo
 ${PYSITELIB}/music21/braille/objects.py
 ${PYSITELIB}/music21/braille/objects.pyc
-${PYSITELIB}/music21/braille/objects.pyo
 ${PYSITELIB}/music21/braille/runAllBrailleTests.py
 ${PYSITELIB}/music21/braille/runAllBrailleTests.pyc
-${PYSITELIB}/music21/braille/runAllBrailleTests.pyo
 ${PYSITELIB}/music21/braille/segment.py
 ${PYSITELIB}/music21/braille/segment.pyc
-${PYSITELIB}/music21/braille/segment.pyo
 ${PYSITELIB}/music21/braille/test.py
 ${PYSITELIB}/music21/braille/test.pyc
-${PYSITELIB}/music21/braille/test.pyo
 ${PYSITELIB}/music21/braille/text.py
 ${PYSITELIB}/music21/braille/text.pyc
-${PYSITELIB}/music21/braille/text.pyo
 ${PYSITELIB}/music21/braille/translate.py
 ${PYSITELIB}/music21/braille/translate.pyc
-${PYSITELIB}/music21/braille/translate.pyo
 ${PYSITELIB}/music21/capella/Nu_rue_mit_sorgen.capx
 ${PYSITELIB}/music21/capella/__init__.py
 ${PYSITELIB}/music21/capella/__init__.pyc
-${PYSITELIB}/music21/capella/__init__.pyo
 ${PYSITELIB}/music21/capella/fromCapellaXML.py
 ${PYSITELIB}/music21/capella/fromCapellaXML.pyc
-${PYSITELIB}/music21/capella/fromCapellaXML.pyo
 ${PYSITELIB}/music21/chord/__init__.py
 ${PYSITELIB}/music21/chord/__init__.pyc
-${PYSITELIB}/music21/chord/__init__.pyo
 ${PYSITELIB}/music21/chord/tables.py
 ${PYSITELIB}/music21/chord/tables.pyc
-${PYSITELIB}/music21/chord/tables.pyo
 ${PYSITELIB}/music21/clef.py
 ${PYSITELIB}/music21/clef.pyc
-${PYSITELIB}/music21/clef.pyo
 ${PYSITELIB}/music21/common/__init__.py
 ${PYSITELIB}/music21/common/__init__.pyc
-${PYSITELIB}/music21/common/__init__.pyo
 ${PYSITELIB}/music21/common/classTools.py
 ${PYSITELIB}/music21/common/classTools.pyc
-${PYSITELIB}/music21/common/classTools.pyo
 ${PYSITELIB}/music21/common/decorators.py
 ${PYSITELIB}/music21/common/decorators.pyc
-${PYSITELIB}/music21/common/decorators.pyo
 ${PYSITELIB}/music21/common/enums.py
 ${PYSITELIB}/music21/common/enums.pyc
-${PYSITELIB}/music21/common/enums.pyo
 ${PYSITELIB}/music21/common/fileTools.py
 ${PYSITELIB}/music21/common/fileTools.pyc
-${PYSITELIB}/music21/common/fileTools.pyo
 ${PYSITELIB}/music21/common/formats.py
 ${PYSITELIB}/music21/common/formats.pyc
-${PYSITELIB}/music21/common/formats.pyo
 ${PYSITELIB}/music21/common/misc.py
 ${PYSITELIB}/music21/common/misc.pyc
-${PYSITELIB}/music21/common/misc.pyo
 ${PYSITELIB}/music21/common/numberTools.py
 ${PYSITELIB}/music21/common/numberTools.pyc
-${PYSITELIB}/music21/common/numberTools.pyo
 ${PYSITELIB}/music21/common/objects.py
 ${PYSITELIB}/music21/common/objects.pyc
-${PYSITELIB}/music21/common/objects.pyo
 ${PYSITELIB}/music21/common/parallel.py
 ${PYSITELIB}/music21/common/parallel.pyc
-${PYSITELIB}/music21/common/parallel.pyo
 ${PYSITELIB}/music21/common/pathTools.py
 ${PYSITELIB}/music21/common/pathTools.pyc
-${PYSITELIB}/music21/common/pathTools.pyo
 ${PYSITELIB}/music21/common/stringTools.py
 ${PYSITELIB}/music21/common/stringTools.pyc
-${PYSITELIB}/music21/common/stringTools.pyo
 ${PYSITELIB}/music21/common/types.py
 ${PYSITELIB}/music21/common/types.pyc
-${PYSITELIB}/music21/common/types.pyo
 ${PYSITELIB}/music21/common/weakrefTools.py
 ${PYSITELIB}/music21/common/weakrefTools.pyc
-${PYSITELIB}/music21/common/weakrefTools.pyo
 ${PYSITELIB}/music21/configure.py
 ${PYSITELIB}/music21/configure.pyc
-${PYSITELIB}/music21/configure.pyo
 ${PYSITELIB}/music21/converter/__init__.py
 ${PYSITELIB}/music21/converter/__init__.pyc
-${PYSITELIB}/music21/converter/__init__.pyo
 ${PYSITELIB}/music21/converter/incorrectExtension.txt
 ${PYSITELIB}/music21/converter/qmConverter.py
 ${PYSITELIB}/music21/converter/qmConverter.pyc
-${PYSITELIB}/music21/converter/qmConverter.pyo
 ${PYSITELIB}/music21/converter/quarterMusicTestIn.qm
 ${PYSITELIB}/music21/converter/subConverters.py
 ${PYSITELIB}/music21/converter/subConverters.pyc
-${PYSITELIB}/music21/converter/subConverters.pyo
 ${PYSITELIB}/music21/corpus/__init__.py
 ${PYSITELIB}/music21/corpus/__init__.pyc
-${PYSITELIB}/music21/corpus/__init__.pyo
 ${PYSITELIB}/music21/corpus/chorales.py
 ${PYSITELIB}/music21/corpus/chorales.pyc
-${PYSITELIB}/music21/corpus/chorales.pyo
 ${PYSITELIB}/music21/corpus/corpora.py
 ${PYSITELIB}/music21/corpus/corpora.pyc
-${PYSITELIB}/music21/corpus/corpora.pyo
 ${PYSITELIB}/music21/corpus/license.txt
 ${PYSITELIB}/music21/corpus/manager.py
 ${PYSITELIB}/music21/corpus/manager.pyc
-${PYSITELIB}/music21/corpus/manager.pyo
 ${PYSITELIB}/music21/corpus/testCorpus.py
 ${PYSITELIB}/music21/corpus/testCorpus.pyc
-${PYSITELIB}/music21/corpus/testCorpus.pyo
 ${PYSITELIB}/music21/corpus/virtual.py
 ${PYSITELIB}/music21/corpus/virtual.pyc



Home | Main Index | Thread Index | Old Index