From 192034c1091b01cb197b9546c54a68ad849b7f7b Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Thu, 1 Nov 2018 05:08:53 +0000 Subject: New port: audio/py-music21: Toolkit for computer-aided musical analysis --- audio/Makefile | 1 + audio/py-music21/Makefile | 22 ++++++++++++++++++++++ audio/py-music21/distinfo | 3 +++ audio/py-music21/pkg-descr | 9 +++++++++ 4 files changed, 35 insertions(+) create mode 100644 audio/py-music21/Makefile create mode 100644 audio/py-music21/distinfo create mode 100644 audio/py-music21/pkg-descr diff --git a/audio/Makefile b/audio/Makefile index 6e7b1450a25e..96794981334f 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -686,6 +686,7 @@ SUBDIR += py-karaoke SUBDIR += py-mpd SUBDIR += py-mpd2 + SUBDIR += py-music21 SUBDIR += py-musicbrainzngs SUBDIR += py-mutagen SUBDIR += py-ogg diff --git a/audio/py-music21/Makefile b/audio/py-music21/Makefile new file mode 100644 index 000000000000..7a532f5c9d37 --- /dev/null +++ b/audio/py-music21/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= music21 +DISTVERSION= 5.5.0 +CATEGORIES= audio python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Toolkit for computer-aided musical analysis + +LICENSE= BSD3CLAUSE GPLv3 +LICENSE_COMB= multi +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= distutils autoplist + +.include diff --git a/audio/py-music21/distinfo b/audio/py-music21/distinfo new file mode 100644 index 000000000000..9cd340235ba6 --- /dev/null +++ b/audio/py-music21/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1541047271 +SHA256 (music21-5.5.0.tar.gz) = 10140b3b4e48671cfef98e5bbbb415770f6434c6caf9dbd29f00f40aec8402fe +SIZE (music21-5.5.0.tar.gz) = 18506791 diff --git a/audio/py-music21/pkg-descr b/audio/py-music21/pkg-descr new file mode 100644 index 000000000000..8b16c4a82696 --- /dev/null +++ b/audio/py-music21/pkg-descr @@ -0,0 +1,9 @@ +Music21 is a set of tools for helping scholars and other active listeners answer +questions about music quickly and simply. If you've ever asked yourself a +question like, "I wonder how often Bach does that" or "I wish I knew which band +was the first to use these chords in this order," or "I'll bet we'd know more +about Renaissance counterpoint (or Indian ragas or post-tonal pitch structures +or the form of minuets) if I could write a program to automatically write more +of them," then music21 can help you with your work. + +WWW: https://web.mit.edu/music21/ -- cgit v1.2.3