aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2017-11-25 04:32:43 +0800
committeryuri <yuri@FreeBSD.org>2017-11-25 04:32:43 +0800
commit30eb0ebdec83df6121c811e96e0d67337814c966 (patch)
tree7d9168a6865497789fb8bcd3f53d4fc846240577 /multimedia
parent497017463fd58659d638b72c9de857b2035e660a (diff)
downloadfreebsd-ports-gnome-30eb0ebdec83df6121c811e96e0d67337814c966.tar.gz
freebsd-ports-gnome-30eb0ebdec83df6121c811e96e0d67337814c966.tar.zst
freebsd-ports-gnome-30eb0ebdec83df6121c811e96e0d67337814c966.zip
New port: multimedia/py-pretty_midi: Utility functions for handling MIDI data in a nice/intuitive way
PR: 220752 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D12998
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/py-pretty_midi/Makefile22
-rw-r--r--multimedia/py-pretty_midi/distinfo3
-rw-r--r--multimedia/py-pretty_midi/pkg-descr4
4 files changed, 30 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index a4faca0d7a1b..1bcd07f53e40 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -332,6 +332,7 @@
SUBDIR += py-moviepy
SUBDIR += py-openlp
SUBDIR += py-periscope
+ SUBDIR += py-pretty_midi
SUBDIR += py-qt4-multimedia
SUBDIR += py-qt4-phonon
SUBDIR += py-qt5-multimedia
diff --git a/multimedia/py-pretty_midi/Makefile b/multimedia/py-pretty_midi/Makefile
new file mode 100644
index 000000000000..c450628fde0c
--- /dev/null
+++ b/multimedia/py-pretty_midi/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= pretty_midi
+DISTVERSION= 0.2.8
+CATEGORIES= multimedia python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Utility functions for handling MIDI data in a nice/intuitive way
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}mido>=1.1.16:multimedia/py-mido \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
+
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/multimedia/py-pretty_midi/distinfo b/multimedia/py-pretty_midi/distinfo
new file mode 100644
index 000000000000..4607ee2e820d
--- /dev/null
+++ b/multimedia/py-pretty_midi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1510117234
+SHA256 (pretty_midi-0.2.8.tar.gz) = 1246439dd74c31abbe2f7a3aef3d28620b1882ece635f0baf88e2c1b491f1432
+SIZE (pretty_midi-0.2.8.tar.gz) = 5588066
diff --git a/multimedia/py-pretty_midi/pkg-descr b/multimedia/py-pretty_midi/pkg-descr
new file mode 100644
index 000000000000..f67441c32a09
--- /dev/null
+++ b/multimedia/py-pretty_midi/pkg-descr
@@ -0,0 +1,4 @@
+Functions and classes which make handling MIDI data easy in Python.
+Provides methods for parsing, modifying, and analyzing MIDI files.
+
+WWW: https://github.com/craffel/pretty-midi