aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-11-01 05:08:53 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-11-01 05:08:53 +0000
commit192034c1091b01cb197b9546c54a68ad849b7f7b (patch)
treef45b05893d10935b0cb848981f5b573b9f04a605
parent0a94f777afdec30d21aa65b4ed38123b95389abc (diff)
downloadports-192034c1091b01cb197b9546c54a68ad849b7f7b.tar.gz
ports-192034c1091b01cb197b9546c54a68ad849b7f7b.zip
New port: audio/py-music21: Toolkit for computer-aided musical analysis
Notes
Notes: svn path=/head/; revision=483637
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-music21/Makefile22
-rw-r--r--audio/py-music21/distinfo3
-rw-r--r--audio/py-music21/pkg-descr9
4 files changed, 35 insertions, 0 deletions
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 <bsd.port.mk>
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/